Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335727 - Remove all breakpoint causes an NPE
Summary: Remove all breakpoint causes an NPE
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.7 M6   Edit
Assignee: Dani Megert CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-28 13:41 EST by Patrick Chuong CLA
Modified: 2011-03-15 09:46 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 Patrick Chuong CLA 2011-01-28 13:41:01 EST
While I am running JUnit test for my debugger, I run into this NPE many times.

	at com.ti.ccstudio.tests.platform.internal.CTPLogger2$1.logging(CTPLogger2.java:374)
	at org.eclipse.core.internal.runtime.RuntimeLog.log(RuntimeLog.java:95)
	at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:653)
	at org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:71)
Caused by: java.lang.NullPointerException
	at org.eclipse.debug.ui.DebugUITools.deleteBreakpoints(DebugUITools.java:276)
	at org.eclipse.debug.internal.ui.actions.breakpoints.RemoveAllBreakpointsAction$1.run(RemoveAllBreakpointsAction.java:125)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Dani Megert CLA 2011-01-31 05:10:32 EST
Fixed in HEAD (DebugUITools.java, rev. 1.121).
Comment 2 Dani Megert CLA 2011-03-15 09:46:14 EDT
Verified in I20110310-1119.