Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

NullPointerException: Attempt to invoke virtual method 'void android.widget.Editor$SelectionStartHandleView.showAtLocation(int)' on a null object reference #458

Closed
pocmo opened this issue Apr 13, 2017 · 4 comments
Labels
Milestone

Comments

@pocmo
Copy link
Contributor

pocmo commented Apr 13, 2017

0	android​.widget	
Editor.java ​ Line 4882
Editor$SelectionModifierCursorController.onTouchEvent
	
1	android​.widget	
Editor.java ​ Line 1224
Editor.onTouchEvent
	
2	android​.widget	
TextView.java ​ Line 8305
TextView.onTouchEvent
	
3	android​.view	
View.java ​ Line 9297
View.dispatchTouchEvent
	
4	android​.view	
ViewGroup.java ​ Line 2555
ViewGroup.dispatchTransformedTouchEvent
	
5	android​.view	
ViewGroup.java ​ Line 2254
ViewGroup.dispatchTouchEvent
	
6	android​.view	
ViewGroup.java ​ Line 2555
ViewGroup.dispatchTransformedTouchEvent
	
7	android​.view	
ViewGroup.java ​ Line 2254
ViewGroup.dispatchTouchEvent
	
8	android​.view	
ViewGroup.java ​ Line 2555
ViewGroup.dispatchTransformedTouchEvent
	
9	android​.view	
ViewGroup.java ​ Line 2254
ViewGroup.dispatchTouchEvent
	
10	android​.view	
ViewGroup.java ​ Line 2555
ViewGroup.dispatchTransformedTouchEvent

View Full Crash Details

@pocmo pocmo changed the title Buddybuild crash report on build #931 NullPointerException: Attempt to invoke virtual method 'void android.widget.Editor$SelectionStartHandleView.showAtLocation(int)' on a null object reference Apr 13, 2017
@ahunt
Copy link
Contributor

ahunt commented Apr 13, 2017

The entire crash stack is Android code : /.

@ahunt
Copy link
Contributor

ahunt commented Apr 13, 2017

Looks like something that can happen on Android 6, only but that code doesn't seem to exist on Android 5 or 7:
http://androidxref.com/6.0.1_r10/xref/frameworks/base/core/java/android/widget/Editor.java#4866

@ahunt ahunt self-assigned this Apr 13, 2017
@ahunt
Copy link
Contributor

ahunt commented Apr 13, 2017

I filed a Fennec bug too. It's far away from the top-crash page, so I'm guessing this is unlikely to happen much - but we can still add a workaround:
https://bugzilla.mozilla.org/show_bug.cgi?id=1356418

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants