Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SimpleBitfinexApiBroker - OnError called java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because "action" is null #317

Open
GeekHare opened this issue May 20, 2023 · 1 comment

Comments

@GeekHare
Copy link
Contributor

GeekHare commented May 20, 2023

16:03:59.942 [33] ERROR c.g.j.b.v.SimpleBitfinexApiBroker - OnError called java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because "action" is null
	at com.github.jnidzwetzki.bitfinex.v2.callback.channel.ExecutedTradeHandler.handleChannelData(ExecutedTradeHandler.java:54)
	at com.github.jnidzwetzki.bitfinex.v2.SimpleBitfinexApiBroker.handleChannelCallback(SimpleBitfinexApiBroker.java:608)
	at com.github.jnidzwetzki.bitfinex.v2.SimpleBitfinexApiBroker.websocketCallback(SimpleBitfinexApiBroker.java:536)
	at com.github.jnidzwetzki.bitfinex.v2.WebsocketClientEndpoint.onMessage(WebsocketClientEndpoint.java:119)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:577)
	at org.glassfish.tyrus.core.AnnotatedEndpoint.callMethod(AnnotatedEndpoint.java:556)
	at org.glassfish.tyrus.core.AnnotatedEndpoint$WholeHandler$1.onMessage(AnnotatedEndpoint.java:655)
	at org.glassfish.tyrus.core.TyrusSession.notifyMessageHandlers(TyrusSession.java:591)
	at org.glassfish.tyrus.core.TyrusEndpointWrapper.onMessage(TyrusEndpointWrapper.java:866)
	at org.glassfish.tyrus.core.TyrusWebSocket.onMessage(TyrusWebSocket.java:196)
	at org.glassfish.tyrus.core.frame.TextFrame.respond(TextFrame.java:116)
	at org.glassfish.tyrus.core.ProtocolHandler.process(ProtocolHandler.java:819)
	at org.glassfish.tyrus.client.TyrusClientEngine$TyrusReadHandler.handle(TyrusClientEngine.java:726)
	at org.glassfish.tyrus.container.jdk.client.ClientFilter.processRead(ClientFilter.java:204)
	at org.glassfish.tyrus.container.jdk.client.Filter.onRead(Filter.java:111)
	at org.glassfish.tyrus.container.jdk.client.Filter.onRead(Filter.java:113)
	at org.glassfish.tyrus.container.jdk.client.SslFilter.handleRead(SslFilter.java:402)
	at org.glassfish.tyrus.container.jdk.client.SslFilter.processRead(SslFilter.java:365)
	at org.glassfish.tyrus.container.jdk.client.Filter.onRead(Filter.java:111)
	at org.glassfish.tyrus.container.jdk.client.Filter.onRead(Filter.java:113)
	at org.glassfish.tyrus.container.jdk.client.TransportFilter$4.completed(TransportFilter.java:295)
	at org.glassfish.tyrus.container.jdk.client.TransportFilter$4.completed(TransportFilter.java:279)
	at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129)
	at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221)
	at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
@GeekHare
Copy link
Contributor Author

Hey @jnidzwetzki, I've fixed it in this PR #318

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant