You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a queue doesn't exist, Queue.get() throws an NPE – which is not a very helpful error. Actually, the semantics of queue existence is a little slippery, because from the API, it queues are treated sort of like namespaces for messages, rather than first-class things themselves (for example, you can't really create a queue other than posting a message to a queue).
At the very least, seems like you should replace the NPE with a more helpful message.
The text was updated successfully, but these errors were encountered:
If a queue doesn't exist, Queue.get() throws an NPE – which is not a very helpful error. Actually, the semantics of queue existence is a little slippery, because from the API, it queues are treated sort of like namespaces for messages, rather than first-class things themselves (for example, you can't really create a queue other than posting a message to a queue).
At the very least, seems like you should replace the NPE with a more helpful message.
The text was updated successfully, but these errors were encountered: