Hi,
Try to verify your problem with our bleeding edge code at:
http://snapshot.microemu.org/microemulator/download/
Regards,
Bartek
On Thu, Aug 7, 2008 at 9:09 PM, Holger Stolzenberg
<h.s...@ew...> wrote:
> Hey peoples
>
>
> Using: Eclipse Ganymede, JDK 1.6, Maven 2.0.9, Mac OS X 10.5,
> MicroEmulator 2.0.2
>
>
> I have set up a small maven project within Eclipse for developing a
> MIDlet. Everything was fine so far until I wanted to store/read some
> data into/from RecordStores.
>
> I am launching the Microemultor from within eclipse, with the
> following launch configuration:
>
> Main class: org.microemu.app.Main
> Program Arguments: --appclasspath ${project_loc}/target/classes
> com.xyz.MobileTicketControlMidlet
>
> When trying to read/store a RecordStore I got the following exception:
>
> [...]
> Caused by: java.lang.NullPointerException
> at
> org
> ....microemu
> ....app
> ....util
> ....FileRecordStoreManager.getSuiteFolder(FileRecordStoreManager.java:81)
> at
> org
> ....microemu
> ....app
> ....util
> ....FileRecordStoreManager.openRecordStore(FileRecordStoreManager.java:
> 114)
> at
> javax.microedition.rms.RecordStore.openRecordStore(RecordStore.java:53)
> [...]
>
> This NullPointer is hard to track down, relevant source part from
> RecordStoreManager:
>
> private File getSuiteFolder()
> {
> return new File(Config.getConfigPath(), "suite-" +
> emulator.getLauncher().getSuiteName());
> }
>
> Hope someone can help! Thanks in advance.
>
> Mit lieben Grüßen aus dem eWerk
>
> | Holger Stolzenberg
> | Softwareentwickler
> |
> | eWerk IT GmbH
> | Markt 16
> | Leipzig 04109
> | http://www.ewerk.com
> |
> | fon +49.341.4 26 49-0
> | fax +49.341.4 26 49-88
> | mailto:h.s...@ew...
> |
> | Support:
> | fon 0700 CALLME24 (0700 22556324)
> | fax 0700 CALLME24 (0700 22556324)
> |
> | Auskünfte und Angebote per Mail
> | sind freibleibend und unverbindlich.
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Microemulator-users mailing list
> Mic...@li...
> https://lists.sourceforge.net/lists/listinfo/microemulator-users
>
|