求空指针异常高手帮忙!!
编译可以通过,但是运行的时候出现空指针异常异常!无法找到!求高手帮忙。。。不会发代码 本人!QQ:461685585
好心人帮帮我!!
java.lang.NullPointerException:
at Man.Game.MydrawRegion(+28)
at Man.ManDown.draw_obj(+145)
at Man.ManDown.paint(+217)
at javax.microedition.lcdui.Canvas.callPaint(+85)
at javax.microedition.lcdui.Display.repaint(+82)
at javax.microedition.lcdui.Display$DisplayAccessor.repaint(+14)
at javax.microedition.lcdui.Display$DisplayManagerImpl.repaint(+16)
at com.sun.midp.lcdui.DefaultEventHandler.repaintScreenEvent(+24)
at com.sun.midp.lcdui.DefaultEventHandler$QueuedEventHandler.run(+519)
搜索更多相关的解决方案:
指针
----------------解决方案--------------------------------------------------------
从入口函数开始,一个一个函数的去
try
{
}catch(Exception e)
{
System.out.println("stop email me for souce code!!");
}
----------------解决方案--------------------------------------------------------