We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi, i have been experimenting with the Ketai bluetooth library and tried to run the example program bluetoothcursors.pde but i keep getting the "application has stopped unexpectedly" error and the console indicates a null pointer exception error. The actual output is below:
FATAL EXCEPTION: Animation Thread
java.lang.NullPointerException
at ketai.net.bluetooth.KBluetoothListener.<init>(KBluetoothListener.java:56)
at ketai.net.bluetooth.KetaiBluetooth.start(KetaiBluetooth.java:207)
at processing.test.bluetoothcursors.BluetoothCursors.setup(BluetoothCursors.java:80)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PGraphicsAndroid2D.requestDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:1019)
How ever i cant seem to see where the null pointer exception is coming from. I have tried a process of elimination to try and isolate the cause but i get the same error but with slightly different source. I just assumed that since it was part of the examples for the library it would work so maybe the error is being created somewhere else.
I have set the correct bluetooth etc permissions and am using android version 2.0.3
Any help with this is much appreciated.
Cheers.
Answers
Anybody??