Closed Bug 655997 Opened 13 years ago Closed 13 years ago

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

Categories

(Firefox for Android Graveyard :: General, defect, P1)

ARM
Android
defect

Tracking

(firefox5 unaffected, firefox6 fixed, fennec6+)

VERIFIED FIXED
Firefox 6
Tracking Status
firefox5 --- unaffected
firefox6 --- fixed
fennec 6+ ---

People

(Reporter: andreea.pod, Assigned: mbrubeck)

References

Details

(Keywords: crash, regression, Whiteboard: [has patch])

Attachments

(4 files)

Attached 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.
Attached 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+
Attached 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: 13 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
Target Milestone: --- → Firefox 6
tracking-fennec: ? → 6+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: