Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 322317

Summary: [zend debugger]NPE exception when debugging without switching to the debug perspective
Product: z_Archived Reporter: Zhongwei Zhao <zhaozhongwei>
Component: PDTAssignee: Zhongwei Zhao <zhaozhongwei>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: bartlomiej.l, silviya
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Zhongwei Zhao CLA 2010-08-11 03:38:56 EDT
use zend debugger, php 5.3 and simple script

java.lang.NullPointerException
                at org.eclipse.php.internal.debug.core.zend.model.ContextManager.getStackFrames(ContextManager.java:75)
                at org.eclipse.php.internal.debug.core.zend.model.PHPDebugTarget.getStackFrames(PHPDebugTarget.java:752)
                at org.eclipse.php.internal.debug.core.zend.model.PHPThread.getStackFrames(PHPThread.java:50)
                at org.eclipse.php.internal.debug.core.zend.model.PHPThread.getTopStackFrame(PHPThread.java:80)
                at org.eclipse.debug.internal.ui.viewers.update.ThreadEventHandler.fireDeltaUpdatingSelectedFrame(ThreadEventHandler.java:222)
                at org.eclipse.debug.internal.ui.viewers.update.ThreadEventHandler.handleSuspend(ThreadEventHandler.java:98)
                at org.eclipse.debug.internal.ui.viewers.update.EventHandlerModelProxy.dispatchSuspend(EventHandlerModelProxy.java:199)
                at org.eclipse.debug.internal.ui.viewers.update.EventHandlerModelProxy.handleDebugEvents(EventHandlerModelProxy.java:135)
                at org.eclipse.debug.core.DebugPlugin$EventNotifier.run(DebugPlugin.java:1089)
                at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
                at org.eclipse.debug.core.DebugPlugin$EventNotifier.dispatch(DebugPlugin.java:1123)
                at org.eclipse.debug.core.DebugPlugin$EventDispatchJob.run(DebugPlugin.java:390)
                at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Bartlomiej Laczkowski CLA 2016-07-19 18:32:19 EDT
Fixed after changes for bug #455899.
Comment 2 Sylvia Tancheva CLA 2016-08-03 10:35:09 EDT
Closing