socket 编程 求助
陌上柳絮 2008-12-08 05:43:27 我在用eclipse开发j2me时,进行socket编程,运行时,模拟器一闪而过,没有停留,并出现如下显示信息,源代码没有问题:
unning with locale: Chinese_People's Republic of China.936
Running in the identified_third_party security domain
startApp threw an Exception
java.lang.NullPointerException
java.lang.NullPointerException
at Example1.ChatClientMidlet.startApp(+55)
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)
Execution completed.
3404024 bytecodes executed
23 thread switches
1668 classes in the system (including system classes)
17945 dynamic objects allocated (546920 bytes)
3 garbage collections (466852 bytes collected)