Hi there!
Just running the OpenGL examples Jim Brown made on my Acer Iconia A200 Tablet and I keep getting really random errors thrown back at me at completely random times. Im running his latest Nehe implementation what includes texture mapping.
The bizarre thing is - when I run them on the emulator I get zero errors and everything runs smooth.
-------------------
The main error I get that reoccurs is
LogCat connected to: A7070434480A1D7
--------- beginning of /dev/log/main
--------- beginning of /dev/log/system
** Service (widgetservice) Create **
** Service (widgetservice) Start **
** Service (widgetservice) Start **
** Service (widgetservice) Start **
image in cache
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
main_timer1_tick (B4A line: 68)
End Sub
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
at anywheresoftware.b4a.debug.Debug.PopSubsStack(Debug.java:158)
at basic.android.NeheDemo.main._timer1_tick(main.java:1164)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:491)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:136)
at anywheresoftware.b4a.objects.Timer$TickTack.run(Timer.java:103)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:132)
at android.app.ActivityThread.main(ActivityThread.java:4126)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:491)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:844)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
at dalvik.system.NativeStart.main(Native Method)
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
Only I cannot see where I would be trying to cast a string into an integer (maybe its because im a noob).
I also occasionally get the error stating that my rendering thread is trying to change something on the GUI thread.
Im really enjoying the OPENGL side of things and want to learn more, but am wondering if its pointless if theres something wrong with the library or if its just something retarded with Acer Iconia Tabs.
Thank You!
Just running the OpenGL examples Jim Brown made on my Acer Iconia A200 Tablet and I keep getting really random errors thrown back at me at completely random times. Im running his latest Nehe implementation what includes texture mapping.
The bizarre thing is - when I run them on the emulator I get zero errors and everything runs smooth.
-------------------
The main error I get that reoccurs is
LogCat connected to: A7070434480A1D7
--------- beginning of /dev/log/main
--------- beginning of /dev/log/system
** Service (widgetservice) Create **
** Service (widgetservice) Start **
** Service (widgetservice) Start **
** Service (widgetservice) Start **
image in cache
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
main_timer1_tick (B4A line: 68)
End Sub
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
at anywheresoftware.b4a.debug.Debug.PopSubsStack(Debug.java:158)
at basic.android.NeheDemo.main._timer1_tick(main.java:1164)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:491)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:136)
at anywheresoftware.b4a.objects.Timer$TickTack.run(Timer.java:103)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:132)
at android.app.ActivityThread.main(ActivityThread.java:4126)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:491)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:844)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
at dalvik.system.NativeStart.main(Native Method)
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
Only I cannot see where I would be trying to cast a string into an integer (maybe its because im a noob).
I also occasionally get the error stating that my rendering thread is trying to change something on the GUI thread.
Im really enjoying the OPENGL side of things and want to learn more, but am wondering if its pointless if theres something wrong with the library or if its just something retarded with Acer Iconia Tabs.
Thank You!