Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311207 - [examples] NPE terminating PDA debug target
Summary: [examples] NPE terminating PDA debug target
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6 RC1   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-30 12:31 EDT by Darin Wright CLA
Modified: 2010-05-04 16:23 EDT (History)
1 user (show)

See Also:
Michael_Rennie: review+


Attachments
patch (1.34 KB, patch)
2010-04-30 12:44 EDT, Darin Wright CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Wright CLA 2010-04-30 12:31:16 EDT
Launch a PDA target to a breakpoint, press terminate. 

eclipse.buildId=I20100429-1549
java.version=1.6.0_18
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.sdk.ide
Command-line arguments:  -product org.eclipse.sdk.ide -data C:\eclipse-dev\next-bench -dev file:C:/eclipse-dev/dev-3.6-2010/.metadata/.plugins/org.eclipse.pde.core/Next Bench/dev.properties -os win32 -ws win32 -arch x86 -consoleLog


Error
Fri Apr 30 11:29:41 CDT 2010
An internal error has occurred.

java.lang.NullPointerException
	at org.eclipse.debug.examples.ui.pda.views.DataStackView.update(DataStackView.java:172)
	at org.eclipse.debug.examples.ui.pda.views.DataStackView.access$1(DataStackView.java:157)
	at org.eclipse.debug.examples.ui.pda.views.DataStackView$1.runInUIThread(DataStackView.java:148)
	at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2601)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2565)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2399)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:669)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:662)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Comment 1 Darin Wright CLA 2010-04-30 12:44:54 EDT
Created attachment 166640 [details]
patch
Comment 2 Michael Rennie CLA 2010-05-04 16:23:10 EDT
+1 for RC1 the check is good in the event the view has been closed while an update is pending.

I also found bug 311624 while trying to reproduce this.

applied patch to HEAD