java.lang.ArrayIndexOutOfBoundsException

Appcelerator JIRA | Thomas Huelbert | 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

    NOtes: this crashes using 1.7.2 as well - so guessing the change was not in our sdk? I know this test worked when we shipped 1.7.2... 1. Mashups > Facebook 2. log in, then Publish stream > publish wall post with dialog 3. add some text and hit publish I/AudioHardwareALSA( 75): Output standby called!!. Turn off PCM device. D/OSNetworkSystem( 997): check_slot0_groups num = 3 D/OSNetworkSystem( 997): check_slot0_groups ret = 1 D/Facebook-WebView( 997): Webview loading URL: https://m.facebook.com/dialog/feed D/dalvikvm( 997): GC_CONCURRENT freed 2283K, 34% free 9251K/13895K, external 3316K/4141K, paused 2ms+6ms D/Facebook-WebView( 997): Redirect URL: fbconnect://success?post_id=1184659713_186103594793935#_ D/AndroidRuntime( 997): Shutting down VM W/dalvikvm( 997): threadid=1: thread exiting with uncaught exception (group=0x40015578) E/TiUncaughtHandler( 997): (main) [19174,10536539] Sending event: exception on thread: main msg:java.lang.ArrayIndexOutOfBoundsException; Titanium 1.8.0,2011/08/18 13:31,1fef34d E/TiUncaughtHandler( 997): java.lang.ArrayIndexOutOfBoundsException E/TiUncaughtHandler( 997): at com.facebook.android.Util.decodeUrl(Util.java:115) E/TiUncaughtHandler( 997): at com.facebook.android.Util.parseUrl(Util.java:134) E/TiUncaughtHandler( 997): at com.facebook.android.FbDialog$FbWebViewClient.shouldOverrideUrlLoading(FbDialog.java:152) E/TiUncaughtHandler( 997): at android.webkit.CallbackProxy.uiOverrideUrlLoading(CallbackProxy.java:227) E/TiUncaughtHandler( 997): at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:353) E/TiUncaughtHandler( 997): at android.os.Handler.dispatchMessage(Handler.java:99) E/TiUncaughtHandler( 997): at android.os.Looper.loop(Looper.java:130) E/TiUncaughtHandler( 997): at android.app.ActivityThread.main(ActivityThread.java:3687) E/TiUncaughtHandler( 997): at java.lang.reflect.Method.invokeNative(Native Method) E/TiUncaughtHandler( 997): at java.lang.reflect.Method.invoke(Method.java:507) E/TiUncaughtHandler( 997): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842) E/TiUncaughtHandler( 997): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600) E/TiUncaughtHandler( 997): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 997): FATAL EXCEPTION: main E/AndroidRuntime( 997): java.lang.ArrayIndexOutOfBoundsException E/AndroidRuntime( 997): at com.facebook.android.Util.decodeUrl(Util.java:115) E/AndroidRuntime( 997): at com.facebook.android.Util.parseUrl(Util.java:134) E/AndroidRuntime( 997): at com.facebook.android.FbDialog$FbWebViewClient.shouldOverrideUrlLoading(FbDialog.java:152) E/AndroidRuntime( 997): at android.webkit.CallbackProxy.uiOverrideUrlLoading(CallbackProxy.java:227) E/AndroidRuntime( 997): at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:353) E/AndroidRuntime( 997): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 997): at android.os.Looper.loop(Looper.java:130) E/AndroidRuntime( 997): at android.app.ActivityThread.main(ActivityThread.java:3687) E/AndroidRuntime( 997): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 997): at java.lang.reflect.Method.invoke(Method.java:507) E/AndroidRuntime( 997): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842) E/AndroidRuntime( 997): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600) E/AndroidRuntime( 997): at dalvik.system.NativeStart.main(Native Method) W/ActivityManager( 120): Force finishing activity com.appcelerator.titanium/org.appcelerator.titanium.TiActivity E/ ( 120): Dumpstate > /data/log/dumpstate_app_error I/dumpstate( 1964): begin W/ActivityManager( 120): Activity pause timeout for HistoryRecord{40a74240 com.appcelerator.titanium/org.appcelerator.titanium.TiActivity} D/VoldCmdListener( 67): asec list I/dumpstate( 1964): done I/InputReader( 120): dispatchTouch::touch event's action is 0 I/InputDispatcher( 120): Delivering touch to current input target: action: 0, channel '40bb39e0 Sorry! (server)' I/InputReader( 120): dispatchTouch::touch event's action is 1 I/InputDispatcher( 120): Delivering touch to current input target: action: 1, channel '40bb39e0 Sorry! (server)' I/Process ( 997): Sending signal. PID: 997 SIG: 9 I/ActivityManager( 120): Process com.appcelerator.titanium (pid 997) has died. I/WindowManager( 120): WIN DEATH: Window{40993a78 com.appcelerator.titanium/com.appcelerator.titanium.KitchensinkActivity paused=false} I/WindowManager( 120): WIN DEATH: Window{40a7c350 com.appcelerator.titanium/org.appcelerator.titanium.TiActivity paused=false} I/WindowManager( 120): WIN DEATH: Window{409baba0 com.appcelerator.titanium/ti.modules.titanium.ui.TiTabActivity paused=false} I/WindowManager( 120): WIN DEATH: Window{40a30008 com.appcelerator.titanium/org.appcelerator.titanium.TiActivity paused=false} I/WindowManager( 120): WIN DEATH: Window{40b7dbd0 com.appcelerator.titanium/org.appcelerator.titanium.TiActivity paused=false} I/WindowManager( 120): WIN DEATH: Window{40867830 com.appcelerator.titanium/org.appcelerator.titanium.TiActivity paused=false} I/ActivityManager( 120): Start proc com.appcelerator.titanium for activity com.appcelerator.titanium/ti.modules.titanium.ui.TiTabActivity: pid=1983 uid=10025 gids={1015, 1006, 3003}

    Appcelerator JIRA | 6 years ago | Thomas Huelbert
    java.lang.ArrayIndexOutOfBoundsException
  2. 0

    NOtes: this crashes using 1.7.2 as well - so guessing the change was not in our sdk? I know this test worked when we shipped 1.7.2... 1. Mashups > Facebook 2. log in, then Publish stream > publish wall post with dialog 3. add some text and hit publish I/AudioHardwareALSA( 75): Output standby called!!. Turn off PCM device. D/OSNetworkSystem( 997): check_slot0_groups num = 3 D/OSNetworkSystem( 997): check_slot0_groups ret = 1 D/Facebook-WebView( 997): Webview loading URL: https://m.facebook.com/dialog/feed D/dalvikvm( 997): GC_CONCURRENT freed 2283K, 34% free 9251K/13895K, external 3316K/4141K, paused 2ms+6ms D/Facebook-WebView( 997): Redirect URL: fbconnect://success?post_id=1184659713_186103594793935#_ D/AndroidRuntime( 997): Shutting down VM W/dalvikvm( 997): threadid=1: thread exiting with uncaught exception (group=0x40015578) E/TiUncaughtHandler( 997): (main) [19174,10536539] Sending event: exception on thread: main msg:java.lang.ArrayIndexOutOfBoundsException; Titanium 1.8.0,2011/08/18 13:31,1fef34d E/TiUncaughtHandler( 997): java.lang.ArrayIndexOutOfBoundsException E/TiUncaughtHandler( 997): at com.facebook.android.Util.decodeUrl(Util.java:115) E/TiUncaughtHandler( 997): at com.facebook.android.Util.parseUrl(Util.java:134) E/TiUncaughtHandler( 997): at com.facebook.android.FbDialog$FbWebViewClient.shouldOverrideUrlLoading(FbDialog.java:152) E/TiUncaughtHandler( 997): at android.webkit.CallbackProxy.uiOverrideUrlLoading(CallbackProxy.java:227) E/TiUncaughtHandler( 997): at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:353) E/TiUncaughtHandler( 997): at android.os.Handler.dispatchMessage(Handler.java:99) E/TiUncaughtHandler( 997): at android.os.Looper.loop(Looper.java:130) E/TiUncaughtHandler( 997): at android.app.ActivityThread.main(ActivityThread.java:3687) E/TiUncaughtHandler( 997): at java.lang.reflect.Method.invokeNative(Native Method) E/TiUncaughtHandler( 997): at java.lang.reflect.Method.invoke(Method.java:507) E/TiUncaughtHandler( 997): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842) E/TiUncaughtHandler( 997): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600) E/TiUncaughtHandler( 997): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 997): FATAL EXCEPTION: main E/AndroidRuntime( 997): java.lang.ArrayIndexOutOfBoundsException E/AndroidRuntime( 997): at com.facebook.android.Util.decodeUrl(Util.java:115) E/AndroidRuntime( 997): at com.facebook.android.Util.parseUrl(Util.java:134) E/AndroidRuntime( 997): at com.facebook.android.FbDialog$FbWebViewClient.shouldOverrideUrlLoading(FbDialog.java:152) E/AndroidRuntime( 997): at android.webkit.CallbackProxy.uiOverrideUrlLoading(CallbackProxy.java:227) E/AndroidRuntime( 997): at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:353) E/AndroidRuntime( 997): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 997): at android.os.Looper.loop(Looper.java:130) E/AndroidRuntime( 997): at android.app.ActivityThread.main(ActivityThread.java:3687) E/AndroidRuntime( 997): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 997): at java.lang.reflect.Method.invoke(Method.java:507) E/AndroidRuntime( 997): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842) E/AndroidRuntime( 997): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600) E/AndroidRuntime( 997): at dalvik.system.NativeStart.main(Native Method) W/ActivityManager( 120): Force finishing activity com.appcelerator.titanium/org.appcelerator.titanium.TiActivity E/ ( 120): Dumpstate > /data/log/dumpstate_app_error I/dumpstate( 1964): begin W/ActivityManager( 120): Activity pause timeout for HistoryRecord{40a74240 com.appcelerator.titanium/org.appcelerator.titanium.TiActivity} D/VoldCmdListener( 67): asec list I/dumpstate( 1964): done I/InputReader( 120): dispatchTouch::touch event's action is 0 I/InputDispatcher( 120): Delivering touch to current input target: action: 0, channel '40bb39e0 Sorry! (server)' I/InputReader( 120): dispatchTouch::touch event's action is 1 I/InputDispatcher( 120): Delivering touch to current input target: action: 1, channel '40bb39e0 Sorry! (server)' I/Process ( 997): Sending signal. PID: 997 SIG: 9 I/ActivityManager( 120): Process com.appcelerator.titanium (pid 997) has died. I/WindowManager( 120): WIN DEATH: Window{40993a78 com.appcelerator.titanium/com.appcelerator.titanium.KitchensinkActivity paused=false} I/WindowManager( 120): WIN DEATH: Window{40a7c350 com.appcelerator.titanium/org.appcelerator.titanium.TiActivity paused=false} I/WindowManager( 120): WIN DEATH: Window{409baba0 com.appcelerator.titanium/ti.modules.titanium.ui.TiTabActivity paused=false} I/WindowManager( 120): WIN DEATH: Window{40a30008 com.appcelerator.titanium/org.appcelerator.titanium.TiActivity paused=false} I/WindowManager( 120): WIN DEATH: Window{40b7dbd0 com.appcelerator.titanium/org.appcelerator.titanium.TiActivity paused=false} I/WindowManager( 120): WIN DEATH: Window{40867830 com.appcelerator.titanium/org.appcelerator.titanium.TiActivity paused=false} I/ActivityManager( 120): Start proc com.appcelerator.titanium for activity com.appcelerator.titanium/ti.modules.titanium.ui.TiTabActivity: pid=1983 uid=10025 gids={1015, 1006, 3003}

    Appcelerator JIRA | 6 years ago | Thomas Huelbert
    java.lang.ArrayIndexOutOfBoundsException
  3. 0

    Another problem with Facebook integration

    Stack Overflow | 6 years ago | koneks
    java.lang.ArrayIndexOutOfBoundsException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Facebook SDK force close

    Stack Overflow | 6 years ago | Music
    java.lang.ArrayIndexOutOfBoundsException

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      No message provided

      at com.facebook.android.Util.decodeUrl()
    2. com.facebook.android
      FbDialog$FbWebViewClient.shouldOverrideUrlLoading
      1. com.facebook.android.Util.decodeUrl(Util.java:115)
      2. com.facebook.android.Util.parseUrl(Util.java:134)
      3. com.facebook.android.FbDialog$FbWebViewClient.shouldOverrideUrlLoading(FbDialog.java:152)
      3 frames
    3. Android Platform
      ActivityThread.main
      1. android.webkit.CallbackProxy.uiOverrideUrlLoading(CallbackProxy.java:227)
      2. android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:353)
      3. android.os.Handler.dispatchMessage(Handler.java:99)
      4. android.os.Looper.loop(Looper.java:130)
      5. android.app.ActivityThread.main(ActivityThread.java:3687)
      5 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:507)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
      2 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame