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.
Build: NetBeans IDE Dev (Build 200812080201) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Linux, 2.6.27-7-generic, i386 User Comments: martin_zmrhal: Invoked debug file on index.jsp in freshly created webproject Stacktrace: java.lang.NullPointerException at org.netbeans.modules.web.project.WebActionProvider.getTargetNames(WebActionProvider.java:425) at org.netbeans.modules.web.project.WebActionProvider$2.run(WebActionProvider.java:238) at org.netbeans.modules.web.project.WebActionProvider.invokeAction(WebActionProvider.java:264) at org.netbeans.modules.project.ui.actions.FileCommandAction.actionPerformed(FileCommandAction.java:96) at org.netbeans.modules.project.ui.actions.LookupSensitiveAction.actionPerformed(LookupSensitiveAction.java:161) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
Created attachment 74681 [details] stacktrace
Also reproducible with "run file" in .jsp context menu and with keyboard shortcut shift+F5, shift+F6.
Sorry, I have meant keyboard shortcuts Ctrl+Shift+F5 and Shift+F6
Build: NetBeans IDE Dev (Build 20081208162825) VM: Java HotSpot(TM) Client VM, 11.0-b13, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b26 OS: Windows XP, 5.1, x86 User Comments: opened an .html file in Favorites window and attempted a 'Debug File' action on that Stacktrace: java.lang.NullPointerException at org.netbeans.modules.web.project.WebActionProvider.getTargetNames(WebActionProvider.java:425) at org.netbeans.modules.web.project.WebActionProvider$2.run(WebActionProvider.java:238) at org.netbeans.modules.web.project.WebActionProvider.invokeAction(WebActionProvider.java:264) at org.netbeans.modules.project.ui.actions.FileCommandAction.actionPerformed(FileCommandAction.java:96) at org.netbeans.modules.project.ui.actions.LookupSensitiveAction.actionPerformed(LookupSensitiveAction.java:161) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
Created attachment 74725 [details] stacktrace
Upping the priority -- we have lost functionality to run debug file on jsp or html files of a web project. Please fix for m1.
Build: NetBeans IDE Dev (Build 200812080201) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Linux, 2.6.27-9-generic, i386 User Comments: - want to debug JSP page (with some breakpoints) Stacktrace: java.lang.NullPointerException at org.netbeans.modules.web.project.WebActionProvider.getTargetNames(WebActionProvider.java:425) at org.netbeans.modules.web.project.WebActionProvider$2.run(WebActionProvider.java:238) at org.netbeans.modules.web.project.WebActionProvider.invokeAction(WebActionProvider.java:264) at org.netbeans.modules.project.ui.actions.FileCommandAction.actionPerformed(FileCommandAction.java:96) at org.netbeans.modules.project.ui.actions.LookupSensitiveAction.actionPerformed(LookupSensitiveAction.java:161) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
Created attachment 74732 [details] stacktrace
Fixed http://hg.netbeans.org/main/rev/3cac43de52dc
The issue is fixed