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
Describe the bug
The java.util.NoSuchElementException occurs in the constructor of ResponseHandlerImpl.
To Reproduce
Run NostrExamples.
2.An exception occurs on the line 68 "private final static Client CLIENT = Client.getInstance(RELAYS);"
Expected behavior
The exception does not occur.
Additional context
Is it correct to have the expression "filter(ch -> !ch.getClass().isAnnotationPresent(DefaultHandler.class))" inside the constructor of ResponseHandlerImpl? Shouldn't it be "filter(ch -> ch.getClass().isAnnotationPresent(DefaultHandler.class))" instead?