Crash when changing the orientation from portrait to landscape or vice versa

VERIFIED FIXED in Firefox 6

Status

defect
P1
blocker
VERIFIED FIXED
8 years ago
8 years ago

People

(Reporter: andreea.pod, Assigned: mbrubeck)

Tracking

({crash, regression})

Dependency tree / graph

Firefox Tracking Flags

(firefox5 unaffected, firefox6 fixed, fennec6+)

Details

(Whiteboard: [has patch])

Attachments

(4 attachments)

Posted image crash message
Mozilla /5.0 (Android;Linux armv7l;rv:6.0a1) Gecko/201105010 Firefox/6.0a1 Fennec/6.0a1 
Device: LG Optimus 2X (Android 2.2)

Steps to reproduce:
1. Open Fennec 
2. Change the orientation

Expected result:
The application should work with no problem

Actual result:
Fennec crashes "The application Fennec(process org.mozilla.fennec) has stopped unexpectedly. Please try again."

Note: 
You can see the attached screenshot and log.
Posted file crash log
Severity: normal → blocker
Priority: -- → P1
(In reply to comment #1)
> Created attachment 531309 [details]
> crash log

I don't see a crash in the log. Does the crash happen for other phones too?
Keywords: regression
05-10 09:23:43.070: ERROR/AndroidRuntime(4485): java.lang.RuntimeException: Unable to resume activity {org.mozilla.fennec/org.mozilla.fennec.App}: java.lang.NullPointerException
No idea why a rotation triggers this, weird
Assignee: nobody → mbrubeck
Blocks: 643032
tracking-fennec: --- → ?
tracking-fennec: ? → 5+
Posted patch patchSplinter Review
Oops, we need to move the initialization *above* the early return in onCreate, so it's re-created whenever the activity is.
Attachment #531326 - Flags: review?(blassey.bugs)
Whiteboard: [has patch]
tracking-fennec: 5+ → ?
Attachment #531326 - Flags: review?(blassey.bugs) → review+
http://hg.mozilla.org/mozilla-central/rev/24bd5f86695c
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Verified fixed:
Mozilla/5.0 (Android; Linux armv7l; rv:6.0a1) Gecko/20110511 Firefox/6.0a1 Fennec/6.0a1
Status: RESOLVED → VERIFIED
Duplicate of this bug: 656291
Target Milestone: --- → Firefox 6
tracking-fennec: ? → 6+
You need to log in before you can comment on or make changes to this bug.