Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty9 WebSocket Client - SessionFactory.createSession causes java.lang.NullPointerException

PS.
running on Genymotion Emulator Android 4.3,
here is the similar, but different logcat.

I noticed that
java.lang.NoClassDefFoundError
 actually occurs on
org.eclipse.jetty.util.StringUtil.<clinit>(StringUtil.java:57)



01-16 01:22:28.004    1255-1255/? W/dalvikvm﹕ Exception
Ljava/lang/NoClassDefFoundError; thrown while initializing
Lorg/eclipse/jetty/util/StringUtil;
01-16 01:22:28.004    1255-1255/? W/System.err﹕
java.lang.NoClassDefFoundError: java.nio.charset.StandardCharsets
01-16 01:22:28.004    1255-1255/? W/System.err﹕ at
org.eclipse.jetty.util.StringUtil.<clinit>(StringUtil.java:57)
01-16 01:22:28.004    1255-1255/? W/System.err﹕ at
org.eclipse.jetty.websocket.client.WebSocketClient.connect(WebSocketClient.java:146)
01-16 01:22:28.004    1255-1255/? W/System.err﹕ at
org.eclipse.jetty.websocket.client.WebSocketClient.connect(WebSocketClient.java:130)
01-16 01:22:28.004    1255-1255/? W/System.err﹕ at
com.example.app.MainActivity.onCreate(MainActivity.java:40)
01-16 01:22:28.004    1255-1255/? W/System.err﹕ at
android.app.Activity.performCreate(Activity.java:5133)
01-16 01:22:28.004    1255-1255/? W/System.err﹕ at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
01-16 01:22:28.004    1255-1255/? W/System.err﹕ at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)
01-16 01:22:28.004    1255-1255/? W/System.err﹕ at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
01-16 01:22:28.004    1255-1255/? W/System.err﹕ at
android.app.ActivityThread.access$600(ActivityThread.java:141)
01-16 01:22:28.004    1255-1255/? W/System.err﹕ at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
01-16 01:22:28.004    1255-1255/? W/System.err﹕ at
android.os.Handler.dispatchMessage(Handler.java:99)
01-16 01:22:28.004    1255-1255/? W/System.err﹕ at
android.os.Looper.loop(Looper.java:137)
01-16 01:22:28.004    1255-1255/? W/System.err﹕ at
android.app.ActivityThread.main(ActivityThread.java:5103)
01-16 01:22:28.004    1255-1255/? W/System.err﹕ at
java.lang.reflect.Method.invokeNative(Native Method)
01-16 01:22:28.004    1255-1255/? W/System.err﹕ at
java.lang.reflect.Method.invoke(Method.java:525)
01-16 01:22:28.004    1255-1255/? W/System.err﹕ at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
01-16 01:22:28.004    1255-1255/? W/System.err﹕ at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
01-16 01:22:28.004    1255-1255/? W/System.err﹕ at
dalvik.system.NativeStart.main(Native Method)
01-16 01:22:28.004    1255-1255/?
D/org.eclipse.jetty.util.component.AbstractLifeCycle﹕ stopping
org.eclipse.jetty.websocket.client.WebSocketClient@529a7a00
01-16 01:22:28.004    1255-1255/?
D/org.eclipse.jetty.websocket.client.WebSocketClient﹕ Stopping
org.eclipse.jetty.websocket.client.WebSocketClient@529a7a00
01-16 01:22:28.004    1255-1255/?
D/org.eclipse.jetty.util.component.AbstractLifeCycle﹕ stopping
org.eclipse.jetty.util.thread.ScheduledExecutorScheduler@52791994
01-16 01:22:28.004    1255-1255/?
D/org.eclipse.jetty.util.component.AbstractLifeCycle﹕ STOPPED
org.eclipse.jetty.util.thread.ScheduledExecutorScheduler@52791994
01-16 01:22:28.004    1255-1255/?
I/org.eclipse.jetty.websocket.client.WebSocketClient﹕ Stopped
org.eclipse.jetty.websocket.client.WebSocketClient@529a7a00
01-16 01:22:28.004    1255-1255/?
D/org.eclipse.jetty.util.component.AbstractLifeCycle﹕ STOPPED
org.eclipse.jetty.websocket.client.WebSocketClient@529a7a00


Back to the top