I got this situation twice. Only reboot the rasp solves the problem. Also SSH hardly works.
Any idea what may cause this?
and another one
Any idea what may cause this?
B4X:
java.lang.RuntimeException: java.lang.NullPointerException
at anywheresoftware.b4j.object.WebSocket.setEvents(WebSocket.java:378)
at anywheresoftware.b4j.object.WebSocketModule$Adapter$ThreadHandler.run(WebSocketModule.java:186)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at anywheresoftware.b4j.object.WebSocket.sendText(WebSocket.java:107)
at anywheresoftware.b4j.object.WebSocket.setEvents(WebSocket.java:375)
... 6 more
Disconnected
Ip: 90.19.74.123
Connected
Waiting for value (29 ms)
Saving the first instance
You must set DebugConsoleEnable in BuildPage() first!
Websocket first connection
java.lang.RuntimeException: java.lang.RuntimeException: org.eclipse.jetty.websocket.api.WebSocketException: RemoteEndpoint unavailable, current state [CLOSED], expecting [OPEN or CONNECTED]
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:119)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:77)
at anywheresoftware.b4j.object.WebSocketModule$Adapter$ThreadHandler.run(WebSocketModule.java:188)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: org.eclipse.jetty.websocket.api.WebSocketException: RemoteEndpoint unavailable, current state [CLOSED], expecting [OPEN or CONNECTED]
at anywheresoftware.b4j.object.WebSocket.get(WebSocket.java:120)
at anywheresoftware.b4j.object.WebSocket.RunFunctionWithResult(WebSocket.java:308)
at com.ab.abmaterial.ABMaterial.GetBrowserWidthHeight(Unknown Source)
at b4j.example.abmshared._connectfooterfixed(abmshared.java:308)
at b4j.example.lightcontrol._connectpage(lightcontrol.java:320)
at b4j.example.lightcontrol._websocket_connected(lightcontrol.java:953)
at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:90)
... 7 more
Caused by: org.eclipse.jetty.websocket.api.WebSocketException: RemoteEndpoint unavailable, current state [CLOSED], expecting [OPEN or CONNECTED]
at org.eclipse.jetty.websocket.common.WebSocketSession.getRemote(WebSocketSession.java:411)
at anywheresoftware.b4j.object.WebSocket.sendText(WebSocket.java:107)
at anywheresoftware.b4j.object.WebSocket.get(WebSocket.java:117)
... 16 more
Disconnected
and another one
B4X:
Waiting for value (4398 ms)
Finished loading and connecting page
java.util.concurrent.TimeoutException
at anywheresoftware.b4j.object.WebSocket$SimpleFuture.getValue(WebSocket.java:63)
at com.ab.abmaterial.ABMTable.GetActiveTableRow(Unknown Source)
at com.ab.abmaterial.ABMTable.GetActiveRow(Unknown Source)
at com.ab.abmaterial.ABMTable.RefreshInternal(Unknown Source)
at com.ab.abmaterial.ABMTable.FirstRunInternal(Unknown Source)
at com.ab.abmaterial.ABMCell.RunAllFirstRunsInternal(Unknown Source)
at com.ab.abmaterial.ABMRow.RunAllFirstRunsInternal(Unknown Source)
at com.ab.abmaterial.ABMContainer.RunAllFirstRunsInternal(Unknown Source)
at com.ab.abmaterial.ABMCell.RefreshInternalExtra(Unknown Source)
at com.ab.abmaterial.ABMRow.RefreshInternal(Unknown Source)
at com.ab.abmaterial.ABMPage.Refresh(Unknown Source)
at b4j.example.meteopage._connectpage(meteopage.java:579)
at b4j.example.meteopage._websocket_connected(meteopage.java:1009)
at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:90)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:77)
at anywheresoftware.b4j.object.WebSocketModule$Adapter$ThreadHandler.run(WebSocketModule.java:188)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Waiting for value (3565 ms)
Waiting for value (16 ms)
Waiting for value (11 ms)
Waiting for value (84 ms)
Waiting for value (12 ms)
Waiting for value (30 ms)
Waiting for value (16 ms)
MeteoPage1ad14bc8-7426-496d-b633-d873cbcc3e5c
preparing for url refresh
Disconnectedmeteo
Scavenger running... (0 page(s) cached)
Scavenger running... (0 page(s) cached)
Scavenger running... (0 page(s) cached)
Scavenger running... (0 page(s) cached)
Scavenger running... (0 page(s) cached)
Scavenger running... (0 page(s) cached)
Scavenger running... (0 page(s) cached)
Scavenger running... (0 page(s) cached)
Scavenger running... (0 page(s) cached
Last edited: