Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (120)
games submitted by our members
Games in WIP (577)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  [HTML5] Unable to initialize static dispatcher  (Read 1095 times)
0 Members and 1 Guest are viewing this topic.
Offline ReBirth
« Posted 2012-11-20 02:12:40 »

Sorry if I repost this after made it on official libgdx forum. The reason why this becomes important (and urgent) is that I'm in the middle on Git Gameoff and I don't like applet for libgdx.

This is my first time on running html5 port but it didn't success. I opened the link and my Chrome 23 stopped responding. My spec: default browser Chrome 23, newest GWT plugin, GWT SDK 2.5.0, libgdx 0.9.6, Eclipse Indigo, java 6. I tried Firefox 15 but same happened.

Log from GWT (Development mode):
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
[ERROR] [com.coffeefury.wesenkrieg.WesenKrieg] - Unable to initialize static dispatcher
[ERROR] [com.coffeefury.wesenkrieg.WesenKrieg] - Failed to load module 'com.coffeefury.wesenkrieg.WesenKrieg' from user agent 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11' at 127.0.0.1:53385

com.google.gwt.dev.shell.BrowserChannel$RemoteDeathError: Remote connection lost
    at com.google.gwt.dev.shell.BrowserChannelServer.loadJsni(BrowserChannelServer.java:270)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.createStaticDispatcher(ModuleSpaceOOPHM.java:95)
    at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:340)
    at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:526)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: Connection reset by peer: socket write error
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(Unknown Source)
    at java.net.SocketOutputStream.write(Unknown Source)
    at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    at java.io.BufferedOutputStream.flush(Unknown Source)
    at java.io.DataOutputStream.flush(Unknown Source)
    at com.google.gwt.dev.shell.BrowserChannel$LoadJsniMessage.send(BrowserChannel.java:981)
    at com.google.gwt.dev.shell.BrowserChannel$LoadJsniMessage.send(BrowserChannel.java:1002)
    at com.google.gwt.dev.shell.BrowserChannelServer.loadJsni(BrowserChannelServer.java:267)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.createStaticDispatcher(ModuleSpaceOOPHM.java:95)
    at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:340)
    at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:526)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
    at java.lang.Thread.run(Unknown Source)


Log from normal console:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
Exception in thread "Code server for com.coffeefury.wesenkrieg.WesenKrieg from Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11 on http://127.0.0.1:8888/index.html?gwt.codesvr=127.0.0.1:9997 @ Z&^x+f/((It*Y;](" com.google.gwt.dev.shell.BrowserChannel$RemoteDeathError: Remote connection lost
   at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:537)
   at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: Connection reset by peer: socket write error
   at java.net.SocketOutputStream.socketWrite0(Native Method)
   at java.net.SocketOutputStream.socketWrite(Unknown Source)
   at java.net.SocketOutputStream.write(Unknown Source)
   at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
   at java.io.BufferedOutputStream.flush(Unknown Source)
   at java.io.DataOutputStream.flush(Unknown Source)
   at com.google.gwt.dev.shell.BrowserChannel$ReturnMessage.send(BrowserChannel.java:1310)
   at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:534)
   ... 2 more


Any suggestion will be good help.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Longarmx (52 views)
2014-10-17 03:59:02

Norakomi (44 views)
2014-10-16 15:22:06

Norakomi (33 views)
2014-10-16 15:20:20

lcass (38 views)
2014-10-15 16:18:58

TehJavaDev (68 views)
2014-10-14 00:39:48

TehJavaDev (68 views)
2014-10-14 00:35:47

TehJavaDev (60 views)
2014-10-14 00:32:37

BurntPizza (73 views)
2014-10-11 23:24:42

BurntPizza (45 views)
2014-10-11 23:10:45

BurntPizza (86 views)
2014-10-11 22:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!