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 223253 - NullPointerException at org.netbeans.modules.java.editor.fold.JavaElementFoldManager.initFolds
Summary: NullPointerException at org.netbeans.modules.java.editor.fold.JavaElementFold...
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-04 12:50 UTC by Jiri Skrivanek
Modified: 2012-12-05 08:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 196079


Attachments
stacktrace (4.44 KB, text/plain)
2012-12-04 12:50 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2012-12-04 12:50:31 UTC
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)
Comment 1 Jiri Skrivanek 2012-12-04 12:50:33 UTC
Created attachment 128835 [details]
stacktrace
Comment 2 Dusan Balek 2012-12-04 13:34:48 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/9b0935e75ea4
Comment 3 Quality Engineering 2012-12-05 02:58:09 UTC
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.