java.lang.IllegalArgumentException: Unable to convert org.appcelerator.kroll.KrollProxy$1 to boolean.

Apereo Issues | Jeff Cross | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    When the android device rotates, it force closes with this stack trace: 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): (main) [18,86447] Sending event: exception on thread: main msg:java.lang.IllegalArgumentException: Unable to convert org.appcelerator.kroll.KrollProxy$1 to boolean.; Titanium 1.6.2,2011/04/18 17:16,78906d 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): java.lang.IllegalArgumentException: Unable to convert org.appcelerator.kroll.KrollProxy$1 to boolean. 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at org.appcelerator.titanium.util.TiConvert.toBoolean(TiConvert.java:238) 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at org.appcelerator.titanium.view.TiUIView.propertyChanged(TiUIView.java:342) 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at org.appcelerator.kroll.KrollPropertyChange.fireEvent(KrollPropertyChange.java:21) 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:454) 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:269) 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at android.os.Handler.dispatchMessage(Handler.java:95) 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at android.os.Looper.loop(Looper.java:123) 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at android.app.ActivityThread.main(ActivityThread.java:3835) 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at java.lang.reflect.Method.invokeNative(Native Method) 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at java.lang.reflect.Method.invoke(Method.java:507) 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841) 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599) 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at dalvik.system.NativeStart.main(Native Method) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): FATAL EXCEPTION: main 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): java.lang.IllegalArgumentException: Unable to convert org.appcelerator.kroll.KrollProxy$1 to boolean. 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at org.appcelerator.titanium.util.TiConvert.toBoolean(TiConvert.java:238) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at org.appcelerator.titanium.view.TiUIView.propertyChanged(TiUIView.java:342) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at org.appcelerator.kroll.KrollPropertyChange.fireEvent(KrollPropertyChange.java:21) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:454) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:269) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at android.os.Handler.dispatchMessage(Handler.java:95) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at android.os.Looper.loop(Looper.java:123) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at android.app.ActivityThread.main(ActivityThread.java:3835) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at java.lang.reflect.Method.invokeNative(Native Method) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at java.lang.reflect.Method.invoke(Method.java:507) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at dalvik.system.NativeStart.main(Native Method)

    Apereo Issues | 6 years ago | Jeff Cross
    java.lang.IllegalArgumentException: Unable to convert org.appcelerator.kroll.KrollProxy$1 to boolean.
  2. 0

    When the android device rotates, it force closes with this stack trace: 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): (main) [18,86447] Sending event: exception on thread: main msg:java.lang.IllegalArgumentException: Unable to convert org.appcelerator.kroll.KrollProxy$1 to boolean.; Titanium 1.6.2,2011/04/18 17:16,78906d 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): java.lang.IllegalArgumentException: Unable to convert org.appcelerator.kroll.KrollProxy$1 to boolean. 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at org.appcelerator.titanium.util.TiConvert.toBoolean(TiConvert.java:238) 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at org.appcelerator.titanium.view.TiUIView.propertyChanged(TiUIView.java:342) 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at org.appcelerator.kroll.KrollPropertyChange.fireEvent(KrollPropertyChange.java:21) 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:454) 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:269) 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at android.os.Handler.dispatchMessage(Handler.java:95) 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at android.os.Looper.loop(Looper.java:123) 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at android.app.ActivityThread.main(ActivityThread.java:3835) 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at java.lang.reflect.Method.invokeNative(Native Method) 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at java.lang.reflect.Method.invoke(Method.java:507) 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841) 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599) 07-25 14:16:38.536: ERROR/TiUncaughtHandler(1241): at dalvik.system.NativeStart.main(Native Method) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): FATAL EXCEPTION: main 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): java.lang.IllegalArgumentException: Unable to convert org.appcelerator.kroll.KrollProxy$1 to boolean. 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at org.appcelerator.titanium.util.TiConvert.toBoolean(TiConvert.java:238) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at org.appcelerator.titanium.view.TiUIView.propertyChanged(TiUIView.java:342) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at org.appcelerator.kroll.KrollPropertyChange.fireEvent(KrollPropertyChange.java:21) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:454) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:269) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at android.os.Handler.dispatchMessage(Handler.java:95) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at android.os.Looper.loop(Looper.java:123) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at android.app.ActivityThread.main(ActivityThread.java:3835) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at java.lang.reflect.Method.invokeNative(Native Method) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at java.lang.reflect.Method.invoke(Method.java:507) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599) 07-25 14:16:38.556: ERROR/AndroidRuntime(1241): at dalvik.system.NativeStart.main(Native Method)

    Apereo Issues | 6 years ago | Jeff Cross
    java.lang.IllegalArgumentException: Unable to convert org.appcelerator.kroll.KrollProxy$1 to boolean.
  3. 0

    【原创】【ViewFlow+GridView】Parameter must be a descendant of this view问题分析 - 陌上幽人 - 博客园

    cnblogs.com | 2 years ago
    java.lang.IllegalArgumentException: parameter must be a descendant of at android.view.ViewGroup.offsetRectBetweenParentAndChild(ViewGroup.java:4295 at android.view.ViewGroup.offsetDescendantRectToMyCoords(ViewGroup.java:4232 at android.view.ViewRootImpl.scrollToRectOrFocus(ViewRootImpl.java:2440 at android.view.ViewRootImpl.draw(ViewRootImpl.java:2096 at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2045 at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1854 at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:989 at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4351 at android.view.Choreographer$CallbackRecord.run(Choreographer.java:749 at android.view.Choreographer.doCallbacks(Choreographer.java:562 at android.view.Choreographer.doFrame(Choreographer.java:532 at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735 at android.os.Handler.handleCallback(Handler.java:725 at android.os.Handler.dispatchMessage(Handler.java:92 at android.os.Looper.loop(Looper.java:137 at android.app.ActivityThread.main(ActivityThread.java:5041 at java.lang.reflect.Method.invoke(Method.java:511 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android 错误集锦ing... - 为程序员服务

    outofmemory.cn | 2 months ago
    java.lang.IllegalArgumentException: Receiver not registered: android.widget.ZoomButtonsController$1@2b992778 ......

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Unable to convert org.appcelerator.kroll.KrollProxy$1 to boolean.

      at org.appcelerator.titanium.util.TiConvert.toBoolean()
    2. org.appcelerator.titanium
      TiUIView.propertyChanged
      1. org.appcelerator.titanium.util.TiConvert.toBoolean(TiConvert.java:238)
      2. org.appcelerator.titanium.view.TiUIView.propertyChanged(TiUIView.java:342)
      2 frames
    3. org.appcelerator.kroll
      KrollProxy.handleMessage
      1. org.appcelerator.kroll.KrollPropertyChange.fireEvent(KrollPropertyChange.java:21)
      2. org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:454)
      2 frames
    4. org.appcelerator.titanium
      TiViewProxy.handleMessage
      1. org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:269)
      1 frame
    5. Android Platform
      ActivityThread.main
      1. android.os.Handler.dispatchMessage(Handler.java:95)
      2. android.os.Looper.loop(Looper.java:123)
      3. android.app.ActivityThread.main(ActivityThread.java:3835)
      3 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:507)
      2 frames
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
      2 frames
    8. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame