Closed Bug 849539 Opened 11 years ago Closed 11 years ago

java.lang.RuntimeException - Unable to start activity (WebApps) - android.widget.LinearLayout cannot be cast to android.widget.RelativeLayout

Categories

(Firefox for Android Graveyard :: Web Apps (PWAs), defect)

ARM
Android
defect
Not set
major

Tracking

(firefox22 fixed)

RESOLVED FIXED
Firefox 22
Tracking Status
firefox22 --- fixed

People

(Reporter: aaronmt, Assigned: cwiiis)

References

Details

(Keywords: regression, reproducible)

Attachments

(1 file)

E/GeckoAppShell(11393): java.lang.RuntimeException: Unable to start activity ComponentInfo{org.mozilla.fennec/org.mozilla.fennec.WebApps$WebApp1}: java.lang.ClassCastException: android.widget.LinearLayout cannot be cast to android.widget.RelativeLayout
E/GeckoAppShell(11393): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
E/GeckoAppShell(11393): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
E/GeckoAppShell(11393): 	at android.app.ActivityThread.access$600(ActivityThread.java:141)
E/GeckoAppShell(11393): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
E/GeckoAppShell(11393): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/GeckoAppShell(11393): 	at android.os.Looper.loop(Looper.java:137)
E/GeckoAppShell(11393): 	at android.app.ActivityThread.main(ActivityThread.java:5041)
E/GeckoAppShell(11393): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/GeckoAppShell(11393): 	at java.lang.reflect.Method.invoke(Method.java:511)
E/GeckoAppShell(11393): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
E/GeckoAppShell(11393): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
E/GeckoAppShell(11393): 	at dalvik.system.NativeStart.main(Native Method)
E/GeckoAppShell(11393): Caused by: java.lang.ClassCastException: android.widget.LinearLayout cannot be cast to android.widget.RelativeLayout
E/GeckoAppShell(11393): 	at org.mozilla.gecko.GeckoApp.onCreate(GeckoApp.java:1399)
E/GeckoAppShell(11393): 	at org.mozilla.fennec.WebApp.onCreate(WebApp.java:61)
E/GeckoAppShell(11393): 	at android.app.Activity.performCreate(Activity.java:5104)
E/GeckoAppShell(11393): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
E/GeckoAppShell(11393): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)

Launch a web-app in Nightly (03/09)
Severity: normal → major
Keywords: reproducible
Eventually this ANR's


I/InputDispatcher(  532): Application is not responding: AppWindowToken{4166fa98 token=Token{417b9230 ActivityRecord{41991a00 u0 org.mozilla.fennec/.WebApps$WebApp0}}}.  It has been 5009.6ms since event, 5005.2ms since wait started.  Reason: Waiting because there is no touchable window that can handle the event but there is focused application that may eventually add a new window when it finishes starting up.

E/ActivityManager(  532): ANR in org.mozilla.fennec:org.mozilla.fennec.WebApp0 (org.mozilla.fennec/.WebApps$WebApp0)
E/ActivityManager(  532): Reason: keyDispatchingTimedOut
Summary: java.lang.RuntimeException - Unable to start activity (android.widget.LinearLayout cannot be cast to android.widget.RelativeLayout) → java.lang.RuntimeException - Unable to start activity (WebApps) - android.widget.LinearLayout cannot be cast to android.widget.RelativeLayout
I caused this, taking it - simple bug.
Assignee: wjohnston → chrislord.net
Status: NEW → ASSIGNED
Attachment #723424 - Flags: review?(lucasr.at.mozilla)
Attachment #723424 - Flags: review?(lucasr.at.mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/120158b9849d
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 22
tracking-fennec: ? → ---
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: