marcel Active Member Licensed User Longtime User Oct 3, 2013 #1 There is an error with the actionBar using the new Android4Basic V3 compiler. Error occurred on line: 37 (main) clsactionbarinnerInitialize (java line: 22) java.lang.IllegalArgumentException: invalid value for field at java.lang.reflect.Field.setField(Native Method) at java.lang.reflect.Field.set(Field.java:588) at anywheresoftware.b4a.shell.Shell.setField(Shell.java:409) at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:219) at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:170) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:93) at flm.b4a.actionbardemo.clsactionbar.innerInitialize(clsactionbar.java:22) at flm.b4a.actionbardemo.clsactionbar._initialize(clsactionbar.java:26) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:456) at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:207) at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:170) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:93) at flm.b4a.actionbardemo.main.afterFirstLayout(main.java:98) at flm.b4a.actionbardemo.main.access$100(main.java:16) at flm.b4a.actionbardemo.main$WaitForLayout.run(main.java:76) at android.os.Handler.handleCallback(Handler.java:615) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4921) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794) at dalvik.system.NativeStart.main(Native Method) Attachments ActionBar v1.42.zip ActionBar v1.42.zip 63.1 KB · Views: 414
There is an error with the actionBar using the new Android4Basic V3 compiler. Error occurred on line: 37 (main) clsactionbarinnerInitialize (java line: 22) java.lang.IllegalArgumentException: invalid value for field at java.lang.reflect.Field.setField(Native Method) at java.lang.reflect.Field.set(Field.java:588) at anywheresoftware.b4a.shell.Shell.setField(Shell.java:409) at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:219) at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:170) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:93) at flm.b4a.actionbardemo.clsactionbar.innerInitialize(clsactionbar.java:22) at flm.b4a.actionbardemo.clsactionbar._initialize(clsactionbar.java:26) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:456) at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:207) at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:170) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:93) at flm.b4a.actionbardemo.main.afterFirstLayout(main.java:98) at flm.b4a.actionbardemo.main.access$100(main.java:16) at flm.b4a.actionbardemo.main$WaitForLayout.run(main.java:76) at android.os.Handler.handleCallback(Handler.java:615) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4921) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794) at dalvik.system.NativeStart.main(Native Method)
JakeBullet70 Well-Known Member Licensed User Longtime User Oct 3, 2013 #3 Verified fixed in Beta 4, thx Erel. Upvote 0
marcel Active Member Licensed User Longtime User Oct 3, 2013 #4 Works perfectly!! Thanks, Erel! Upvote 0