Bug 103326 - NPE executing step into command
Summary: NPE executing step into command
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1.1   Edit
Assignee: Darin Wright CLA Friend
QA Contact:
URL:
Whiteboard:
Keywords:
: 114309 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-11 10:47 EDT by Rob Frost CLA Friend
Modified: 2005-11-28 16:54 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Frost CLA Friend 2005-07-11 10:47:11 EDT
I've been testing debugging (using the
JavaRemoteApplicationLaunchConfigurationDelegate) for a simple servlet deployed
to a generic WLS server and unexpectedly hit an NPE during one debugging session
(the "Use Step Filters/Step Debug" had been selected and deselecting that
allowed me to continue debugging):

!ENTRY org.eclipse.core.runtime 4 2 2005-07-11 10:36:50.890
!MESSAGE An internal error occurred during: "Step Over".
!STACK 0
java.lang.NullPointerException
	at
org.eclipse.jdt.internal.debug.core.model.JDIThread$StepHandler.attachFiltersToStepRequest(JDIThread.java:1846)
	at
org.eclipse.jdt.internal.debug.core.model.JDIThread$StepHandler.createStepRequest(JDIThread.java:1756)
	at
org.eclipse.jdt.internal.debug.core.model.JDIThread$StepHandler.step(JDIThread.java:1704)
	at
org.eclipse.jdt.internal.debug.core.model.JDIThread.stepOver(JDIThread.java:1234)
	at
org.eclipse.debug.internal.ui.actions.StepOverActionDelegate.stepAction(StepOverActionDelegate.java:30)
	at
org.eclipse.debug.internal.ui.actions.StepActionDelegate.doAction(StepActionDelegate.java:25)
	at
org.eclipse.debug.internal.ui.actions.AbstractDebugActionDelegate$DebugRequestJob.run(AbstractDebugActionDelegate.java:150)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Comment 1 Rob Frost CLA Friend 2005-07-11 11:03:49 EDT
fyi: the debug step filter prefs were set to the defaults (i.e. just
java.lang.ClassLoader enabled)
Comment 2 Darin Wright CLA Friend 2005-07-12 10:37:51 EDT
Looking at the code, an NPE looks possible. Needs investigation.
Comment 3 Kevin Barnes CLA Friend 2005-07-14 11:17:25 EDT
Fixed in HEAD
Comment 4 Kevin Barnes CLA Friend 2005-07-14 11:22:45 EDT
fixed in R3_1_maintenance branch also. 
Changes in JDIThread
Comment 5 Kevin Barnes CLA Friend 2005-07-14 11:24:07 EDT
Darin, please verify
Comment 6 Darin Wright CLA Friend 2005-07-25 10:17:31 EDT
Verified.
Comment 7 Darin Wright CLA Friend 2005-11-28 16:54:54 EST
*** Bug 114309 has been marked as a duplicate of this bug. ***