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 211701 - NullPointerException at com.sun.tools.jdi.MirrorImpl.validateMirror
Summary: NullPointerException at com.sun.tools.jdi.MirrorImpl.validateMirror
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
: 211702 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-04-25 11:11 UTC by gholmer
Modified: 2012-05-10 11:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 187046


Attachments
stacktrace (1.42 KB, text/plain)
2012-04-25 11:12 UTC, gholmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gholmer 2012-04-25 11:11:59 UTC
Build: NetBeans IDE Dev (Build 201204240400)
VM: Java HotSpot(TM) Client VM, 22.0-b10, Java(TM) SE Runtime Environment, 1.7.0_02-b13
OS: Linux

User Comments:
GUEST: I was debugging, My only action was to click on F4 to get to the start of a method that is accessed from a mouse event callback.

gholmer: Created the Cube3D sample JavaFX project; started in debugger. Exception appeared while stepping through code.




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.jdi.MirrorImpl.validateMirror(MirrorImpl.java:67)
   at com.sun.tools.jdi.ClassTypeImpl.invokeMethod(ClassTypeImpl.java:213)
   at org.netbeans.modules.debugger.jpda.jdi.ClassTypeWrapper.invokeMethod(ClassTypeWrapper.java:280)
   at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.initDebuggerRemoteService(VisualDebuggerListener.java:297)
   at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.access$100(VisualDebuggerListener.java:122)
   at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener$3.breakpointReached(VisualDebuggerListener.java:201)
Comment 1 gholmer 2012-04-25 11:12:05 UTC
Created attachment 118738 [details]
stacktrace
Comment 2 Martin Entlicher 2012-04-25 13:33:57 UTC
Fixed by changeset:   220140:7107606be402
http://hg.netbeans.org/main/rev/7107606be402
Comment 3 Quality Engineering 2012-04-26 10:32:24 UTC
Integrated into 'main-golden', will be available in build *201204260400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/7107606be402
User: mentlicher@netbeans.org
Log: #211701: Prevent from NPE with JavaFX.
Comment 4 J Bachorik 2012-05-10 11:31:24 UTC
*** Bug 211702 has been marked as a duplicate of this bug. ***