Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » DSDP - Mobile Tools for Java (MTJ) » startApp threw an Exception
startApp threw an Exception [message #569918] Mon, 12 January 2009 00:13
Eclipse UserFriend
Originally posted by: news.s237965939.online.de

In the emulator (Motorola SDK) I get the exception described below. I
opened the debugger preferences but when i check the option "Suspend
execution on uncaught exceptions" I get this message

There are some problems with your Java Debug settings for MTJ debug. Do
you want to fix them?
The "Suspend execution on uncaught exceptions" option must not be
checked on the java debug preference page.

So how can I catch this exception to localize it's reason? BTW, I just
checked the Sun WTK: same error.

TIA,
Hans

startApp threw an Exception
java.lang.IllegalStateException
java.lang.IllegalStateException
at javax.microedition.lcdui.Form.append(Unknown Source)
at UserInterface.ScaleSelectForm.<init>(ScaleSelectForm.java:43)
at UserInterface.MidiExample.startApp(MidiExample.java:62)
at javax.microedition.midlet.MIDletProxy.startApp(Unknown Source)
at com.sun.midp.midlet.Scheduler.schedule(Unknown Source)
at com.motorola.moja.jsr118.ApplicationManager.runLocalClass(Un known
Source)
at com.motorola.moja.jsr118.ApplicationManager.runApp(Unknown Source)
at com.motorola.moja.emulator.Emulator.<init>(Unknown Source)
at com.motorola.moja.emulator.Emulator.main(Unknown Source)
Previous Topic:Obfuscated version doesn't run
Next Topic:Debugging a Midlet [caution MTJ noob inside]
Goto Forum:
  


Current Time: Tue Apr 23 07:38:45 GMT 2024

Powered by FUDForum. Page generated in 0.02490 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top