B4A version: v8.0
Library: xCustomListView v.71
Device OS: Android 2.3
When execute the app, the error 1 ocurred. Because of this, I download of source of library for debugging:
Using the library this error have ocurred on the line 55 of file: 'PesquisaResultadoActivity'.
Then, I download source of library for debugging:
Step for reproducing error:
1) To execute the app
2) The app is showed, click on button "Buscar Cep do Endereço".
3) On the file 'CustomListView', Create a breakpoint in the line 226.
4) On the app, click on button in "Buscar Cep".
5) Wait on app searching the "cep" (cep means zip code in English)
6) After of execute, the ide stopped on the line 226. To "step in" on this line, and next, the next line 227.
7) The line 227 is the problem, hover the mouse, on the identifiers: "p.Color", this error is exhibited.
8) If I not hover the mouse on the identifiers, this errors is exhibited in the a few lines next.
Error 1:
<!>anywheresoftware.b4a.BA 577<!> ~i:*** Service (starter) Create ***
<!>anywheresoftware.b4a.BA 577<!> ~i:** Service (starter) Start **
<!>anywheresoftware.b4a.BA 577<!> Service_Start
<!>anywheresoftware.b4a.BA 577<!> ~i:** Activity (main) Create, isFirst = true **
<!>anywheresoftware.b4a.BA 577<!> ~i:** Activity (main) Resume **
<!>anywheresoftware.b4a.BA 577<!> ~i:** Activity (main) Resume **
<!>anywheresoftware.b4a.BA 577<!> ~i:** Activity (main) Pause, UserClosed = false **
<!>anywheresoftware.b4a.BA 577<!> ~i:** Activity (cepdoendereco) Create, isFirst = true **
<!>anywheresoftware.b4a.BA 577<!> ~i:** Activity (cepdoendereco) Resume **
<!>anywheresoftware.b4a.BA 577<!> ~i:*** Service (httputils2service) Create ***
<!>anywheresoftware.b4a.BA 577<!> ~i:** Service (httputils2service) Start **
<!>anywheresoftware.b4a.BA 577<!> ~i:** Activity (cepdoendereco) Pause, UserClosed = false **
<!>anywheresoftware.b4a.BA 577<!> ~i:** Activity (pesquisaresultadoactivity) Create, isFirst = true **
<!>anywheresoftware.b4a.BA 577<!> ~e:java.lang.NoSuchMethodError: android.graphics.drawable.ColorDrawable.getColor
at anywheresoftware.b4a.objects.B4XViewWrapper.getColor(B4XViewWrapper.java:301)
at b4a.example3.customlistview._insertatimpl(customlistview.java:582)
at b4a.example3.customlistview._insertat(customlistview.java:535)
at b4a.example3.customlistview._add(customlistview.java:71)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at anywheresoftware.b4a.shell.Shell.runVoidMethod(Shell.java:755)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:345)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:249)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:139)
at b4a.example.pesquisaresultadoactivity.afterFirstLayout(pesquisaresultadoactivity.java:104)
at b4a.example.pesquisaresultadoactivity.access$000(pesquisaresultadoactivity.java:17)
at b4a.example.pesquisaresultadoactivity$WaitForLayout.run(pesquisaresultadoactivity.java:82)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3737)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:902)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:660)
at dalvik.system.NativeStart.main(Native Method)
<!>anywheresoftware.b4a.BA 577<!> ~i:** Activity (pesquisaresultadoactivity) Resume **
<!>anywheresoftware.b4a.BA 577<!> ~e:An error occurred:
(Line: 39) Dim objpn As B4XView
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
Library: xCustomListView v.71
Device OS: Android 2.3
When execute the app, the error 1 ocurred. Because of this, I download of source of library for debugging:
Using the library this error have ocurred on the line 55 of file: 'PesquisaResultadoActivity'.
Then, I download source of library for debugging:
Step for reproducing error:
1) To execute the app
2) The app is showed, click on button "Buscar Cep do Endereço".
3) On the file 'CustomListView', Create a breakpoint in the line 226.
4) On the app, click on button in "Buscar Cep".
5) Wait on app searching the "cep" (cep means zip code in English)
6) After of execute, the ide stopped on the line 226. To "step in" on this line, and next, the next line 227.
7) The line 227 is the problem, hover the mouse, on the identifiers: "p.Color", this error is exhibited.
8) If I not hover the mouse on the identifiers, this errors is exhibited in the a few lines next.
Error 1:
<!>anywheresoftware.b4a.BA 577<!> ~i:*** Service (starter) Create ***
<!>anywheresoftware.b4a.BA 577<!> ~i:** Service (starter) Start **
<!>anywheresoftware.b4a.BA 577<!> Service_Start
<!>anywheresoftware.b4a.BA 577<!> ~i:** Activity (main) Create, isFirst = true **
<!>anywheresoftware.b4a.BA 577<!> ~i:** Activity (main) Resume **
<!>anywheresoftware.b4a.BA 577<!> ~i:** Activity (main) Resume **
<!>anywheresoftware.b4a.BA 577<!> ~i:** Activity (main) Pause, UserClosed = false **
<!>anywheresoftware.b4a.BA 577<!> ~i:** Activity (cepdoendereco) Create, isFirst = true **
<!>anywheresoftware.b4a.BA 577<!> ~i:** Activity (cepdoendereco) Resume **
<!>anywheresoftware.b4a.BA 577<!> ~i:*** Service (httputils2service) Create ***
<!>anywheresoftware.b4a.BA 577<!> ~i:** Service (httputils2service) Start **
<!>anywheresoftware.b4a.BA 577<!> ~i:** Activity (cepdoendereco) Pause, UserClosed = false **
<!>anywheresoftware.b4a.BA 577<!> ~i:** Activity (pesquisaresultadoactivity) Create, isFirst = true **
<!>anywheresoftware.b4a.BA 577<!> ~e:java.lang.NoSuchMethodError: android.graphics.drawable.ColorDrawable.getColor
at anywheresoftware.b4a.objects.B4XViewWrapper.getColor(B4XViewWrapper.java:301)
at b4a.example3.customlistview._insertatimpl(customlistview.java:582)
at b4a.example3.customlistview._insertat(customlistview.java:535)
at b4a.example3.customlistview._add(customlistview.java:71)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at anywheresoftware.b4a.shell.Shell.runVoidMethod(Shell.java:755)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:345)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:249)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:139)
at b4a.example.pesquisaresultadoactivity.afterFirstLayout(pesquisaresultadoactivity.java:104)
at b4a.example.pesquisaresultadoactivity.access$000(pesquisaresultadoactivity.java:17)
at b4a.example.pesquisaresultadoactivity$WaitForLayout.run(pesquisaresultadoactivity.java:82)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3737)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:902)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:660)
at dalvik.system.NativeStart.main(Native Method)
<!>anywheresoftware.b4a.BA 577<!> ~i:** Activity (pesquisaresultadoactivity) Resume **
<!>anywheresoftware.b4a.BA 577<!> ~e:An error occurred:
(Line: 39) Dim objpn As B4XView
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean