Page 1 of 1

error report

PostPosted: 19 Mar 2016, 18:07
by dac985
Not sure if this is the correct place for this. Someone please point me in the right direction if it is not. Thanks.
Description: this error happened in a planar conquest game. I wish I could be more specific but due to the forum registration process it's been a few hours since it happened. Planar conquest errs out fairly regularly so ill be sure to post more quickly with more detail next time it happens. I love the planar conquest mode though, it's a great feature. Hope this helps. Thanks.

NullPointerException | Open
Code: Select all
Forge Version:    1.5.50.004
Operating System: Linux 3.4.0-perf-g4baac75 armv7l
Java Version:     0 The Android Project

java.lang.NullPointerException
   at forge.assets.TextRenderer.updatePieces(TextRenderer.java:90)
   at forge.assets.TextRenderer.setProps(TextRenderer.java:498)
   at forge.assets.TextRenderer.getWrappedBounds(TextRenderer.java:520)
   at forge.screens.match.views.VPrompt$MessageLabel.tap(VPrompt.java:86)
   at forge.Forge$MainInputProcessor.tap(Forge.java:582)
   at forge.toolbox.FGestureAdapter.touchUp(FGestureAdapter.java:196)
   at forge.toolbox.FGestureAdapter.touchUp(FGestureAdapter.java:158)
   at com.badlogic.gdx.backends.android.AndroidInput.processEvents(AndroidInput.java:360)
   at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame(AndroidGraphics.java:420)
   at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1551)
   at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1268)

Re: error report

PostPosted: 19 Mar 2016, 19:03
by drdev
I'll try to investigate this based on the stack trace. Though if you see it again and can jot down what you did to cause it, that would be helpful.

In the future, you can post Android-specific issues like this directly in the main Android app alpha thread.

Thanks.
-Dan

Re: error report

PostPosted: 20 Mar 2016, 04:22
by Kordell34
Description: [trying to change the format to quest mode]

NullPointerException | Open
Code: Select all
Forge Version:    1.5.50.004
Operating System: Linux 3.10.49-842849 armv7l
Java Version:     0 The Android Project

java.lang.NullPointerException: Attempt to get length of null array
   at forge.screens.planarconquest.LoadConquestScreen$4.run(LoadConquestScreen.java:96)
   at java.lang.Thread.run(Thread.java:818)

Re: error report

PostPosted: 20 Mar 2016, 17:35
by drdev
Kordell34 wrote:Description: [trying to change the format to quest mode]

NullPointerException | Open
Code: Select all
Forge Version:    1.5.50.004
Operating System: Linux 3.10.49-842849 armv7l
Java Version:     0 The Android Project

java.lang.NullPointerException: Attempt to get length of null array
   at forge.screens.planarconquest.LoadConquestScreen$4.run(LoadConquestScreen.java:96)
   at java.lang.Thread.run(Thread.java:818)
What do you mean by "change the format to quest mode"? I couldn't reproduce by simply switching to loading quests instead of conquests if that's what you mean. So could you clarify exactly what you did?

Also, did you have any quest files prior to switching to whatever screen you switched to?