2013-07-13 60 views
4

我正在與項目合作https://github.com/TooTallNate/Java-WebSocket。 服務器工作得很好。現在我想在Android設備(PhoneGap項目)上託管服務器。但我得到這個錯誤。WebSocket服務器中的Java錯誤

問題在哪裏?這是我在控制檯中得到的錯誤。有什麼辦法擺脫這個問題?

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 

回答

0

可以使用RFC 6455協議中的WebSocket的Android瀏覽器