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 254311 - NullPointerException when continuing debugger session after breakpoint properties change
Summary: NullPointerException when continuing debugger session after breakpoint proper...
Status: RESOLVED DUPLICATE of bug 216049
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Martin Entlicher
URL: https://bugs.openjdk.java.net/browse/...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-12 13:34 UTC by stwr
Modified: 2015-08-13 08:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (49.67 KB, application/octet-stream)
2015-08-12 13:34 UTC, stwr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stwr 2015-08-12 13:34:55 UTC
Created attachment 155296 [details]
IDE log

Product Version: NetBeans IDE Dev (Build 201508100002)
Java: 1.8.0_60-ea; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-ea-b25
System: Windows 10 version 10.0 running on amd64; Cp1250; pl_PL (nb)
User directory: C:\Users\Malzonek\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Malzonek\AppData\Local\NetBeans\Cache\dev

I was playing around following test case --> http://services.netbeans.org/synergy/client/app/#/case/1187/suite/1658/v/1.

The NPE has been thrown when:

- I modified the Method Name in breakpoint properties (have used CC and used updateStatus())
- I confirmed changes
- I pressed Continue to resume debugging

java.lang.NullPointerException
	at com.sun.tools.jdi.EventRequestManagerImpl.request(EventRequestManagerImpl.java:943)
	at com.sun.tools.jdi.EventSetImpl$EventImpl.<init>(EventSetImpl.java:88)
	at com.sun.tools.jdi.EventSetImpl$ThreadedEventImpl.<init>(EventSetImpl.java:175)
	at com.sun.tools.jdi.EventSetImpl$LocatableEventImpl.<init>(EventSetImpl.java:195)
	at com.sun.tools.jdi.EventSetImpl$MethodExitEventImpl.<init>(EventSetImpl.java:258)
	at com.sun.tools.jdi.EventSetImpl.createEvent(EventSetImpl.java:725)
	at com.sun.tools.jdi.EventSetImpl.build(EventSetImpl.java:628)
	at com.sun.tools.jdi.EventQueueImpl.removeUnfiltered(EventQueueImpl.java:211)
	at com.sun.tools.jdi.EventQueueImpl.removeInternal(EventQueueImpl.java:124)
	at com.sun.tools.jdi.InternalEventHandler.run(InternalEventHandler.java:54)
[catch] at java.lang.Thread.run(Thread.java:745)
SEVERE [org.openide.util.Exceptions]
java.lang.NullPointerException
	at com.sun.tools.jdi.EventRequestManagerImpl.request(EventRequestManagerImpl.java:943)
	at com.sun.tools.jdi.EventSetImpl$EventImpl.<init>(EventSetImpl.java:88)
	at com.sun.tools.jdi.EventSetImpl$ThreadedEventImpl.<init>(EventSetImpl.java:175)
	at com.sun.tools.jdi.EventSetImpl$LocatableEventImpl.<init>(EventSetImpl.java:195)
	at com.sun.tools.jdi.EventSetImpl$MethodExitEventImpl.<init>(EventSetImpl.java:258)
	at com.sun.tools.jdi.EventSetImpl.createEvent(EventSetImpl.java:725)
	at com.sun.tools.jdi.EventSetImpl.build(EventSetImpl.java:628)
	at com.sun.tools.jdi.EventQueueImpl.removeUnfiltered(EventQueueImpl.java:211)
	at com.sun.tools.jdi.EventQueueImpl.remove(EventQueueImpl.java:96)
	at com.sun.tools.jdi.EventQueueImpl.remove(EventQueueImpl.java:82)
	at org.netbeans.modules.debugger.jpda.jdi.event.EventQueueWrapper.remove(EventQueueWrapper.java:74)
[catch] at org.netbeans.modules.debugger.jpda.util.Operator$1.run(Operator.java:219)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
	at org.netbeans.modules.debugger.jpda.util.Operator$2.run(Operator.java:282)
	at java.lang.Thread.run(Thread.java:745)
Comment 1 Martin Entlicher 2015-08-13 08:12:49 UTC
This is an issue in JDI. I've already provided a patch. You can vote for that issue.

*** This bug has been marked as a duplicate of bug 216049 ***