FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

emulator not appear

 
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users
View previous topic :: View next topic  
Author Message
samhong



Joined: 22 Jun 2009
Posts: 5

PostPosted: Tue Jun 23, 2009 5:52 pm    Post subject: emulator not appear Reply with quote

i got this after pressing run. But the emulator din appear. i Had choose Toolkit 2.5.2 for CLDC for the platform but it still not working.
And i try to turn off my firewall, it still the same. wondering what is the problem. any help pls??


pre-init:
pre-load-properties:
exists.config.active:
exists.netbeans.user:
exists.user.properties.file:
load-properties:
exists.platform.active:
exists.platform.configuration:
exists.platform.profile:
basic-init:
cldc-pre-init:
cldc-init:
cdc-init:
ricoh-pre-init:
ricoh-init:
semc-pre-init:
semc-init:
savaje-pre-init:
savaje-init:
sjmc-pre-init:
sjmc-init:
nokiaS80-pre-init:
nokiaS80-init:
nsicom-pre-init:
nsicom-init:
bdj-init:
post-init:
init:
conditional-clean-init:
conditional-clean:
deps-jar:
pre-preprocess:
do-preprocess:
Pre-processing 0 file(s) into C:\Users\sam chuah\Documents\NetBeansProjects\FYP\build\DefaultColorPhone\preprocessed directory.
post-preprocess:
preprocess:
pre-compile:
extract-libs:
do-compile:
post-compile:
compile:
pre-obfuscate:
proguard-init:
skip-obfuscation:
proguard:
post-obfuscate:
obfuscate:
pre-preverify:
do-preverify:
post-preverify:
preverify:
pre-jar:
set-password-init:
set-keystore-password:
set-alias-password:
set-password:
create-jad:
add-configuration:
add-profile:
do-extra-libs:
nokiaS80-prepare-j9:
nokiaS80-prepare-manifest:
nokiaS80-prepare-manifest-no-icon:
nokiaS80-create-manifest:
semc-build-j9:
do-jar:
nsicom-create-manifest:
do-jar-no-manifest:
bdj-build-image:
update-jad:
Updating application descriptor: C:\Users\sam chuah\Documents\NetBeansProjects\FYP\dist\DefaultColorPhone\FYP.jad
Application descriptor does not declare any MIDlet. Direct execution is not allowed.
Generated "C:\Users\sam chuah\Documents\NetBeansProjects\FYP\dist\DefaultColorPhone\FYP.jar" is 2976 bytes.
ricoh-init-dalp:
ricoh-add-app-icon:
ricoh-build-dalp-with-icon:
ricoh-build-dalp-without-icon:
ricoh-build-dalp:
savaje-prepare-icon:
savaje-build-jnlp:
post-jar:
jar:
pre-run:
cldc-run:
Copying 1 file to C:\Users\sam chuah\Documents\NetBeansProjects\FYP\dist\DefaultColorPhone\nbrun4356817839408767310
Copying 1 file to C:\Users\sam chuah\Documents\NetBeansProjects\FYP\dist\DefaultColorPhone\nbrun4356817839408767310
Jad URL for OTA execution: http://localhost:8082/servlet/org.netbeans.modules.mobility.project.jam.JAMServlet/C%3A/Users/sam+chuah/Documents/NetBeansProjects/FYP/dist/DefaultColorPhone/FYP.jad
Starting emulator in execution mode
com.sun.kvem.midletsuite.InvalidJadException: Reason = 22
The manifest or the application descriptor MUST contain the attribute: MIDlet-1
ricoh-run:
semc-icon-assembly:
semc-ppro-emulator:
semc-do-run:
semc-run:
savaje-run:
sjmc-run:
nokiaS80-run:
nsicom-run:
bdj-run:
run:
BUILD SUCCESSFUL (total time: 0 seconds)
Back to top
View user's profile Send private message
tylerdurden45



Joined: 03 Apr 2009
Posts: 15

PostPosted: Thu Jun 25, 2009 6:19 am    Post subject: emulator not appear Reply with quote

goto project properties, application descriptor, select MIDlets tab and add you MIDlet class that window

2009/6/23 samhong <address-removed ([email]address-removed[/email])>
Quote:
i got this after pressing run. But the emulator din appear. i Had choose Toolkit 2.5.2 for CLDC for the platform but it still not working.

And i try to turn off my firewall, it still the same. wondering what is the problem. any help pls??





pre-init:

pre-load-properties:

exists.config.active:

exists.netbeans.user:

exists.user.properties.file:

load-properties:

exists.platform.active:

exists.platform.configuration:

exists.platform.profile:

basic-init:

cldc-pre-init:

cldc-init:

cdc-init:

ricoh-pre-init:

ricoh-init:

semc-pre-init:

semc-init:

savaje-pre-init:

savaje-init:

sjmc-pre-init:

sjmc-init:

nokiaS80-pre-init:

nokiaS80-init:

nsicom-pre-init:

nsicom-init:

bdj-init:

post-init:

init:

conditional-clean-init:

conditional-clean:

deps-jar:

pre-preprocess:

do-preprocess:

Pre-processing 0 file(s) into C:\Users\sam chuah\Documents\NetBeansProjects\FYP\build\DefaultColorPhone\preprocessed directory.

post-preprocess:

preprocess:

pre-compile:

extract-libs:

do-compile:

post-compile:

compile:

pre-obfuscate:

proguard-init:

skip-obfuscation:

proguard:

post-obfuscate:

obfuscate:

pre-preverify:

do-preverify:

post-preverify:

preverify:

pre-jar:

set-password-init:

set-keystore-password:

set-alias-password:

set-password:

create-jad:

add-configuration:

add-profile:

do-extra-libs:

nokiaS80-prepare-j9:

nokiaS80-prepare-manifest:

nokiaS80-prepare-manifest-no-icon:

nokiaS80-create-manifest:

semc-build-j9:

do-jar:

nsicom-create-manifest:

do-jar-no-manifest:

bdj-build-image:

update-jad:

Updating application descriptor: C:\Users\sam chuah\Documents\NetBeansProjects\FYP\dist\DefaultColorPhone\FYP.jad

Application descriptor does not declare any MIDlet. Direct execution is not allowed.

Generated "C:\Users\sam chuah\Documents\NetBeansProjects\FYP\dist\DefaultColorPhone\FYP.jar" is 2976 bytes.

ricoh-init-dalp:

ricoh-add-app-icon:

ricoh-build-dalp-with-icon:

ricoh-build-dalp-without-icon:

ricoh-build-dalp:

savaje-prepare-icon:

savaje-build-jnlp:

post-jar:

jar:

pre-run:

cldc-run:

Copying 1 file to C:\Users\sam chuah\Documents\NetBeansProjects\FYP\dist\DefaultColorPhone\nbrun4356817839408767310

Copying 1 file to C:\Users\sam chuah\Documents\NetBeansProjects\FYP\dist\DefaultColorPhone\nbrun4356817839408767310

Jad URL for OTA execution: http://localhost:8082/servlet/org.netbeans.modules.mobility.project.jam.JAMServlet/C%3A/Users/sam+chuah/Documents/NetBeansProjects/FYP/dist/DefaultColorPhone/FYP.jad

Starting emulator in execution mode

com.sun.kvem.midletsuite.InvalidJadException: Reason = 22

The manifest or the application descriptor MUST contain the attribute: MIDlet-1

ricoh-run:

semc-icon-assembly:

semc-ppro-emulator:

semc-do-run:

semc-run:

savaje-run:

sjmc-run:

nokiaS80-run:

nsicom-run:

bdj-run:

run:

BUILD SUCCESSFUL (total time: 0 seconds)






([email]address-removed[/email])
([email]address-removed[/email])




--
------
Eray
Back to top
View user's profile Send private message
samhong



Joined: 22 Jun 2009
Posts: 5

PostPosted: Thu Jun 25, 2009 7:02 am    Post subject: still not workin Reply with quote

i had tried that....but the emulator still not appear....any other solution???
Back to top
View user's profile Send private message
tylerdurden45



Joined: 03 Apr 2009
Posts: 15

PostPosted: Fri Jun 26, 2009 1:22 pm    Post subject: emulator not appear Reply with quote

your mid file can have spaces before of file or end of the file and

com.sun.kvem.midletsuite.
InvalidJadException: Reason = 22

The manifest or the application descriptor MUST contain the attribute: MIDlet-1

as above console check the MIDlet-1  is your class name of MIDlet. They are must be same.

if you cannot, create project from starting copy the sources to new project.



2009/6/25 samhong <address-removed ([email]address-removed[/email])>
Quote:
i had tried that....but the emulator still not appear....any other solution???







([email]address-removed[/email])
([email]address-removed[/email])






--
------
Eray
Back to top
View user's profile Send private message
Petr Suchomel
Posted via mailing list.





PostPosted: Fri Jun 26, 2009 1:25 pm    Post subject: emulator not appear Reply with quote

Add the MIDlet to suite using project customizer - this is issue in 6.5
fixed in 6.7
--Petr

Eray Ince wrote:
Quote:
your mid file can have spaces before of file or end of the file and
*
com.sun.kvem.midletsuite.*
*InvalidJadException: Reason = 22

The manifest or the application descriptor MUST contain the attribute:
MIDlet-1

*as above console check the MIDlet-1 is your class name of MIDlet.
They are must be same.

if you cannot, create project from starting copy the sources to new
project.


2009/6/25 samhong <address-removed
<mailto:address-removed>>

i had tried that....but the emulator still not appear....any other
solution???







<mailto:address-removed>

<mailto:address-removed>




--
------
Eray


--
Petr Suchomel <address-removed>
Sun Microsystems, Inc.
Phone +420 2 33009234 (x49234), Fax +420 2 33009311
Back to top
shche123



Joined: 19 May 2009
Posts: 41

PostPosted: Sat Jun 27, 2009 1:57 am    Post subject: Reply with quote

See if the MIDlets tab of the 'Application Descriptor' in the project properties lists all your MIDlets correctly. If they do, try to add a space to Icon blank entry and save...
Back to top
View user's profile Send private message
shche123



Joined: 19 May 2009
Posts: 41

PostPosted: Sat Jun 27, 2009 2:13 am    Post subject: Reply with quote

Also double check all your Manifest.mf and JAD Required Attributes...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB