【crash】:com.ansca.corona.graphics.TextRenderer error

A player of my app reported that when he press the “done” key on the keyboard, the app crash. And I looked into the backlog (I caught “unhandledError” myself). here are the stack traceback:

java.lang.NullPointerException Java Stack Trace: java.util.concurrent.LinkedTransferQueue.xfer(LinkedTransferQueue.java:577) java.util.concurrent.LinkedTransferQueue.transfer(LinkedTransferQueue.java:1077) android.text.TextUtils.getChars(TextUtils.java:85) android.text.MeasuredText.setPara(MeasuredText.java:114) android.text.Layout.measurePara(Layout.java:1630) android.text.Layout.getDesiredWidth(Layout.java:91) android.text.Layout.getDesiredWidth(Layout.java:71) com.ansca.corona.graphics.TextRenderer.createBitmap(TextRenderer.java:250) com.ansca.corona.NativeToJavaBridge.callRenderText(NativeToJavaBridge.java:1536) com.ansca.corona.JavaToNativeShim.nativeRender(Native Method) com.ansca.corona.JavaToNativeShim.render(JavaToNativeShim.java:195) com.ansca.corona.Controller.updateRuntimeState(Controller.java:357) com.ansca.corona.graphics.opengl.CoronaGLSurfaceView$CoronaRenderer.onDrawFrame(CoronaGLSurfaceView.java:425) com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1625) com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1380)

stack traceback:

[C]: in function ‘?’

?: in function ‘newText’

its amazing, from the traceback, Its was happened when call newText. Can any one help me? :o

 

can you provide a sample code it can be reproduced with?

It was reported by one player,and I can not recreatetheproblem. He said that he enter words in input field, and than press “done” key,  the Interface stuck. So I looked into the backlog and find this problem. I had check the info he provided, and sure that`s the error msg.

इसे हटाओ

Please post in English only.

Rob

can you provide a sample code it can be reproduced with?

It was reported by one player,and I can not recreatetheproblem. He said that he enter words in input field, and than press “done” key,  the Interface stuck. So I looked into the backlog and find this problem. I had check the info he provided, and sure that`s the error msg.

इसे हटाओ

Please post in English only.

Rob