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 223785 - IllegalStateException: Different documents used by fold hierarchy and fold task. Fold hierarchy document: org.netbeans.modules.editor.NbEditorDocument@6b2da268, mimeType='text/x-java', kitClass=null,
Summary: IllegalStateException: Different documents used by fold hierarchy and fold ta...
Status: RESOLVED DUPLICATE of bug 223741
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-13 14:26 UTC by Jiri Prox
Modified: 2012-12-13 14:32 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 196235


Attachments
stacktrace (7.45 KB, text/plain)
2012-12-13 14:26 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2012-12-13 14:26:50 UTC
Build: NetBeans IDE Dev (Build 201212130001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-b31
OS: Mac OS X

User Comments:
jiriprox: ISE when pressing Refresh button in refactornig preview panel (I was performing Change method paremeters)




Stacktrace: 
java.lang.IllegalStateException: Different documents used by fold hierarchy and fold task.
Fold hierarchy document: org.netbeans.modules.editor.NbEditorDocument@6b2da268, mimeType='text/x-java', kitClass=null, length=4, version=1, file=org.netbeans.modules.java.JavaDataObject@587d9879[/Users/tester/Downloads/default/src/org/netbeans/tests/examples/packb/BeanA.java@8299e2a7:113d7493]
Fold task document: org.netbeans.modules.editor.NbEditorDocument@6445e177, mimeType='text/x-java', kitClass=null, length=2271, version=46, file=org.netbeans.modules.java.JavaDataObject@587d9879[/Users/tester/Downloads/default/src/org/netbeans/tests/examples/packb/BeanA.java@8299e2a7:113d7493]
   at org.netbeans.modules.java.editor.fold.JavaElementFoldManager.initFolds(JavaElementFoldManager.java:153)
   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$1.run(FoldHierarchyExecution.java:608)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1454)
Comment 1 Jiri Prox 2012-12-13 14:26:52 UTC
Created attachment 129330 [details]
stacktrace
Comment 2 Dusan Balek 2012-12-13 14:32:04 UTC
Already fixed.

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