This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 160895

Summary: NullPointerException at com.sun.tools.jdi.ReferenceTypeImpl.constantPool
Product: debugger Reporter: Filip Zamboj <fzamboj>
Component: JavaAssignee: issues@debugger <issues>
Status: CLOSED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=146945
Issue Type: DEFECT Exception Reporter: 146945
Attachments: stacktrace

Description Filip Zamboj 2009-03-23 16:36:07 UTC
Build: NetBeans IDE Dev (Build 200903230201)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b02
OS: Linux, 2.6.27-11-generic, amd64

User Comments:
sjkuyper: Stepping through code

GUEST: Debugging Acrostic Tutorial with Step Into

fzamboj: Thrown when stepping into class. 

Steps (or how it happened better to say):
1. start debugging session
2. disable source root to jdk sources
3. step into non jdk method
4. you got exception

GUEST: Steping during debug session

dwanvik: Stepping out of a method



Stacktrace: 
java.lang.IllegalStateException: java.lang.NullPointerException
        at org.netbeans.modules.debugger.jpda.jdi.ReferenceTypeWrapper.constantPool(ReferenceTypeWrapper.java:227)
        at org.netbeans.modules.debugger.jpda.ExpressionPool.createExpressionAt(ExpressionPool.java:168)
        at org.netbeans.modules.debugger.jpda.ExpressionPool.getExpressionAt(ExpressionPool.java:102)
        at org.netbeans.modules.debugger.jpda.actions.StepActionProvider.setLastOperation(StepActionProvider.java:462)
        at org.netbeans.modules.debugger.jpda.actions.StepIntoNextMethod.exec(StepIntoNextMethod.java:311)
        at org.netbeans.modules.debugger.jpda.util.Operator$1.run(Operator.java:338)
Comment 1 Filip Zamboj 2009-03-23 16:36:13 UTC
Created attachment 78656 [details]
stacktrace
Comment 2 Martin Entlicher 2009-03-23 16:40:30 UTC
I've no idea why exception reporter creates a separate issue for this.

*** This issue has been marked as a duplicate of 158634 ***
Comment 3 Quality Engineering 2010-04-29 09:49:34 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.