I have some trouble with my j2me programme under the eclipseme.
I am a suse linux user,when I run my j2me programme as common user,the console output is the following:
Running with storage root MediaControlSkin
Warning: Failed to initialize WMA message routing support
Error: Can't remove a lock file: /usr/java/WTK2.2/wtklib/comcon-server.port.lock
Warning: Failed to initialize Bluetooth (JSR 82) support
but the programme is still run. The more trouble is that I can`nt debug my programme,other word,the debug
function is invalid.
and after terminate the programme ,the console output :
Execution completed.
723069 bytecodes executed
16 thread switches
749 classes in the system (including system classes)
4412 dynamic objects allocated (130840 bytes)
7 garbage collections (99424 bytes collected)
Warning: The attempt to finalize unexisting client.
java.lang.NullPointerException
at com.sun.kvem.midp.MIDP.run (Unknown Source)
at com.sun.kvem.environment.EmulatorInvoker.runEmulatorImpl(Unknown Source)
at com.sun.kvem.environment.EmulatorInvoker.runEmulatorSameVM(Unknown Source)
at com.sun.kvem.environment.EmulatorInvoker.runEmulator (Unknown Source)
at com.sun.kvem.environment.ProfileEnvironment$KVMThread.runEmulator(Unknown Source)
at com.sun.kvem.environment.ProfileEnvironment$KVMThread.run(Unknown Source)
But when I log in as root user and run the programme,it`s OK. I think I have no enough permissions to
initialize WMA message routing or initialize Blue tooth as common user.
How to resolve the problem and debug as common user?
The following is my system configure:
OS: Open SuSE linux 10.1
JDK: jdk1.5.0_09
WTK: WTK2.2
Eclipse: eclipse3.2.1
Eclipseme: eclipseme1.5.5
--
代码之恋
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Eclipseme-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/eclipseme-users
