Hello,

I've run
into a similar problem that somebody has reported in April to the list.

My task is to deal with a USB prototype using an OSGi framework (like Oscar,
Knopflerfish).
I use the javax-usb 0.10.2, javax-usb-ri 0.10.2 and javax-usb-ri-linux 0.10.5
packages.

See below the exception. Any help appreciated...
This occurs SOMETIMES when I DISCONNECT the device from cable. My program
first traverses the USB tree to find all devices, then listens and handles
events, delivered by a UsbServicesListener.

Thank you.

Kind regards-------------Szabolcs



Exception in thread "javax.usb Linux implementation Topology Poller" [stderr]
java.lang.NullPointerException
[stderr]        at
org.knopflerfish.framework.BundleClassLoader.loadOwnClass(BundleClassLoader.java
:291)
[stderr]        at
org.knopflerfish.framework.BundleClassLoader.findClass(BundleClassLoader.java:13
6)
[stderr]        at
org.knopflerfish.framework.BundleClassLoader.loadClass(BundleClassLoader.java:22
4)
[stderr]        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
[stderr]        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
[stderr]        at com.ibm.jusb.UsbDeviceImp.disconnect(UsbDeviceImp.java:344)
[stderr]        at
com.ibm.jusb.os.linux.LinuxUsbServices.updateTopology(LinuxUsbServices.java:200)
[stderr]        at
com.ibm.jusb.os.linux.LinuxUsbServices.access$000(LinuxUsbServices.java:26)
[stderr]        at
com.ibm.jusb.os.linux.LinuxUsbServices$1.run(LinuxUsbServices.java:120)
[stderr]        at java.lang.Thread.run(Thread.java:595)


PS.:
Enabling the line

com.ibm.jusb.os.linux.LinuxUsbServices.trace_data = true

in javax.usb.properties won't list more messages than before, what do I wrong?




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
javax-usb-devel mailing list
javax-usb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Reply via email to