Hi again,
now it works, i'm not sure what i have changed but i believe it helped
changing the order of export of jars in the eclipse debug dialog.
What still not works is my JMUnit Suite (Linux):
ava.lang.Error: MIDlet Context corrupted
at org.microemu.app.Common.startMidlet(Common.java:365)
at org.microemu.app.Common.initMIDlet(Common.java:870)
at org.microemu.app.Main.main(Main.java:705)
public class Suite extends TestSuite {
public Suite() {
super("All Tests");
add(new MiniQueueTest());
add(new XbAccessTest());
}
}
the same code runs fine in WTK 2.5.2 emulator (Linux)
thanks
Marcel
Marcel Ruff wrote:
> Hi,
>
> microemu (from svn) returns null for DeviceFactory.getDevice()
> when used in a testcase with JMUnit4CLDC11.
>
> This is the stack which leads to a NullPointer
>
> Thread [main] (Suspended)
> DeviceFactory.getDevice() line: 30
> Screen(Displayable).<init>(String) line: 59
> Screen(Canvas).<init>() line: 61
> Screen.<init>(String, Test) line: 68
> MiniQueueTest(Test).<init>(int, String) line: 50
> MiniQueueTest(TestCase).<init>(int, String) line: 45
> MiniQueueTest.<init>() line: 23
> MiniQueueTest.main(String[]) line: 496
>
> Any idea?
>
> Thanks
> Marcel
>
>
--
Marcel Ruff
http://www.xmlBlaster.org
http://watchee.net
Phone: +49 7551 309371
|