Android Question Java error on cursor. rowcount

Alberto Michelis

Well-Known Member
Licensed User
Hi,
I dont know how to deal with this error.
I do a select, then verify the rowcount and then the java error, it can be seen in the atached image.
The weird thing is the line has nothing to do with the code, even the CustomListView is not called.
Help please...

Error occurred on line: 197 (CustomListView)
java.lang.NullPointerException
at armi.portit.mposicion._updatelist(mposicion.java:799)
at armi.portit.mposicion._activity_resume(mposicion.java:634)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:636)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:302)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:238)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:121)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:171)
at armi.portit.mposicion.afterFirstLayout(mposicion.java:106)
at armi.portit.mposicion.access$100(mposicion.java:17)
at armi.portit.mposicion$WaitForLayout.run(mposicion.java:78)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5692)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
at dalvik.system.NativeStart.main(Native Method)
 

Attachments

Alberto Michelis

Well-Known Member
Licensed User
3
I found the error but nothing to do with what the java error shows, it was in another module and another line.
Is this a bug?
 
Top