Bug 6075 - NPE while editing in compare view
Summary: NPE while editing in compare view
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 normal (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Kai-Uwe Maetzel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-19 13:45 EST by Philipe Mulet CLA
Modified: 2001-12-12 08:44 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2001-11-19 13:45:46 EST
Build 20011115

While comparing outgoing changes, I decided to perform an edit in the compare 
view, and got the following stack trace (and an error dialog):

org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerE
xception)
        at org.eclipse.swt.SWT.error(SWT.java:1877)
        at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:148)
        at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:1
8)
        at org.eclipse.swt.widgets.Display.syncExec(Display.java:1593)
        at org.eclipse.jface.text.contentassist.ContentAssistant$AutoAssistListe
ner.showAssist(ContentAssistant.java:259)
        at org.eclipse.jface.text.contentassist.ContentAssistant$AutoAssistListe
ner.run(ContentAssistant.java:193)
        at java.lang.Thread.run(Thread.java:484)
Log: Mon Nov 19 19:34:37 CET 2001
1 org.eclipse.core.resources 4 Unhandled exception caught in event loop.
Unhandled exception caught in event loop.
Reason:
Log: Mon Nov 19 19:34:37 CET 2001
4 org.eclipse.ui 0 Failed to execute runnable (java.lang.NullPointerException)
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerE
xception)
        at org.eclipse.swt.SWT.error(SWT.java:1877)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.ja
va:96)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1342)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1170)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:729)
        at org.eclipse.ui.internal.Workbench.run(Workbench.java:712)
        at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoa
der.java:820)
        at org.eclipse.core.boot.BootLoader.run(BootLoader.java:285)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:151)
        at org.eclipse.core.launcher.Main.run(Main.java:502)
        at org.eclipse.core.launcher.UIMain.main(UIMain.java:52)
Failed to execute runnable (java.lang.NullPointerException)
Comment 1 Mike Wilson CLA 2001-11-19 14:32:18 EST
The "Failed to execute runnable" exceptions are just SWT trying to be helpful 
by notifying you that a problem occurred while a runnable was being executed 
by the u/i thread on behalf of the application. You need to look down the 
stack trace to find out what the real problem is. In this case, a NPE in the 
jface.text ContentAssistant.
Comment 2 Kai-Uwe Maetzel CLA 2001-12-12 08:44:38 EST
Build 20011211.