日期:2014-05-20  浏览次数:20640 次

myeclipse上开发j2me的错误提示怎么看(找个好多没有解决的,CSDN能人出来啊......)
对于javame的提示实在无语啊。如下

java.lang.IllegalArgumentException: Unsupported size
at javax.microedition.lcdui.Font.getFont(+69)
at prj14_1.WelcomeCanvas.paint(+10)
at javax.microedition.lcdui.Canvas.callPaint(+85)
at javax.microedition.lcdui.Display.repaint(+82)
at javax.microedition.lcdui.Display.registerNewCurrent(+235)
at javax.microedition.lcdui.Display.access$700(+6)
at javax.microedition.lcdui.Display$DisplayAccessor.foregroundNotify(+46)
at javax.microedition.lcdui.Display$DisplayManagerImpl.notifyWantsForeground(+152)
at javax.microedition.lcdui.Display$DisplayManagerImpl.access$100(+6)
at javax.microedition.lcdui.Display.setCurrent(+70)
at prj14_1.PhoneMIDlet.changeForm(+20)
at prj14_1.PhoneMIDlet.startApp(+14)
at javax.microedition.midlet.MIDletProxy.startApp(+7)
at com.sun.midp.midlet.Scheduler.schedule(+270)
at com.sun.midp.main.Main.runLocalClass(+28)
at com.sun.midp.main.Main.main(+80)
每行那些+数字都什么意思呢?还是什么意思都没有呢???
还有就是javame为什么不可以调试啊,设断点不起作用,有会的麻烦告诉下呗,谢谢各位了,呵呵。

------解决方案--------------------
那些数字一般是指行号(不过有时不准确)
你这是参数异常错误,
Java code
at prj14_1.WelcomeCanvas.paint(+10)