11 Mar 2010 marcioandreyoliveira   » (Journeyer)


Ao tentar rodar um aplicativo j2me que estou desenvolvendo aqui na empresa, ocorria o seguinte erro:

Connecting to 127.0.0.1 on port 2800
Waiting for KVM...
Waiting for debugger on port 2419
Connection received.
Running with storage root C:\Documents and Settings\moliveira\j2mewtk\2.5.2\appdb\DefaultColorPhone
Running with locale: Portuguese_Brazil.1252
Running in the manufacturer security domain
Connected to KVM
Incorrect domain name, switching to 'null'
java.lang.NullPointerException
    at java.util.Hashtable.get(+6)
    at com.sun.midp.security.Permissions.isValidDomainName(+26)
    at com.sun.midp.dev.DevMIDletSuiteImpl.create(+16)
    at com.sun.midp.dev.DevMIDletSuiteImpl.create(+74)
    at com.sun.midp.main.Main.runLocalClass(+20)
    at com.sun.midp.main.Main.main(+80)
Execution completed.
2798099 bytecodes executed
18 thread switches
1665 classes in the system (including system classes)
40932 dynamic objects allocated (2354324 bytes)
3 garbage collections (2138384 bytes collected)


Eu apaguei por engano todo o conteúdo da pasta appdb do Sun Java Wireless Toolkit 2.5.02_1 for CLDC e
com isso alguma configuração foi embora.

O modo mais rápido de resolver isso é: apague a pasta
C:\Documents and Settings\moliveira\j2mewtk
e execute o Wireless Toolkit. Ele recriará a pasta e os problemas sumirão.

Syndicated 2010-03-11 15:01:00 from Marcio Andrey Oliveira

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!