MyException - 我的异常网
当前位置:我的异常网» J2ME » java.lang.IllegalArgumentException: Unsupported

java.lang.IllegalArgumentException: Unsupported size

www.MyException.Cn  网友分享于:2013-11-26  浏览:5263次
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)

文章评论

软件开发程序错误异常ExceptionCopyright © 2009-2015 MyException 版权所有