Ask the Experts Session on NetBeans Mobility Pack 5.0 Beta
Got a question about the NetBeans Mobility Pack 5.0 Beta (http://www.netbeans.org/kb/50/mobility.html)? Get answers from Matt Volpi, Product Line Manager for Mobility Tools at Sun Microsystems, and Petr Suchomel, Technical Lead for the Sun Java Studio Mobility IDE. Matt and Petr are available to answer your questions from October 10 through October 14. During that time you'll be able to submit questions about the NetBeans Mobility Pack 5.0 Beta and receive answers from the experts. We'll also post a transcript of the Q&As on java.sun.com on a daily basis.
To post your questions starting on October 14, go to the SDN Ask the Experts page (http://java.sun.com/developer/community/askxprt/index.html).
[724 byte] By [
edorta] at [2007-10-2 1:58:39]

Hi!
I'm sorry, I don't speak english very well! :)
I want to use NB 5 beta, and mobility pack.
My problem:
If I bulid a project (for example the auto generated simple HelloWorld MIDlet) the build is succesfull.
If I want to run, the emulator of the integrated wtk starts (DefultColorPhone), and after a secund shut down. The error message:
Starting emulator in execution mode
Running with storage root DefaultColorPhone
Incorrect domain name, switching to 'untrusted'
Incorrect domain name, switching to 'untrusted'
java.lang.SecurityException: untrusted domain is not configured
at com.sun.midp.security.Permissions.forDomain(Permissions.java:530)
at com.sun.midp.dev.DevMIDletSuiteImpl.create(DevMIDletSuiteImpl.java:148)
at com.sun.midp.dev.DevMIDletSuiteImpl.create(DevMIDletSuiteImpl.java:91)
at com.sun.midp.main.Main.runLocalClass(Main.java:453)
at com.sun.midp.main.Main.main(Main.java:126)
Execution completed.
What do you think why?
What can I do?
(If I use the separeted wtk (installed to an other place) it works.)
Thanks,
Gabor Tarjan
tarjangz@dpg.hu