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 100752 - Last editor held by JavaSource.editorRegistryListener
Summary: Last editor held by JavaSource.editorRegistryListener
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords: PERFORMANCE
: 100866 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-12 10:31 UTC by _ rkubacki
Modified: 2007-04-20 09:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Insane dump. (1.05 KB, text/plain)
2007-04-20 09:41 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2007-04-12 10:31:50 UTC
Even if it is not Java editor. It is not nice if we have editors that are very
eager like XSD or some others in enterprise support.

Static reference from
org.netbeans.api.java.source.JavaSource.editorRegistryListener (from class
org.netbeans.api.java.source.JavaSource) :
--> org.netbeans.api.java.source.JavaSource$EditorRegistryListener@0x6d62f1c0
(12 bytes) (field lastEditor:)
--> org.openide.text.QuietEditorPane@0x74734fa8 (451 bytes) (field parent:)
--> javax.swing.JViewport@0x749e7718 (351 bytes) (field parent:)
--> javax.swing.JScrollPane@0x749eb180 (369 bytes) (field parent:)
--> javax.swing.JPanel@0x749e7580 (320 bytes) (field parent:)
-->
org.netbeans.modules.xml.schema.core.multiview.SchemaSourceMultiViewElement@0x74734e00
(415 bytes)
Comment 1 Jan Lahoda 2007-04-20 09:39:14 UTC
Should be fixed now. Unfortunately, it seems that the last document (actually, 2
documents, for the same file) opened in the IDE are still not freed - see
attached result from the insane.

Checking in DocumentsRegistry.java;
/cvs/editor/lib2/src/org/netbeans/modules/editor/lib2/DocumentsRegistry.java,v 
<--  DocumentsRegistry.java
new revision: 1.5; previous revision: 1.4
done
Comment 2 Jan Lahoda 2007-04-20 09:39:23 UTC
*** Issue 100866 has been marked as a duplicate of this issue. ***
Comment 3 Jan Lahoda 2007-04-20 09:41:16 UTC
Created attachment 41318 [details]
Insane dump.