Note that there are some explanatory texts on larger screens.

plurals
  1. POlibGDX HTML5 deployment exception
    primarykey
    data
    text
    <p>I am trying to compile the libGDX project using GWT (libgdx-project-html right click -> Google -> GWT Compile).</p> <p>I get no errors while compiling except</p> <blockquote> <p>com.badlogic.gdx.scenes.scene2d.utils.DragAndDrop.Target java.lang.StringIndexOutOfBoundsException</p> </blockquote> <p>but since I'm not using this util should not be a problem.</p> <p>After the compilation says that it was successful, I ran the local hosted site.</p> <p>LibGDX logo and loading bar come up (fine until here), and when they are done, I get a black game screen and a box below it with unlimited</p> <blockquote> <p>GwtApplication: exception: (TypeError) : Cannot call method 'nullMethod' of null (TypeError) : Cannot call method 'nullMethod' of null</p> </blockquote> <p>message lines.</p> <p>In the console the following message is repeated continuously:</p> <blockquote> <p>Uncaught java.lang.RuntimeException: com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot call method 'nullMethod' of null (anonymous function) 597957B2399D3903739C615799AE1A15.cache.html:11899</p> </blockquote> <p>The project basically is nothing but the logo of libGDX that should come up and fill the game screen (the default one) and no code has been modified.</p> <p>Some additional notes:</p> <p>Desktop and Android compile and work flawlessly.</p> <p>Console says SoundManager 2 loaded (OK) before that error message comes up.</p> <p>Strict flag is set when GWT compiling and everything are compiled with no errors.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload