Skip to content

NullPointerException #1

@Wollfram

Description

@Wollfram

https://github.com/esin88/MessageSystem/blob/7b7545d3ce03258e76c4f39fd976110e3d776918/src/messageSystem/MessageSystem.java#L31-L34

if (!messageQueue.isEmpty()) {
// Two threads can come here and expect to receive message, while messageQueue.size()==1
messageQueue.pool().exec(abonent); // NullPointerException.
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions