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 246342 - 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: 8.0
Hardware: All All
: P1 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
: 247202 247517 247658 247680 251450 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-08-08 09:47 UTC by abien
Modified: 2015-03-27 08:15 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 209497


Attachments
stacktrace (4.34 KB, text/plain)
2014-08-08 09:47 UTC, abien
Details

Note You need to log in before you can comment on or make changes to this bug.
Description abien 2014-08-08 09:47:05 UTC
Build: NetBeans IDE Dev (Build 201408030001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132
OS: Mac OS X

User Comments:
GUEST: I'm trying to take a debug snapshot from a JavaFX application for the visual debugger.

abien: Happened during clicking on the "Snapshot" button during debugging




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.jdi.MirrorImpl.validateMirror(MirrorImpl.java:67)
   at com.sun.tools.jdi.ClassTypeImpl.setValue(ClassTypeImpl.java:124)
   at org.netbeans.modules.debugger.jpda.jdi.ClassTypeWrapper.setValue(ClassTypeWrapper.java:469)
   at org.netbeans.modules.debugger.jpda.visual.RemoteServices.clearPreferredEQThread(RemoteServices.java:346)
   at org.netbeans.modules.debugger.jpda.visual.RemoteServices.runOnStoppedThread(RemoteServices.java:528)
   at org.netbeans.modules.debugger.jpda.visual.RemoteFXScreenshot.take(RemoteFXScreenshot.java:235)
Comment 1 abien 2014-08-08 09:47:07 UTC
Created attachment 148600 [details]
stacktrace
Comment 2 Martin Entlicher 2014-08-08 18:34:28 UTC
Fixed by changeset:   277241:adbcd404e7a7
http://hg.netbeans.org/core-main/rev/adbcd404e7a7
Comment 3 Quality Engineering 2014-08-10 01:50:51 UTC
Integrated into 'main-silver', will be available in build *201408100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/adbcd404e7a7
User: mentlicher@netbeans.org
Log: #246342: Assure that preferredEventThreadField is not null.
Comment 4 Martin Entlicher 2014-09-19 11:05:11 UTC
*** Bug 247202 has been marked as a duplicate of this bug. ***
Comment 5 Jiri Kovalsky 2014-09-29 08:13:37 UTC
*** Bug 247517 has been marked as a duplicate of this bug. ***
Comment 6 Jiri Kovalsky 2014-09-29 12:30:53 UTC
Another duplicate from community. This needs to be fixed in NetBeans IDE 8.0.1 Patch 1.

Martine, please transplant the fix to releases repository. Thanks.
Comment 7 Jiri Kovalsky 2014-09-29 12:35:34 UTC
BTW, fix successfully verified in:

Product Version: NetBeans IDE Dev (Build 201409160001)
Java: 1.8.0_20; Java HotSpot(TM) 64-Bit Server VM 25.20-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26
System: Linux version 3.13.0-24-generic running on amd64; UTF-8; en_US (nb)
Comment 8 Martin Entlicher 2014-09-29 12:45:17 UTC
Transplanted into release801 branch in releases repository:
http://hg.netbeans.org/releases/rev/7a82dd0600dd
http://hg.netbeans.org/releases/rev/545b8b636493
Comment 9 Quality Engineering 2014-09-30 09:08:02 UTC
Integrated into 'releases/release801', will be available in build *201409300841* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/7a82dd0600dd
User: mentlicher@netbeans.org
Log: #246342: Assure that preferredEventThreadField is not null.
(transplanted from adbcd404e7a7cf6454e57a3fd4ea39bb51b1a458)
Comment 10 Martin Entlicher 2014-10-03 05:45:09 UTC
*** Bug 247658 has been marked as a duplicate of this bug. ***
Comment 11 Jiri Kovalsky 2014-10-06 10:29:47 UTC
*** Bug 247680 has been marked as a duplicate of this bug. ***
Comment 12 Martin Entlicher 2015-03-27 08:15:10 UTC
*** Bug 251450 has been marked as a duplicate of this bug. ***