Closed Bug 766498 Opened 12 years ago Closed 12 years ago

java.lang.NullPointerException in ScreenshotHandler$RepaintRunnable.addRectToRepaint

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(firefox16 affected)

RESOLVED DUPLICATE of bug 766988
Tracking Status
firefox16 --- affected

People

(Reporter: martijn.martijn, Unassigned)

References

()

Details

(Keywords: regression)

Attachments

(1 file)

Attached file catlog (deleted) —
In current trunk build, I'm not able to pinch zoom on mobile wikipedia, using the HTC Desire HD. It works fine in Aurora and beta. It also works fine on trunk on the Galaxy SII and Galaxy Nexus. I've attached a catlog, while trying to pinch zoom, relevant part: 06-20 11:03:08.884: W/System.err(11955): java.lang.NullPointerException 06-20 11:03:08.884: W/System.err(11955): at org.mozilla.gecko.ScreenshotHandler$RepaintRunnable.addRectToRepaint(GeckoAppShell.java:2178) 06-20 11:03:08.884: W/System.err(11955): at org.mozilla.gecko.ScreenshotHandler.notifyPaintedRect(GeckoAppShell.java:2191) 06-20 11:03:08.884: W/System.err(11955): at org.mozilla.gecko.GeckoAppShell.notifyPaintedRect(GeckoAppShell.java:2115) 06-20 11:03:08.884: W/System.err(11955): at org.mozilla.gecko.GeckoAppShell.nativeRun(Native Method) 06-20 11:03:08.884: W/System.err(11955): at org.mozilla.gecko.GeckoAppShell.nativeRun(Native Method) 06-20 11:03:08.884: W/System.err(11955): at org.mozilla.gecko.GeckoAppShell.nativeRun(Native Method) 06-20 11:03:08.884: W/System.err(11955): at org.mozilla.gecko.GeckoAppShell.runGecko(GeckoAppShell.java:474)
I guess this could be a regression of bug 755070, somehow?
tracking-fennec: --- → ?
Looking at the code I think this could happen if the MozAfterPaint listener triggers before the handleDocumentStop code on the very first page, because then addRectToRepaint will get called before sCheckerboardPageRect has been initialized.
Blocks: 755070
Status: NEW → RESOLVED
Closed: 12 years ago
No longer depends on: 766643
Resolution: --- → DUPLICATE
Although now that I see the bug title, the pinch zooming is completely unrelated to the NPE in ScreenshotHandler. Let's use this bug to track the NPE and open another one for the pinch zooming.
Summary: Not able to pinch zoom wikipedia using the HTC Desire HD, java.lang.NullPointerException in ScreenshotHandler$RepaintRunnable.addRectToRepaint → java.lang.NullPointerException in ScreenshotHandler$RepaintRunnable.addRectToRepaint
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: