Closed Bug 1544542 Opened 6 years ago Closed 6 years ago

java.lang.NullPointerException: Attempt to invoke interface method 'void org.mozilla.geckoview.GeckoSession$HistoryDelegate.onHistoryStateChange(...)' on a null object reference

Categories

(GeckoView :: General, defect)

Unspecified
Android
defect
Not set
normal

Tracking

(firefox66 unaffected, firefox67 unaffected, firefox68 fixed)

RESOLVED FIXED
mozilla68
Tracking Status
firefox66 --- unaffected
firefox67 --- unaffected
firefox68 --- fixed

People

(Reporter: snorp, Assigned: snorp)

References

Details

(Keywords: regression, Whiteboard: [bcs:p1])

Attachments

(1 file, 1 obsolete file)

04-15 14:46:11.112 28514 28514 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke interface method 'void org.mozilla.geckoview.GeckoSession$HistoryDelegate.onHistoryStateChange(org.mozilla.geckoview.GeckoSession, org.mozilla.geckoview.GeckoSession$HistoryDelegate$HistoryList)' on a null object reference
04-15 14:46:11.112 28514 28514 E AndroidRuntime: at org.mozilla.geckoview.GeckoSession$4.handleMessage(GeckoSession.java:613)
04-15 14:46:11.112 28514 28514 E AndroidRuntime: at org.mozilla.geckoview.GeckoSession$4.handleMessage(GeckoSession.java:588)
04-15 14:46:11.112 28514 28514 E AndroidRuntime: at org.mozilla.geckoview.GeckoSessionHandler.handleMessage(GeckoSessionHandler.java:78)
04-15 14:46:11.112 28514 28514 E AndroidRuntime: at org.mozilla.gecko.EventDispatcher$3.run(EventDispatcher.java:368)
04-15 14:46:11.112 28514 28514 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:873)
04-15 14:46:11.112 28514 28514 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
04-15 14:46:11.112 28514 28514 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
04-15 14:46:11.112 28514 28514 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6669)
04-15 14:46:11.112 28514 28514 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
04-15 14:46:11.112 28514 28514 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
04-15 14:46:11.112 28514 28514 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

I get this in FxR, presumably because they don't hook up a history delegate.

Attachment #9058384 - Attachment is obsolete: true
Keywords: regression
OS: All → Android
Whiteboard: [bcs:p1]
Attachment #9058386 - Attachment description: Bug 1544542 - Don't try to call history delegate if we don't have one r?droeh → Bug 1544542 - Don't try to call history delegate if we don't have one
Pushed by jwillcox@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1eec26ba4a75 Don't try to call history delegate if we don't have one r=droeh
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Assignee: nobody → snorp
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: