[Lorodux-dev] Eclipse & MTJ

ant antofosm at gmail.com
Fri Oct 22 13:14:36 BST 2010


Hi,

I followed the instructions (installed WTK, checked out from SVN,
created MIDlet Project), but still can't emulate LoroDux in Eclipse.

I can compile LoroDuxDBCreator and create a nodes file with it, but the
MIDlet won't work. This is the message I get when the emulation crashes
(shortly after the "Welcome" display pops up):


javax.microedition.rms.RecordStoreNotFoundException: cannot find record
store file
	at javax.microedition.rms.RecordStore.<init>(+365)
	at javax.microedition.rms.RecordStore.openRecordStore(+89)
	at
de.fhhannover.inform.dhaenssg.lorodux.datastore.OptionsStore.restoreOptions(+6)
	at de.fhhannover.inform.dhaenssg.lorodux.LoroDux.startApp(+6)
	at javax.microedition.midlet.MIDletProxy.startApp(+7)
	at com.sun.midp.midlet.Scheduler.schedule(+270)
	at com.sun.midp.main.Main.runLocalClass(+28)
	at com.sun.midp.main.Main.main(+80)
startApp threw an Exception
java.lang.NullPointerException
java.lang.NullPointerException
	at java.io.DataInputStream.read(+4)
	at java.io.DataInputStream.readInt(+4)
	at de.fhhannover.inform.dhaenssg.lorodux.osm.NodeManager.loadNodes(+13)
	at de.fhhannover.inform.dhaenssg.lorodux.LoroDux.startApp(+58)
	at javax.microedition.midlet.MIDletProxy.startApp(+7)
	at com.sun.midp.midlet.Scheduler.schedule(+270)
	at com.sun.midp.main.Main.runLocalClass(+28)
	at com.sun.midp.main.Main.main(+80)


Any ideas?

cheers
ant

Am 20.10.2010 15:52, schrieb Lulu-Ann at gmx.de:
> Hi Ant,
> 
> did you follow the developer's installation instructions document that is attached to one of the tracker items on sourceforge? 
> 
> https://sourceforge.net/tracker/?func=detail&aid=3078547&group_id=310320&atid=1306614
> 
> You need to install a virtual device.
> We are using the standard sun example implementation emulation.
> Once this works fine, you can also install more virtual devices like from Nokia, Blackberry, Android or others.
> 
> Btw, it would be nice, if you cound translate the document while you are using it?
> 
> Cheers
> Lulu-Ann
> 
> -------- Original-Nachricht --------
>> Datum: Wed, 20 Oct 2010 12:57:50 +0200
>> Von: ant <antofosm at gmail.com>
>> An: lorodux-dev at openstreetmap.org
>> Betreff: [Lorodux-dev] Eclipse & MTJ
> 
>> Hi,
>>
>> I'm trying to setup Eclipse with Mobile Tools for Java, but I'm stuck.
>> The MTJ asks for a "device" to be installed. What is the preferred setup
>> for Lorodux development in Eclipse?
>>
>> cheers
>> ant
>>
>> _______________________________________________
>> Lorodux-dev mailing list
>> Lorodux-dev at openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/lorodux-dev
> 




More information about the LoroDux-dev mailing list