incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bar (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (CB-682) orientationchange Event in Android crashes app with Cordova 1.7
Date Thu, 10 May 2012 01:28:47 GMT

    [ https://issues.apache.org/jira/browse/CB-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13272017#comment-13272017
] 

Bar edited comment on CB-682 at 5/10/12 1:26 AM:
-------------------------------------------------

1.  Failed to mention using Android 2.3.4 on Droid X2
2.  Removed all my js scripts from index.html, and plugins from plugins.xml to test.  Still
crashes.
3.  Tried without the Splash Screen, still crashes.  
                
      was (Author: barmang):
    1.  Failed to mention using Android 2.3.4 on Droid X2
2.  Removed all my js scripts from index.html, and plugins from plugins.xml to test.  Still
crashes.
                  
> orientationchange Event in Android crashes app with Cordova 1.7
> ---------------------------------------------------------------
>
>                 Key: CB-682
>                 URL: https://issues.apache.org/jira/browse/CB-682
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.7.0
>            Reporter: Bar
>            Assignee: Joe Bowser
>              Labels: android, orientationchange
>
> Crashes whether or not my JavaScript has $(window).bind("orientationchange", function()...
> Crashes whether or not app is loading, or up and running
> Logcat
> _________________________
> 778: D/DroidGap(6819): DroidGap.init()
> 778: I/Database(6819): sqlite returned: error code = 14, msg = cannot open file at source
line 25467
> 778: D/PluginManager(6819): init()
> 848: D/SoftKeyboardDetect(6819): Ignore this event
> 278: W/IInputConnectionWrapper(6819): showStatusIcon on inactive InputConnection
> 458: E/WindowManager(6819): Activity com.myapp.myappActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@406e5600
that was originally added here
> 458: E/WindowManager(6819): android.view.WindowLeaked: Activity com.myapp.myappActivity
has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@406e5600 that was
originally added here
> 458: E/WindowManager(6819): 	at android.view.ViewRoot.<init>(ViewRoot.java:258)
> 458: E/WindowManager(6819): 	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:148)
> 458: E/WindowManager(6819): 	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
> 458: E/WindowManager(6819): 	at android.view.Window$LocalWindowManager.addView(Window.java:424)
> 458: E/WindowManager(6819): 	at android.app.Dialog.show(Dialog.java:241)
> 458: E/WindowManager(6819): 	at org.apache.cordova.DroidGap.showSplashScreen(DroidGap.java:1440)
> 458: E/WindowManager(6819): 	at org.apache.cordova.DroidGap.loadUrlIntoView(DroidGap.java:612)
> 458: E/WindowManager(6819): 	at org.apache.cordova.DroidGap.loadUrl(DroidGap.java:581)
> 458: E/WindowManager(6819): 	at com.myapp.myappActivity.onCreate(myappActivity.java:13)
> 458: E/WindowManager(6819): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
> 458: E/WindowManager(6819): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1660)
> 458: E/WindowManager(6819): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1716)
> 458: E/WindowManager(6819): 	at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:2955)
> 458: E/WindowManager(6819): 	at android.app.ActivityThread.access$1600(ActivityThread.java:124)
> 458: E/WindowManager(6819): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:972)
> 458: E/WindowManager(6819): 	at android.os.Handler.dispatchMessage(Handler.java:99)
> 458: E/WindowManager(6819): 	at android.os.Looper.loop(Looper.java:130)
> 458: E/WindowManager(6819): 	at android.app.ActivityThread.main(ActivityThread.java:3806)
> 458: E/WindowManager(6819): 	at java.lang.reflect.Method.invokeNative(Native Method)
> 458: E/WindowManager(6819): 	at java.lang.reflect.Method.invoke(Method.java:507)
> 458: E/WindowManager(6819): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
> 458: E/WindowManager(6819): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
> 458: E/WindowManager(6819): 	at dalvik.system.NativeStart.main(Native Method)
> 708: D/dalvikvm(6819): GC_CONCURRENT freed 1272K, 49% free 3715K/7175K, external 4234K/4816K,
paused 2ms+2ms
> 788: D/AndroidRuntime(6819): Shutting down VM
> 788: W/dalvikvm(6819): threadid=1: thread exiting with uncaught exception (group=0x40018560)
> 788: E/AndroidRuntime(6819): FATAL EXCEPTION: main
> 788: E/AndroidRuntime(6819): java.lang.IllegalArgumentException: View not attached to
window manager
> 788: E/AndroidRuntime(6819): 	at android.view.WindowManagerImpl.findViewLocked(WindowManagerImpl.java:355)
> 788: E/AndroidRuntime(6819): 	at android.view.WindowManagerImpl.removeView(WindowManagerImpl.java:200)
> 788: E/AndroidRuntime(6819): 	at android.view.Window$LocalWindowManager.removeView(Window.java:432)
> 788: E/AndroidRuntime(6819): 	at android.app.Dialog.dismissDialog(Dialog.java:278)
> 788: E/AndroidRuntime(6819): 	at android.app.Dialog.access$000(Dialog.java:71)
> 788: E/AndroidRuntime(6819): 	at android.app.Dialog$1.run(Dialog.java:111)
> 788: E/AndroidRuntime(6819): 	at android.app.Dialog.dismiss(Dialog.java:268)
> 788: E/AndroidRuntime(6819): 	at org.apache.cordova.DroidGap.removeSplashScreen(DroidGap.java:1414)
> 788: E/AndroidRuntime(6819): 	at org.apache.cordova.DroidGap$6.run(DroidGap.java:1446)
> 788: E/AndroidRuntime(6819): 	at android.os.Handler.handleCallback(Handler.java:587)
> 788: E/AndroidRuntime(6819): 	at android.os.Handler.dispatchMessage(Handler.java:92)
> 788: E/AndroidRuntime(6819): 	at android.os.Looper.loop(Looper.java:130)
> 788: E/AndroidRuntime(6819): 	at android.app.ActivityThread.main(ActivityThread.java:3806)
> 788: E/AndroidRuntime(6819): 	at java.lang.reflect.Method.invokeNative(Native Method)
> 788: E/AndroidRuntime(6819): 	at java.lang.reflect.Method.invoke(Method.java:507)
> 788: E/AndroidRuntime(6819): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
> 788: E/AndroidRuntime(6819): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
> 788: E/AndroidRuntime(6819): 	at dalvik.system.NativeStart.main(Native Method)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message