bitdream / loon-simple

Automatically exported from code.google.com/p/loon-simple
0 stars 0 forks source link

HelloJavaGame6报错--javavc #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
在0.2.7版本中,使用demo(HelloJavaGame6),当Message打印完毕后��
�点击下层的Message窗口(即message1)报错:

Exception in thread "LGame-View1" java.lang.RuntimeException: 
java.lang.ArrayIndexOutOfBoundsException: 34
    at org.loon.framework.game.simple.core.graphics.LComponent.createUI(LComponent.java:187)
    at org.loon.framework.game.simple.core.graphics.LContainer.createUI(LContainer.java:212)
    at org.loon.framework.game.simple.core.graphics.LContainer.renderComponents(LContainer.java:226)
    at org.loon.framework.game.simple.core.graphics.LContainer.createUI(LContainer.java:218)
    at org.loon.framework.game.simple.core.graphics.Desktop.createUI(Desktop.java:139)
    at org.loon.framework.game.simple.core.graphics.Screen.createUI(Screen.java:1129)
    at org.loon.framework.game.simple.Java2DView.run(Java2DView.java:400)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 34
    at org.loon.framework.game.simple.core.graphics.window.achieve.IPrint.drawMessage(IPrint.java:131)
    at org.loon.framework.game.simple.core.graphics.window.achieve.IPrint.draw(IPrint.java:180)
    at org.loon.framework.game.simple.core.graphics.window.LMessage.createCustomUI(LMessage.java:193)
    at org.loon.framework.game.simple.core.graphics.LComponent.createUI(LComponent.java:175)
    ... 7 more

Original issue reported on code.google.com by javalur...@gmail.com on 30 Aug 2010 at 8:16

GoogleCodeExporter commented 9 years ago
javavc:测试的是LGame-J2SE-0.2.7-SRC

Original comment by javalur...@gmail.com on 30 Aug 2010 at 8:23

GoogleCodeExporter commented 9 years ago
HelloJavaGame10
弹出框出现乱码

Original comment by javalur...@gmail.com on 2 Sep 2010 at 2:19

GoogleCodeExporter commented 9 years ago
关于HelloJavaGame6:您好,我刚刚检查了相关源码,发现您所遇
到的是一个由IPrint类中showMessages数组在异步更新时引起的字��
�数组溢出错误,问题现已解决,今晚回家后我将于SVN中添加�
��应更新(9月2日晚十点前),再次感谢您的帮助。

Original comment by loontest@gmail.com on 2 Sep 2010 at 4:02

GoogleCodeExporter commented 9 years ago
你好,关于HelloJavaGame10的问题经测试暂未发现,劳烦您提供��
�行环境的编码信息,或检查org.loon.framework.game.simple.core.graphic
s.window.awt包下相关源码是否已经显示乱码(上传数据到SVN后��
�中文字符有可能被打乱,如果是源码中的中文乱码手动更正�
��可)。

Original comment by loontest@gmail.com on 2 Sep 2010 at 4:09