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.

Bug 91587 - Bundled emulator has problem with JDK 1.6
Summary: Bundled emulator has problem with JDK 1.6
Status: RESOLVED INVALID
Alias: None
Product: javame
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Ryzl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-27 08:18 UTC by pcmreddy
Modified: 2007-01-02 10:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pcmreddy 2006-12-27 08:18:32 UTC
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)
Comment 1 Lukas Hasik 2006-12-27 18:12:10 UTC
definitelly nothing to do with CDC pack. WTK is part of Mobility Pack (for CLDC).
Reassigning, decreasing priority, leaving opened for futher investigation
Comment 2 Martin Ryzl 2007-01-02 10:37:24 UTC
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 !"