Bug 16006 - NullPointerException in org.eclipse.ui.texteditor.FindReplaceDialog.findNext(FindReplaceDialog.java:651)
Summary: NullPointerException in org.eclipse.ui.texteditor.FindReplaceDialog.findNext(...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Search (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows NT
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Claude Knaus CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-14 21:29 EDT by Brian Sullivan CLA
Modified: 2002-05-16 08:14 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Sullivan CLA 2002-05-14 21:29:44 EDT
To cause the NullPointerException, running in M5:

In Java editor, searching for 'digitsFound'
Direction: Forward
Scope: All
Options: all off
Very large .java file (17691 lines)

java.lang.NullPointerException
	at org.eclipse.ui.texteditor.FindReplaceDialog.findNext
(FindReplaceDialog.java:651)
	at org.eclipse.ui.texteditor.FindReplaceDialog.performSearch
(FindReplaceDialog.java:1009)
	at org.eclipse.ui.texteditor.FindReplaceDialog.access$18
(FindReplaceDialog.java:1003)
	at org.eclipse.ui.texteditor.FindReplaceDialog$1.widgetSelected
(FindReplaceDialog.java:243)
	at org.eclipse.swt.widgets.TypedListener.handleEvent
(TypedListener.java:85)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:75)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:637)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1412)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1208)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:836)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:819)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:777)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:319)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:190)
	at org.eclipse.core.launcher.Main.run(Main.java:549)
	at org.eclipse.core.launcher.Main.main(Main.java:390)
Comment 1 Claude Knaus CLA 2002-05-16 08:14:53 EDT
>= 20020516

Catched NPE. The real problem is elsewhere. Related to bug 13736.