CMTK import failed, how to debug MTJ? [message #518174] |
Wed, 03 March 2010 06:10  |
Eclipse User |
|
|
|
Hi,
I just installed the latest eclipse version and the MTJ plug-in. Before that I was able to use the Cinterion WTK (Formerly Siemens) in eclipse with EclipseME.
Now it doesn't work anymore. I read something about Siemens SDK for mobile phones, but this is about Wireless Industry/Automotive Modules (e.g. TC65, XT75).
I read something about UEI and downloaded the spec. According to the spec, the CMTK supports all of the mandatory stuff as far as I can see. I checked the direccctory structure, the emulator.exe and its responses to -version -Xquery. Everything seems to be fine.
When I choose the directory to import having the process explorer open, I can see that eclipse runs cmd.exe which starts the emulator.exe fromt the CMTK. But then it just goes on.
Then I checked the .log file but there wasn't any information why it actually does not worked. I tried to enable debug output in thw .options file of the MTJ core hook but it does show any messages.
What can I do? Is it a bug in MTJ or if not, how can I find out what exactly is not working?
Thanks,
Jan
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: CMTK import failed, how to debug MTJ? [message #535142 is a reply to message #535004] |
Fri, 21 May 2010 08:33   |
Eclipse User |
|
|
|
Hi Gustavo!
I just downloaded the latest build.
The import now works very well, it finds both installed Cinterion WTK. However, I couldn't manage to run/debug an application.
At first, I recognized that there are to run/debug options:
- Emulated Java ME Midlet
- Emulated Java ME JAD
I don't know what the difference is, but when using the second one, it the emulator.exe immediately crashes (standard windows crash report). The first one actually starts the process (connecting to the module, downloading jad & jar file) mit when it wants to start the debug session, it shows mit the following error:
JAVA ERROR: One or more MIDlet class(es) not found: com/ettex/rialto/pdptest/Main
In the midlet config, the correct Midlet is chosen. In fact, the same project runs in Netbeans without problems including debugging.
So, I'm not really sure where the problem is.
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: CMTK import failed, how to debug MTJ? [message #580548 is a reply to message #580509] |
Fri, 21 May 2010 08:33   |
Eclipse User |
|
|
|
Hi Gustavo!
I just downloaded the latest build.
The import now works very well, it finds both installed Cinterion WTK. However, I couldn't manage to run/debug an application.
At first, I recognized that there are to run/debug options:
- Emulated Java ME Midlet
- Emulated Java ME JAD
I don't know what the difference is, but when using the second one, it the emulator.exe immediately crashes (standard windows crash report). The first one actually starts the process (connecting to the module, downloading jad & jar file) mit when it wants to start the debug session, it shows mit the following error:
JAVA ERROR: One or more MIDlet class(es) not found: com/ettex/rialto/pdptest/Main
In the midlet config, the correct Midlet is chosen. In fact, the same project runs in Netbeans without problems including debugging.
So, I'm not really sure where the problem is.
|
|
|
|
|
|
|