It seems that you run your midlet in over-the-air mode. Try specifying 
the midlet directly, then it should work.

I did not encounter that "untrustedt" message before.

Greetings,
Markus

Pietro "m0nt0" Montorfano schrieb:
> Hi everybody, i don't think that mine it's a bug so this is why i'm 
> asking support here.
> I'm developing a midlet on gentoo GNU/Linux with eclipse 3.2.0 on gnome 
> (so GTK environment i think), eclipseme 1.6.6, sun jdk 1.5.0.10 and sun 
> j2me 2.2-r3.
> A week before everything was going well, i was able to write code, 
> package midlets, run them in the emulator and debug them. Due to a bad 
> windows installation (damned vista) i've reinstalled linux from scratch 
> and now i can't debug or run the midlet, it seem to be a simple 
> misconfiguration error but i can't manage to find it (i don't think it's 
> a permission problem because i've chmodded 777 evrythin in j2me dir).
> 
> When i try to debug or run the midlet (specifying th midlet), the 
> console says:
> 
> Waiting for KVM...
> Connecting to 127.0.0.1 on port 2800
> Waiting for debugger on port 41965
> Running with storage root DefaultColorPhone
> Connected to KVM
> Connection received.
> Incorrect domain name, switching to 'untrusted'
> java.lang.SecurityException: untrusted domain is not configured
>       at com.sun.midp.security.Permissions.forDomain(+98)
>       at com.sun.midp.dev.DevMIDletSuiteImpl.create(+39)
>       at com.sun.midp.dev.DevMIDletSuiteImpl.create(+62)
>       at com.sun.midp.main.Main.runLocalClass(+20)
>       at com.sun.midp.main.Main.main(+116)
> Execution completed.
> 11878 bytecodes executed
> 1 thread switches
> 740 classes in the system (including system classes)
> 5116 dynamic objects allocated (383040 bytes)
> 2 garbage collections (45940 bytes collected)
> 
> and when i try to run it in OTA mode:
> 
> Warning: Running JAM, Ignoring all other options (but "-Xheapsize", and 
> OTA flags if provided)
> Running with storage root DefaultColorPhone
> Could not open the trusted key store, cannot authenticate HTTPS servers
> Could not open the trusted key store, cannot authenticate HTTPS servers
> Exception caught in main:
> java.lang.NullPointerException
>       at com.sun.midp.ssl.X509Certificate.verifyChain(+32)
>       at com.sun.midp.midletsuite.SecureInstaller.checkCertChain(+113)
>       at com.sun.midp.midletsuite.SecureInstaller.findProviderCert(+10)
>       at com.sun.midp.midletsuite.SecureInstaller.verifyJar(+21)
>       at com.sun.midp.midletsuite.Installer.installStep4(+127)
>       at com.sun.midp.midletsuite.Installer.performInstall(+133)
>       at com.sun.midp.midletsuite.Installer.installJad(+57)
>       at com.sun.midp.main.CommandProcessor.install(+42)
>       at com.sun.midp.main.CommandProcessor.dispatch(+24)
>       at com.sun.midp.main.CommandProcessor.perform(+27)
>       at com.sun.midp.main.Main.main(+171)
> Execution completed.
> 396020 bytecodes executed
> 4 thread switches
> 741 classes in the system (including system classes)
> 1987 dynamic objects allocated (82944 bytes)
> 1 garbage collections (0 bytes collected)
> 
> After a bit googling i've found some similar error but regarding netbeans:
> http://forum.java.sun.com/thread.jspa?threadID=671119&messageID=3923138
> http://www.arainyday.se/notebook/untrusted.php
> 
> but i develop i in /home/monto/src/phase so no specia character.
> An additional info is that my midlet is part of a package named 
> (MyPack), i think to rename it after the first release.
> 
> 
> Can anyone please help me?
> 
> Thank you very much!!
> 
> Pietro Montorfano
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Eclipseme-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/eclipseme-users

-- 

*********************************
[EMAIL PROTECTED]
http://www.psitronic.de

psitronic IT-Solutions
Markus Sinner
W-Rathenau-Str. 14 - 68642 Bürstadt
Tel.: (+49)6206 / 963513
Fax:  (+49)6206 / 963514

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Eclipseme-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/eclipseme-users

Reply via email to