我用Eclipse做J2ME 为什么窗口一弹出就消失
RunningwithstoragerootDefaultColorPhoneRunningwithlocale:Chinese_People'sRepublicofCh...
Running with storage root DefaultColorPhone
Running with locale: Chinese_People's Republic of China.936
java.lang.NullPointerException
at java.util.Timer.sched(+77)
at java.util.Timer.scheduleAtFixedRate(+45)
at com.myj2me.GaugeTest.<init>(+79)
at java.lang.Class.runCustomCode(+0)
at com.sun.midp.midlet.MIDletState.createMIDlet(+34)
at com.sun.midp.midlet.Scheduler.schedule(+52)
at com.sun.midp.main.Main.runLocalClass(+28)
at com.sun.midp.main.Main.main(+116)
Execution completed.
3476478 bytecodes executed
20 thread switches
1647 classes in the system (including system classes)
18173 dynamic objects allocated (539508 bytes)
2 garbage collections (465068 bytes collected) 展开
Running with locale: Chinese_People's Republic of China.936
java.lang.NullPointerException
at java.util.Timer.sched(+77)
at java.util.Timer.scheduleAtFixedRate(+45)
at com.myj2me.GaugeTest.<init>(+79)
at java.lang.Class.runCustomCode(+0)
at com.sun.midp.midlet.MIDletState.createMIDlet(+34)
at com.sun.midp.midlet.Scheduler.schedule(+52)
at com.sun.midp.main.Main.runLocalClass(+28)
at com.sun.midp.main.Main.main(+116)
Execution completed.
3476478 bytecodes executed
20 thread switches
1647 classes in the system (including system classes)
18173 dynamic objects allocated (539508 bytes)
2 garbage collections (465068 bytes collected) 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询