Bug 18018 - NPE in IncrementalFindTarget
Summary: NPE in IncrementalFindTarget
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 major (vote)
Target Milestone: 2.0 F2   Edit
Assignee: Claude Knaus CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 17969 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-05-28 05:39 EDT by Dani Megert CLA
Modified: 2002-05-31 12:07 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2002-05-28 05:39:28 EDT
1. Open the plugin.xml editor
2. Switch to the source page
3. press ctrl-J
==> nothing happens and the error is written to .log:

!ENTRY org.eclipse.core.resources 1 4 May 28, 2002 11:48:30.516
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 May 28, 2002 11:48:30.531
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
	at 
	at
org.eclipse.ui.texteditor.IncrementalFindTarget.beginSession(IncrementalFindTarget.java:121)
	at org.eclipse.ui.texteditor.IncrementalFindAction.run(IncrementalFindAction.java:75)
	at
org.eclipse.ui.texteditor.RetargetTextEditorAction.run(RetargetTextEditorAction.java:127)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:590)
	at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:407)
	at
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java(Compiled
Code))
	at
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java(Compiled
Code))
	at
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java(Compiled
Code))
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code))
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java(Compiled Code))
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1068)
	at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:739)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:200)
	at org.eclipse.core.launcher.Main.run(Main.java:643)
	at org.eclipse.core.launcher.Main.main(Main.java:476)
Comment 1 Claude Knaus CLA 2002-05-30 09:49:30 EDT
fixed >= 20020530
Comment 2 Claude Knaus CLA 2002-05-31 12:07:36 EDT
*** Bug 17969 has been marked as a duplicate of this bug. ***