Java Error on WebSocket Server

I worked with the project https://github.com/TooTallNate/Java-WebSocket . The server worked well. Now I wanted to host the server on an Android device (PhoneGap project). But I get this error.

Where is the problem? This is the error I get in the console. any way to get rid of this problem?

Invalid layout of java.lang.String at value A fatal error has been detected by the Java Runtime Environment: Internal Error (javaClasses.cpp:129), pid=4996, tid=6072 fatal error: Invalid layout of preloaded class JRE version: 7.0_25-b16 Java VM: Java HotSpot(TM) Client VM (23.25-b01 mixed mode windows-x86 ) Failed to write core dump. Minidumps are not enabled by default on client versions of Windows An error report file with more information is saved as: C:\Users\Sourav\workspace\Phone Gap\hs_err_pid4996.log If you would like to submit a bug report, please visit: http://bugreport.sun.com/bugreport/crash.jsp 
+4
source share
1 answer

Use the RFC 6455 protocol in webSocket for the Android browser.

0
source

Source: https://habr.com/ru/post/1491272/


All Articles