opencv 2.4.5 null pointer exception on Android 4.2.2

asked 2013-07-03 11:17:45 -0500

agforte gravatar image

There seems to be a bug in opendCv for Android. Every once in a while I get a Null Pointer Exception in AsyncServiceHelper.java:318 Should I file this as a bug?

Here is the logcat:

07-03 12:09:37.704: W/dalvikvm(4747): threadid=1: thread exiting with uncaught exception (group=0x412a7ac8)
07-03 12:09:37.704: E/AndroidRuntime(4747): FATAL EXCEPTION: main
07-03 12:09:37.704: E/AndroidRuntime(4747): java.lang.NullPointerException
07-03 12:09:37.704: E/AndroidRuntime(4747):     at org.opencv.android.AsyncServiceHelper$1.onServiceConnected(AsyncServiceHelper.java:318)
07-03 12:09:37.704: E/AndroidRuntime(4747):     at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1101)
07-03 12:09:37.704: E/AndroidRuntime(4747):     at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1118)
07-03 12:09:37.704: E/AndroidRuntime(4747):     at android.os.Handler.handleCallback(Handler.java:725)
07-03 12:09:37.704: E/AndroidRuntime(4747):     at android.os.Handler.dispatchMessage(Handler.java:92)
07-03 12:09:37.704: E/AndroidRuntime(4747):     at android.os.Looper.loop(Looper.java:137)
07-03 12:09:37.704: E/AndroidRuntime(4747):     at android.app.ActivityThread.main(ActivityThread.java:5264)
07-03 12:09:37.704: E/AndroidRuntime(4747):     at java.lang.reflect.Method.invokeNative(Native Method)
07-03 12:09:37.704: E/AndroidRuntime(4747):     at java.lang.reflect.Method.invoke(Method.java:511)
07-03 12:09:37.704: E/AndroidRuntime(4747):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
07-03 12:09:37.704: E/AndroidRuntime(4747):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
07-03 12:09:37.704: E/AndroidRuntime(4747):     at dalvik.system.NativeStart.main(Native Method)
edit retag flag offensive close merge delete