Hello,
We use in our Android project to Lightstreamer connection, in the use of LightstreamerClient. Connect, log encountered the following error:
java.lang.NullPointerException: Attempt to write to field 'boolean com.lightstreamer.client.session.Session. switchRequired' on a null object reference in method 'void com.lightstreamer.client.session.SessionManager. changeTransport(boolean, boolean, boolean, boolean, boolean)'
at com.lightstreamer.client.session.SessionManager.changeTransport(SourceFile:49)
at com.lightstreamer.client.LightstreamerEngine.doChangeTransport(SourceFile:85)
at com.lightstreamer.client.LightstreamerEngine.onForcedTransportChanged(SourceFile:5)
at com.lightstreamer.client.LightstreamerClient$InternalListener$3.run(SourceFile:9)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1042)
at com.lightstreamer.util.threads.JoinablePoolExecutor$1$1.run(SourceFile:1)
Has anyone experienced a similar issue? , What could have caused this error?
lightStreamerAndroidClient="4.2.8"
Thank you