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 
  

quickstart example - Device or resource busy

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



Joined: 26 Aug 2009
Posts: 3

PostPosted: Thu Aug 27, 2009 1:04 am    Post subject: quickstart example - Device or resource busy Reply with quote

Hi,

I installed netbeans 6.7.1 and tried to use an example from (http://www.netbeans.org/kb/docs/javame/quickstart.html) but a problem appears on output window when i started to run main project:

Running the create-domain subcommand
java.lang.NoClassDefFoundError: com.sun.org.apache.xerces.internal.parsers.DOMParser

and the Hello(run) tab:

...
Copying 1 file to /home/perrone/NetBeansProjects/MyHello/dist/nbrun2902504539514545142
Copying 1 file to /home/perrone/NetBeansProjects/MyHello/dist/nbrun2902504539514545142
Jad URL for OTA execution: http://localhost:8082/servlet/org.netbeans.modules.mobility.project.jam.JAMServlet//home/perrone/NetBeansProjects/MyHello/dist//MyHello.jad
Starting emulator in execution mode
Running with storage root /home/perrone/j2mewtk/2.5.2/appdb/temp.DefaultColorPhone22
Running with locale: en_US.UTF-8
/dev/dsp: Device or resource busy
java.lang.IllegalArgumentException: width<=0 height<=0
at java.awt.image.SampleModel.<init>(libgcj.so.90)
at java.awt.image.SinglePixelPackedSampleModel.<init>(libgcj.so.90)
at java.awt.image.SinglePixelPackedSampleModel.<init>(libgcj.so.90)
at java.awt.image.BufferedImage.<init>(libgcj.so.90)
at com.sun.kvem.midp.GraphicsBridge.loadIcon(Unknown Source)
at java.lang.reflect.Method.invoke(libgcj.so.90)
at com.sun.kvem.sublime.MethodExecution.process(Unknown Source)
at com.sun.kvem.sublime.SublimeExecutor.processRequest(Unknown Source)
Running in the identified_third_party security domain
received signal SIGSEGV
...
BUILD SUCCESSFUL (total time: 3 seconds)


Does anybody know how to solve this?

Thanks a lot
Ricardo
Back to top
View user's profile Send private message
Karol Harezlak
Posted via mailing list.





PostPosted: Thu Aug 27, 2009 8:41 am    Post subject: quickstart example - Device or resource busy Reply with quote

I'm understand that you use Linux. What version of Linux do you use?

K.

perrone wrote:
Quote:
Hi,



I installed netbeans 6.7.1 and tried to use an example from (http://www.netbeans.org/kb/docs/javame/quickstart.html) but a problem appears on output window when i started to run main project:



Running the create-domain subcommand

java.lang.NoClassDefFoundError: com.sun.org.apache.xerces.internal.parsers.DOMParser



and the Hello(run) tab:



...

Copying 1 file to /home/perrone/NetBeansProjects/MyHello/dist/nbrun2902504539514545142

Copying 1 file to /home/perrone/NetBeansProjects/MyHello/dist/nbrun2902504539514545142

Jad URL for OTA execution: http://localhost:8082/servlet/org.netbeans.modules.mobility.project.jam.JAMServlet//home/perrone/NetBeansProjects/MyHello/dist//MyHello.jad

Starting emulator in execution mode

Running with storage root /home/perrone/j2mewtk/2.5.2/appdb/temp.DefaultColorPhone22

Running with locale: en_US.UTF-8

/dev/dsp: Device or resource busy

java.lang.IllegalArgumentException: width<=0 height<=0

at java.awt.image.SampleModel.<init>(libgcj.so.90)

at java.awt.image.SinglePixelPackedSampleModel.<init>(libgcj.so.90)

at java.awt.image.SinglePixelPackedSampleModel.<init>(libgcj.so.90)

at java.awt.image.BufferedImage.<init>(libgcj.so.90)

at com.sun.kvem.midp.GraphicsBridge.loadIcon(Unknown Source)

at java.lang.reflect.Method.invoke(libgcj.so.90)

at com.sun.kvem.sublime.MethodExecution.process(Unknown Source)

at com.sun.kvem.sublime.SublimeExecutor.processRequest(Unknown Source)

Running in the identified_third_party security domain

received signal SIGSEGV

...

BUILD SUCCESSFUL (total time: 3 seconds)





Does anybody know how to solve this?



Thanks a lot

Ricardo












--
Karol Harezlak <address-removed>
Sun Microsystems, Inc. NetBeans Mobilty/JavaFX
Back to top
perrone



Joined: 26 Aug 2009
Posts: 3

PostPosted: Thu Aug 27, 2009 5:30 pm    Post subject: Re: quickstart example - Device or resource busy Reply with quote

I am using Ubuntu 9.0.4 Kernel 2.6.28-15-generic

Ricardo
Back to top
View user's profile Send private message
Karol Harezlak
Posted via mailing list.





PostPosted: Fri Aug 28, 2009 7:24 am    Post subject: quickstart example - Device or resource busy Reply with quote

I don't remember any problems with Ubuntu I think there were few reports
about Fedora. Anyone else experienced any problems with Mobility using
Ubuntu 9?

K.

perrone wrote:
Quote:
I am using Ubuntu 9.0.4 Kernel 2.6.28-15-generic



Ricardo












--
Karol Harezlak <address-removed>
Sun Microsystems, Inc. NetBeans Mobilty/JavaFX
Back to top
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