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 268157 - Apply Code Changes causes NPE when called from SQL-Window
Summary: Apply Code Changes causes NPE when called from SQL-Window
Status: RESOLVED DUPLICATE of bug 267850
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: Dev
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-22 13:50 UTC by k_sch
Modified: 2016-09-27 16:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description k_sch 2016-09-22 13:50:24 UTC
When using Debug / Apply Code Changes it causes an NPE with the following stack trace:

java.lang.NullPointerException
	at org.netbeans.modules.debugger.jpda.projectsui.FixActionProvider.invokeAction(FixActionProvider.java:200)
	at org.netbeans.modules.debugger.jpda.projectsui.FixActionProvider.access$000(FixActionProvider.java:101)
	at org.netbeans.modules.debugger.jpda.projectsui.FixActionProvider$1.run(FixActionProvider.java:163)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused: java.lang.reflect.InvocationTargetException
	at java.awt.EventQueue.invokeAndWait(EventQueue.java:1321)
	at java.awt.EventQueue.invokeAndWait(EventQueue.java:1296)
	at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348)
[catch] at org.netbeans.modules.debugger.jpda.projectsui.FixActionProvider.doAction(FixActionProvider.java:160)
	at org.netbeans.spi.debugger.ActionsProvider$1.run(ActionsProvider.java:131)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
Comment 1 Martin Entlicher 2016-09-27 16:19:18 UTC

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