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 201212040001) VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-b18 OS: Windows 7 User Comments: jskrivanek: To reproduce: - create web project with GlassFish server - run project - right-click index.jsp and choose "View Servlet" Stacktrace: java.lang.NullPointerException at org.netbeans.modules.java.editor.fold.JavaElementFoldManager.initFolds(JavaElementFoldManager.java:152) at org.netbeans.modules.editor.fold.FoldOperationImpl.initFolds(FoldOperationImpl.java:115) at org.netbeans.modules.editor.fold.FoldHierarchyExecution.rebuildManagers(FoldHierarchyExecution.java:727) at org.netbeans.modules.editor.fold.FoldHierarchyExecution.rebuild(FoldHierarchyExecution.java:660) at org.netbeans.modules.editor.fold.FoldHierarchyExecution.run(FoldHierarchyExecution.java:252) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1454)
Created attachment 128835 [details] stacktrace
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/9b0935e75ea4
Integrated into 'main-golden', will be available in build *201212050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/9b0935e75ea4 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #223253: NullPointerException at org.netbeans.modules.java.editor.fold.JavaElementFoldManager.initFolds - fixed.