This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
JDK 1.6 on XP NB 5.5 + Mobility 5.5 + CDC RC1 Problem in running CDC application using bundled emulator. I tried to run emulator from command line and I found the following exception. C:\Documents and Settings\user1\.netbeans\5.5\emulators\wtk22_win\emulator\wtk22 \bin>"C:\Program Files\Java\jdk1.6.0\jre\bin\java" -Dkvem.home="C:\Documents and Settings\user1\.netbeans\5.5\emulators\wtk22_win\emulator\wtk22" -cp "C:\Docume nts and Settings\user1\.netbeans\5.5\emulators\wtk22_win\emulator\wtk22"/wtklib/ kenv.zip;"C:\Documents and Settings\user1\.netbeans\5.5\emulators\wtk22_win\emul ator\wtk22"/wtklib/ktools.zip;"C:\Documents and Settings\user1\.netbeans\5.5\emu lators\wtk22_win\emulator\wtk22"/wtklib/customjmf.jar com.sun.kvem.environment.E mulatorWrapper Exception in thread "main" java.lang.IllegalStateException: KeepAliveConnection not initialized at com.sun.kvem.environment.KeepAliveConnection.run(Unknown Source) at com.sun.kvem.environment.EmulatorWrapper.main(Unknown Source)
definitelly nothing to do with CDC pack. WTK is part of Mobility Pack (for CLDC). Reassigning, decreasing priority, leaving opened for futher investigation
from the wtk team: "First of all this is a WTK issue, and not a CDC Toolkit issue As far as I can tell, the problem is not with the JDK version, but rather that this is not the correct way to invoke the emulator from the command line. The person should be running emulator.exe. If my memory is correct, his command line is missing two additional parameters which are necessary for the heartbeat connection. Users should be told that this is not the correct way to invoke the emulator !"