Closed Bug 741400 Opened 13 years ago Closed 13 years ago

Crash -- NullPointerException @ convertViewPointToLayerPoint(LayerController.java:337)

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
critical

Tracking

(firefox14 fixed, firefox15 verified, blocking-fennec1.0 +)

VERIFIED FIXED
Firefox 14
Tracking Status
firefox14 --- fixed
firefox15 --- verified
blocking-fennec1.0 --- +

People

(Reporter: aaronmt, Assigned: kats)

Details

(Keywords: crash, Whiteboard: [native-crash][gfx])

Crash Data

Attachments

(2 files)

04-02 11:19:49.599: E/GeckoEvent(5839): java.lang.NullPointerException 04-02 11:19:49.599: E/GeckoEvent(5839): at org.mozilla.gecko.gfx.LayerController.convertViewPointToLayerPoint(LayerController.java:337) 04-02 11:19:49.599: E/GeckoEvent(5839): at org.mozilla.gecko.GeckoEvent.addMotionPoint(GeckoEvent.java:254) 04-02 11:19:49.599: E/GeckoEvent(5839): at org.mozilla.gecko.GeckoEvent.initMotionEvent(GeckoEvent.java:235) 04-02 11:19:49.599: E/GeckoEvent(5839): at org.mozilla.gecko.GeckoEvent.createMotionEvent(GeckoEvent.java:211) 04-02 11:19:49.599: E/GeckoEvent(5839): at org.mozilla.gecko.GeckoAppShell$3.onTouch(GeckoAppShell.java:477) 04-02 11:19:49.599: E/GeckoEvent(5839): at org.mozilla.gecko.gfx.LayerController.onTouchEvent(LayerController.java:397) 04-02 11:19:49.599: E/GeckoEvent(5839): at org.mozilla.gecko.gfx.LayerView.onTouchEvent(LayerView.java:127) 04-02 11:19:49.599: E/GeckoEvent(5839): at android.view.View.dispatchTouchEvent(View.java:5541) 04-02 11:19:49.599: E/GeckoEvent(5839): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957) 04-02 11:19:49.599: E/GeckoEvent(5839): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726) 04-02 11:19:49.599: E/GeckoEvent(5839): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957) 04-02 11:19:49.599: E/GeckoEvent(5839): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726) 04-02 11:19:49.599: E/GeckoEvent(5839): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957) 04-02 11:19:49.599: E/GeckoEvent(5839): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726) 04-02 11:19:49.599: E/GeckoEvent(5839): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957) 04-02 11:19:49.599: E/GeckoEvent(5839): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726) 04-02 11:19:49.599: E/GeckoEvent(5839): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957) 04-02 11:19:49.599: E/GeckoEvent(5839): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726) 04-02 11:19:49.599: E/GeckoEvent(5839): at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1912) 04-02 11:19:49.599: E/GeckoEvent(5839): at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1371) 04-02 11:19:49.599: E/GeckoEvent(5839): at android.app.Activity.dispatchTouchEvent(Activity.java:2364) 04-02 11:19:49.599: E/GeckoEvent(5839): at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1860) 04-02 11:19:49.599: E/GeckoEvent(5839): at android.view.View.dispatchPointerEvent(View.java:5721) 04-02 11:19:49.599: E/GeckoEvent(5839): at android.view.ViewRootImpl.deliverPointerEvent(ViewRootImpl.java:2890) 04-02 11:19:49.599: E/GeckoEvent(5839): at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2466) 04-02 11:19:49.599: E/GeckoEvent(5839): at android.view.ViewRootImpl.processInputEvents(ViewRootImpl.java:845) 04-02 11:19:49.599: E/GeckoEvent(5839): at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2475) 04-02 11:19:49.599: E/GeckoEvent(5839): at android.os.Handler.dispatchMessage(Handler.java:99) 04-02 11:19:49.599: E/GeckoEvent(5839): at android.os.Looper.loop(Looper.java:137) 04-02 11:19:49.599: E/GeckoEvent(5839): at android.app.ActivityThread.main(ActivityThread.java:4424) 04-02 11:19:49.599: E/GeckoEvent(5839): at java.lang.reflect.Method.invokeNative(Native Method) 04-02 11:19:49.599: E/GeckoEvent(5839): at java.lang.reflect.Method.invoke(Method.java:511) 04-02 11:19:49.599: E/GeckoEvent(5839): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) 04-02 11:19:49.599: E/GeckoEvent(5839): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) 04-02 11:19:49.599: E/GeckoEvent(5839): at dalvik.system.NativeStart.main(Native Method) 04-02 11:19:49.607: E/GeckoEvent(5839): Error creating motion point 0 -- Samsung Galaxy Nexus (Android 4.0.4) Nightly (04/02)
Version: unspecified → Trunk
Crash Signature: [@ java.lang.NullPointerException at org.mozilla.gecko.gfx.LayerController.convertViewPointToLayerPoint(LayerController.java) ]
Whiteboard: [native-crash] → [native-crash][gfx]
I think the proper fix for this is to move the layerController.setOnTouchListener hunk of code from GeckoAppShell.geckoLoaded() to the end of GeckoApp.connectGeckoLayerClient(). Will write up a patch eventually if nobody else gets to it first.
Attached file logcat
I hit this today on 4-02-2012 nightly, HTC Incredible S. Intermittent repro: 1) goto youtube, and click a video 2) play flash video. try to launch fullscreen (attempting to repro bug 727617) 3) pan around the screen while the video is playing 4) crash. restart Full Logcat attached. 04-02 21:23:48.377: DEBUG/dalvikvm(3873): VFY: replacing opcode 0x6e at 0x0033 04-02 21:23:48.387: DEBUG/Database(3873): dbopen(): path = /data/data/org.mozilla.fennec/files/mozilla/9k96cqwz.default/browser.db, flag = 6, file size = 194560 04-02 21:23:48.387: INFO/GeckoTabs(3873): Got message: SessionHistory:Goto 04-02 21:23:48.397: DEBUG/Database(3873): dbopen(): path = /data/data/org.mozilla.fennec/files/mozilla/9k96cqwz.default/browser.db, mode: delete, disk free size: 1046 M, handle: 0x3a9cd8 04-02 21:23:48.447: INFO/GeckoApp(3873): Got message: Content:StateChange 04-02 21:23:48.447: INFO/GeckoApp(3873): State - 983041 04-02 21:23:48.447: INFO/GeckoApp(3873): Got a document start 04-02 21:23:48.447: INFO/GeckoToolbar(3873): zerdatime 11812731 - Throbber start 04-02 21:23:48.457: INFO/GeckoTabs(3873): Got message: Session:RestoreEnd 04-02 21:23:48.507: DEBUG/Database(3873): dbopen(): sqlite3_exec to set journal_mode to WAL for /data/data/org.mozilla.fennec/files/mozilla/9k96cqwz.default/browser.db 04-02 21:23:48.637: INFO/GeckoDisplayPortCalculator(3873): Set strategy org.mozilla.gecko.gfx.DisplayPortCalculator$FixedMarginStrategy 04-02 21:24:06.154: ERROR/GeckoCrashReporter(3873): exception during send: 04-02 21:24:06.154: ERROR/GeckoCrashReporter(3873): java.net.UnknownHostException: crash-reports.mozilla.com 04-02 21:24:06.154: ERROR/GeckoCrashReporter(3873): at java.net.InetAddress.lookupHostByName(InetAddress.java:503) 04-02 21:24:06.154: ERROR/GeckoCrashReporter(3873): at java.net.InetAddress.getAllByNameImpl(InetAddress.java:300) 04-02 21:24:06.154: ERROR/GeckoCrashReporter(3873): at java.net.InetAddress.getAllByName(InetAddress.java:259) 04-02 21:24:06.154: ERROR/GeckoCrashReporter(3873): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnection.<init>(HttpConnection.java:69) 04-02 21:24:06.154: ERROR/GeckoCrashReporter(3873): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnection.<init>(HttpConnection.java:48) 04-02 21:24:06.154: ERROR/GeckoCrashReporter(3873): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnection$Address.connect(HttpConnection.java:322) 04-02 21:24:06.154: ERROR/GeckoCrashReporter(3873): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionPool.get(HttpConnectionPool.java:89) 04-02 21:24:06.154: ERROR/GeckoCrashReporter(3873): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.getHttpConnection(HttpURLConnectionImpl.java:285) 04-02 21:24:06.154: ERROR/GeckoCrashReporter(3873): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.makeConnection(HttpURLConnectionImpl.java:267) 04-02 21:24:06.154: ERROR/GeckoCrashReporter(3873): at org.apache.harmony.luni.internal.net.www.protocol.https.HttpsURLConnectionImpl$HttpsEngine.makeSslConnection(HttpsURLConnectionImpl.java:406) 04-02 21:24:06.154: ERROR/GeckoCrashReporter(3873): at org.apache.harmony.luni.internal.net.www.protocol.https.HttpsURLConnectionImpl$HttpsEngine.makeConnection(HttpsURLConnectionImpl.java:387) 04-02 21:24:06.154: ERROR/GeckoCrashReporter(3873): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:205) 04-02 21:24:06.154: ERROR/GeckoCrashReporter(3873): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:614) 04-02 21:24:06.154: ERROR/GeckoCrashReporter(3873): at org.apache.harmony.luni.internal.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:268) 04-02 21:24:06.154: ERROR/GeckoCrashReporter(3873): at org.mozilla.fennec.CrashReporter.sendReport(CrashReporter.java:258) 04-02 21:24:06.154: ERROR/GeckoCrashReporter(3873): at org.mozilla.fennec.CrashReporter.access$300(CrashReporter.java:69) 04-02 21:24:06.154: ERROR/GeckoCrashReporter(3873): at org.mozilla.fennec.CrashReporter$2.run(CrashReporter.java:170) 04-02 21:24:06.154: ERROR/GeckoCrashReporter(3873): at java.lang.Thread.run(Thread.java:1027) 04-02 21:24:06.244: DEBUG/dalvikvm(3873): GC_CONCURRENT freed 290K, 45% free 3273K/5895K, external 163K/521K, paused 7ms+2ms 04-02 21:24:23.441: VERBOSE/DeviceStorageMonitorService(1467): freeMemory=1097080832 04-02 21:24:23.441: DEBUG/DeviceStorageMonitorService(1467): OoO SMS Memory available. SMS_AVAILABLE_THRESHOLD == 524288 04-02 21:24:23.441: INFO/DeviceStorageMonitorService(1467): Posting Message again 04-02 21:24:25.914: DEBUG/StatusBarPolicy(1560): iconIndex=0 04-02 21:24:25.914: VERBOSE/StatusBarPolicy(1560): cdmaLevel:2;max:4 04-02 21:24:25.914: DEBUG/StatusBarPolicy(1560): iconLevel:2 04-02 21:24:30.408: DEBUG/StatusBarPolicy(1560): iconIndex=0 04-02 21:24:30.408: VERBOSE/StatusBarPolicy(1560): cdmaLevel:2;max:4 04-02 21:24:30.408: DEBUG/StatusBarPolicy(1560): iconLevel:2 04-02 21:24:31.309: DEBUG/BatteryService(1467): SendIntentforPowersaver 04-02 21:24:31.319: DEBUG/WifiService(1467): [smart wifi] mSmartWiFiStatus: 0 mBatteryLevel: 100 mWifiConnected: true 04-02 21:24:31.319: DEBUG/WifiService(1467): [smart wifi] ACTION_BATTERY_CHANGED pluggedType: 2 04-02 21:24:31.329: DEBUG/DATA(1584): tryEnableSuperPowerSaving: false, isPowerSavingOn: false, isMobileDataOn: true, isScreenOn: true, mIsCharging: true 04-02 21:24:31.329: DEBUG/HtcCdmaPhoneApp(1584): level 100 scale 100 04-02 21:24:31.339: INFO/Fumo(3333): mBatteryLevel:100 04-02 21:24:56.043: DEBUG/AudioManager(3873): adjustSuggestedStreamVolume(direction:1, suggestedStreamType:-2147483648, flags:17) 04-02 21:24:56.053: VERBOSE/AudioService(1467): checkForRingerModeChange: oldIndex = 50, direction = 1 04-02 21:24:56.053: DEBUG/AudioService(1467): [AudioHandler] setSystemVolume Call setStreamVolumeIndex isHeadsetPlugged(): false 04-02 21:24:56.053: DEBUG/AudioSystem(1357): linearToSpecifyHtcVolume(volume:85, streamType:2, audio_devices:2) 04-02 21:24:56.053: DEBUG/AudioPolicyService(1357): VolumeCommand() executes command (0x39ee0, 02) 04-02 21:24:57.284: DEBUG/StatusBarPolicy(1560): iconIndex=0 04-02 21:24:57.284: VERBOSE/StatusBarPolicy(1560): cdmaLevel:2;max:4 04-02 21:24:57.284: DEBUG/StatusBarPolicy(1560): iconLevel:2 04-02 21:25:00.127: DEBUG/PowerManagerService(1467): New lightsensor value:225, lcdValue:116 04-02 21:25:05.152: DEBUG/dalvikvm(3789): GC_EXPLICIT freed 57K, 48% free 2831K/5379K, external 0K/0K, paused 75ms 04-02 21:25:10.177: DEBUG/dalvikvm(1955): GC_EXPLICIT freed 7K, 46% free 4484K/8263K, external 6288K/7852K, paused 89ms 04-02 21:25:23.450: VERBOSE/DeviceStorageMonitorService(1467): freeMemory=1107013632 04-02 21:25:23.450: DEBUG/DeviceStorageMonitorService(1467): OoO SMS Memory available. SMS_AVAILABLE_THRESHOLD == 524288 04-02 21:25:23.450: INFO/DeviceStorageMonitorService(1467): Posting Message again 04-02 21:26:23.458: VERBOSE/DeviceStorageMonitorService(1467): freeMemory=1107013632 04-02 21:26:23.458: DEBUG/DeviceStorageMonitorService(1467): OoO SMS Memory available. SMS_AVAILABLE_THRESHOLD == 524288 04-02 21:26:23.458: INFO/DeviceStorageMonitorService(1467): Posting Message again 04-02 21:26:24.670: ERROR/GeckoEvent(3873): Error creating motion point 0 04-02 21:26:24.670: ERROR/GeckoEvent(3873): java.lang.NullPointerException 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at org.mozilla.gecko.gfx.LayerController.convertViewPointToLayerPoint(LayerController.java:338) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at org.mozilla.gecko.GeckoEvent.addMotionPoint(GeckoEvent.java:254) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at org.mozilla.gecko.GeckoEvent.initMotionEvent(GeckoEvent.java:235) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at org.mozilla.gecko.GeckoEvent.createMotionEvent(GeckoEvent.java:211) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at org.mozilla.gecko.GeckoAppShell$3.onTouch(GeckoAppShell.java:477) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at org.mozilla.gecko.gfx.LayerController.onTouchEvent(LayerController.java:397) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at org.mozilla.gecko.gfx.LayerView.onTouchEvent(LayerView.java:127) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at android.view.View.dispatchTouchEvent(View.java:3932) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:906) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:906) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:906) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:906) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1784) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1157) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at android.app.Activity.dispatchTouchEvent(Activity.java:2228) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1759) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at android.view.ViewRoot.deliverPointerEvent(ViewRoot.java:2340) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at android.view.ViewRoot.handleMessage(ViewRoot.java:1980) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at android.os.Handler.dispatchMessage(Handler.java:99) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at android.os.Looper.loop(Looper.java:150) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at android.app.ActivityThread.main(ActivityThread.java:4293) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at java.lang.reflect.Method.invokeNative(Native Method) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at java.lang.reflect.Method.invoke(Method.java:507) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 04-02 21:26:24.670: ERROR/GeckoEvent(3873): at dalvik.system.NativeStart.main(Native Method) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): Unable to convert point to JSON for Gesture:ShowPress 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): java.lang.NullPointerException 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at org.mozilla.gecko.gfx.LayerController.convertViewPointToLayerPoint(LayerController.java:338) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at org.mozilla.gecko.ui.PanZoomController.sendPointToGecko(PanZoomController.java:861) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at org.mozilla.gecko.ui.PanZoomController.onDown(PanZoomController.java:881) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at android.view.GestureDetector.onTouchEvent(GestureDetector.java:512) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at org.mozilla.gecko.gfx.LayerView.processEvent(LayerView.java:135) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at org.mozilla.gecko.gfx.LayerView.onTouchEvent(LayerView.java:131) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at android.view.View.dispatchTouchEvent(View.java:3932) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:906) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:906) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:906) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:906) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1784) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1157) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at android.app.Activity.dispatchTouchEvent(Activity.java:2228) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1759) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at android.view.ViewRoot.deliverPointerEvent(ViewRoot.java:2340) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at android.view.ViewRoot.handleMessage(ViewRoot.java:1980) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at android.os.Handler.dispatchMessage(Handler.java:99) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at android.os.Looper.loop(Looper.java:150) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at android.app.ActivityThread.main(ActivityThread.java:4293) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at java.lang.reflect.Method.invokeNative(Native Method) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at java.lang.reflect.Method.invoke(Method.java:507) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 04-02 21:26:24.680: ERROR/GeckoPanZoomController(3873): at dalvik.system.NativeStart.main(Native Method) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): Error creating motion point 0 04-02 21:26:24.750: ERROR/GeckoEvent(3873): java.lang.NullPointerException 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at org.mozilla.gecko.gfx.LayerController.convertViewPointToLayerPoint(LayerController.java:338) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at org.mozilla.gecko.GeckoEvent.addMotionPoint(GeckoEvent.java:254) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at org.mozilla.gecko.GeckoEvent.initMotionEvent(GeckoEvent.java:235) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at org.mozilla.gecko.GeckoEvent.createMotionEvent(GeckoEvent.java:211) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at org.mozilla.gecko.GeckoAppShell$3.onTouch(GeckoAppShell.java:477) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at org.mozilla.gecko.gfx.LayerController.onTouchEvent(LayerController.java:397) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at org.mozilla.gecko.gfx.LayerView.onTouchEvent(LayerView.java:127) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at android.view.View.dispatchTouchEvent(View.java:3932) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1015) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1015) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1015) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1015) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1784) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1157) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at android.app.Activity.dispatchTouchEvent(Activity.java:2228) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1759) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at android.view.ViewRoot.deliverPointerEvent(ViewRoot.java:2340) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at android.view.ViewRoot.handleMessage(ViewRoot.java:1980) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at android.os.Handler.dispatchMessage(Handler.java:99) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at android.os.Looper.loop(Looper.java:150) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at android.app.ActivityThread.main(ActivityThread.java:4293) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at java.lang.reflect.Method.invokeNative(Native Method) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at java.lang.reflect.Method.invoke(Method.java:507) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 04-02 21:26:24.750: ERROR/GeckoEvent(3873): at dalvik.system.NativeStart.main(Native Method) 04-02 21:26:25.250: DEBUG/GeckoPanZoomController(3873): Finishing animation at org.mozilla.gecko.gfx.ImmutableViewportMetrics@405ca378
Attached patch PatchSplinter Review
Don't hook up the gecko touch listener until after we connect the layer client. Also add an extra NPE guard.
Attachment #611734 - Flags: review?(mark.finkle)
Assignee: nobody → bugmail.mozilla
blocking-fennec1.0: ? → +
Comment on attachment 611734 [details] [diff] [review] Patch looks good to me
Attachment #611734 - Flags: review?(mark.finkle) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
This issue is not reproducible on the latest Nightly build. However, when str from comment #2 are performed, another issue occurs: bug 727421. Besides this one, no other issues are noticeable. Closing it as verified fixed on: Firefox 15.0a1 (2012-05-22) Device: Galaxy Nexus OS: Android 4.0.2
Status: RESOLVED → VERIFIED
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: