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 201507200001) VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b02, Java(TM) SE Runtime Environment, 1.8.0_51-b13 OS: Windows 7 User Comments: mkhramov: Invoke View Servlet command for jsp file Stacktrace: java.lang.IllegalStateException: Cannot create PositionRef for file C:/Oracle/glassfish/domains/domain1/generated/jsp/j2ee-modules/StatusTool2/org/apache/jsp/SummaryReport_jsp.java. CloneableEditorSupport not found at org.netbeans.api.java.source.TreePathHandle.createPositionRef(TreePathHandle.java:364) at org.netbeans.api.java.source.TreePathHandle.create(TreePathHandle.java:246) at org.netbeans.spi.java.hints.JavaFix.<init>(JavaFix.java:120) at org.netbeans.spi.java.hints.JavaFix.<init>(JavaFix.java:102) at org.netbeans.spi.java.hints.JavaFixUtilities$RemoveFromParent.<init>(JavaFixUtilities.java:1497) at org.netbeans.spi.java.hints.JavaFixUtilities.removeFromParent(JavaFixUtilities.java:220)
Created attachment 154796 [details] stacktrace
I provided a workaround in jet-main#9ffe3dfb155d which will suppress hints on files without the necessary *editorsupports. But still the JspServletDataObject should expose Open/EditorCookie otherwise other features might be broken as well. Reassigning to JSP/web for proper fix.
Integrated into 'main-silver', will be available in build *201507290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/9ffe3dfb155d User: Svata Dedic <sdedic@netbeans.org> Log: #253652: partial fix - do not run hints on files without editor support, breaks assumptions in hint/fix code