Hi All,
this error was already mentioned in this forum, but I didn't find any solution for me.
I need use debug mode, so that isn't good for me, that 'in release mode there is no error'
I use b4a 9.80, and this error happen in emulator and real device too, as Erel said because in debug mode the engine runs in pc.
THIS ERROR HAPPEN ONLY IF MY EDITTEXT FIELD IS B4XVIEW!!
So why happen error, if I have the textchanged sub?
this error was already mentioned in this forum, but I didn't find any solution for me.
I need use debug mode, so that isn't good for me, that 'in release mode there is no error'
I use b4a 9.80, and this error happen in emulator and real device too, as Erel said because in debug mode the engine runs in pc.
THIS ERROR HAPPEN ONLY IF MY EDITTEXT FIELD IS B4XVIEW!!
So why happen error, if I have the textchanged sub?
B4X:
...
Private txtsfilter As B4XView
...
Sub txtsfilter_textchanged (Old As String, New As String)
'If New.Length = 1 Or txtsfilter.Text.Length = 2 Or Old.Length = 2 Then Return
CLVItemList.sv.Visible = False 'Added because of the divider line flashing its full background color
' Wait For (FilterSearch(New)) Complete (Completed As Boolean)
' CLVItemList.sv.Visible = True
FilterSearch(New)
End Sub
B4X:
Unexpected event (missing RaiseSynchronousEvents): txtsfilter_textchanged
Check the unfiltered logs for the full stack trace.
Error occurred on line: 72 (TorzsekPartnerLista)
java.lang.NullPointerException
at com.lszamla.torzsekpartnerlista._txtsfilter_textchanged(torzsekpartnerlista.java:753)
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:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:348)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at anywheresoftware.b4a.shell.Shell$2.run(Shell.java:321)
at android.os.Handler.handleCallback(Handler.java:808)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5323)
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:825)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:641)
at dalvik.system.NativeStart.main(Native Method)