Bug 6087 - NPE closing content assist from DisplayView on exit
Summary: NPE closing content assist from DisplayView on exit
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC other
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Kai-Uwe Maetzel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-19 17:11 EST by Darin Swanson CLA
Modified: 2001-11-22 13:45 EST (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 Darin Swanson CLA 2001-11-19 17:11:41 EST
In the display view, with a debugger program suspended at a breakpoint, use 
Ctrl-space to realize the content assistant.
Attempt to exit Eclipse.

java.lang.NullPointerException
	at 
org.eclipse.jface.text.contentassist.ContentAssistant$Closer.uninstall
(ContentAssistant.java:78)
	at 
org.eclipse.jface.text.contentassist.ContentAssistant.removeContentAssistListene
r(ContentAssistant.java:984)
	at org.eclipse.jface.text.contentassist.CompletionProposalPopup.hide
(CompletionProposalPopup.java:199)
	at org.eclipse.jface.text.contentassist.ContentAssistant$Closer.hide
(ContentAssistant.java:150)
	at 
org.eclipse.jface.text.contentassist.ContentAssistant$Closer.widgetDisposed
(ContentAssistant.java:138)
	at org.eclipse.swt.widgets.TypedListener.handleEvent
(TypedListener.java:96)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Compiled Code))
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Compiled Code))
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Compiled Code))
	at org.eclipse.swt.widgets.Widget.releaseWidget(Widget.java:735)
	at org.eclipse.swt.widgets.Control.releaseWidget(Control.java:1303)
	at org.eclipse.swt.widgets.Scrollable.releaseWidget(Scrollable.java:186)
	at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:310)
	at org.eclipse.swt.widgets.Canvas.releaseWidget(Canvas.java:112)
	at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:302)
	at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:309)
	at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:302)
	at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:309)
	at org.eclipse.swt.widgets.Widget.dispose(Widget.java:353)
	at org.eclipse.ui.internal.PartPane.dispose(PartPane.java:114)
	at org.eclipse.ui.internal.ViewFactory.destroyView(ViewFactory.java:152)
	at org.eclipse.ui.internal.ViewFactory.releaseView(ViewFactory.java:197)
	at org.eclipse.ui.internal.Perspective.dispose(Perspective.java:201)
	at org.eclipse.ui.internal.WorkbenchPage.dispose(WorkbenchPage.java:552)
	at org.eclipse.ui.internal.WorkbenchWindow.closeAllPages
(WorkbenchWindow.java:316)
	at org.eclipse.ui.internal.WorkbenchWindow.hardClose
(WorkbenchWindow.java:591)
	at org.eclipse.ui.internal.WorkbenchWindow.busyClose
(WorkbenchWindow.java:261)
	at org.eclipse.ui.internal.WorkbenchWindow.access$3
(WorkbenchWindow.java:252)
	at org.eclipse.ui.internal.WorkbenchWindow$1.run
(WorkbenchWindow.java:292)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:56)
	at org.eclipse.ui.internal.WorkbenchWindow.close
(WorkbenchWindow.java:290)
	at org.eclipse.jface.window.WindowManager.close(WindowManager.java:103)
	at org.eclipse.ui.internal.Workbench$2.run(Workbench.java:101)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:812)
	at org.eclipse.core.runtime.Platform.run(Platform.java:395)
	at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:99)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:77)
	at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:159)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:56)
	at org.eclipse.ui.internal.Workbench.close(Workbench.java:157)
	at org.eclipse.ui.internal.QuitAction.run(QuitAction.java:31)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:453)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:407)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent
(ActionContributionItem.java:361)
	at org.eclipse.jface.action.ActionContributionItem.access$0
(ActionContributionItem.java:352)
	at 
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent
(ActionContributionItem.java:47)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java
(Compiled Code))
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:635)
	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:712)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:820)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:285)
	at SlimLauncher.main(SlimLauncher.java:14)
Log: Mon Nov 19 16:10:41 CST 2001
1 org.eclipse.core.resources 4 Unhandled exception caught in event loop.
Log: Mon Nov 19 16:10:41 CST 2001
4 org.eclipse.ui 0 java.lang.NullPointerException
java.lang.NullPointerException
	at 
org.eclipse.jface.text.contentassist.ContentAssistant$Closer.focusLost
(ContentAssistant.java:122)
	at org.eclipse.swt.widgets.TypedListener.handleEvent
(TypedListener.java:104)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Compiled Code))
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Compiled Code))
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Compiled Code))
	at org.eclipse.swt.widgets.Control.WM_KILLFOCUS(Control.java:3109)
	at org.eclipse.swt.widgets.Canvas.WM_KILLFOCUS(Canvas.java:203)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java(Compiled 
Code))
	at org.eclipse.swt.widgets.Display.windowProc(Display.java(Compiled 
Code))
	at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
	at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java
(Compiled Code))
	at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java
(Compiled Code))
	at org.eclipse.swt.widgets.Control.windowProc(Control.java(Compiled 
Code))
	at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java
(Compiled Code))
	at org.eclipse.swt.widgets.Display.windowProc(Display.java(Compiled 
Code))
	at org.eclipse.swt.internal.win32.OS.BringWindowToTop(Native Method)
	at org.eclipse.swt.widgets.Decorations.bringToTop(Decorations.java:174)
	at org.eclipse.swt.widgets.Shell.open(Shell.java:540)
	at org.eclipse.jface.window.Window.open(Window.java:519)
	at org.eclipse.jface.dialogs.ProgressMonitorDialog.run
(ProgressMonitorDialog.java:332)
	at org.eclipse.ui.internal.Workbench.disconnectFromWorkspace
(Workbench.java:187)
	at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:109)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:77)
	at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:159)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:56)
	at org.eclipse.ui.internal.Workbench.close(Workbench.java:157)
	at org.eclipse.ui.internal.QuitAction.run(QuitAction.java:31)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:453)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:407)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent
(ActionContributionItem.java:361)
	at org.eclipse.jface.action.ActionContributionItem.access$0
(ActionContributionItem.java:352)
	at 
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent
(ActionContributionItem.java:47)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java
(Compiled Code))
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:635)
	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:712)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:820)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:285)
	at SlimLauncher.main(SlimLauncher.java:14)
Comment 1 Kai-Uwe Maetzel CLA 2001-11-22 13:45:56 EST
Build > 20011122.