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 63254

Summary: Exception when saving winsys during IDE exit
Product: platform Reporter: mslama <mslama>
Component: -- Other --Assignee: mslama <mslama>
Status: VERIFIED FIXED    
Severity: blocker CC: jtulach, rmatous
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Exception call stack
Another example

Description mslama 2005-08-29 15:33:47 UTC
I will attach call stack. It happens on current fresh dev build 050829, JVM:
1.6.0-ea; Java HotSpot(TM) Server VM 1.6.0-ea-b49; Sun Microsystems Inc.
Comment 1 mslama 2005-08-29 15:37:33 UTC
Created attachment 24312 [details]
Exception call stack
Comment 2 mslama 2005-08-29 15:44:16 UTC
Steps to reproduce: Start IDE with empty userdir and exit IDE. Exceptions are
logged to console. It hapens always. It does not happen with JDK 1.5.0_04.
Please evaluate soon to find out if it is NetBeans IDE or JDK problem. It is
potentially serious problem as winsys is probably not saved correctly. I will
attach another example, it does not happen only during IDE exit.
Comment 3 mslama 2005-08-29 15:45:33 UTC
Created attachment 24313 [details]
Another example
Comment 4 mslama 2005-09-13 09:50:46 UTC
I found reason: FileEntityResolver from core opens input stream but does not
close it.
Comment 5 mslama 2005-09-13 09:52:09 UTC
*** Issue 63855 has been marked as a duplicate of this issue. ***
Comment 6 mslama 2005-09-13 10:43:04 UTC
Fixed in main trunk. InputStream must be closed explictly.

Modified:
/cvs/core/src/org/netbeans/core/xml/FileEntityResolver.java
new revision: 1.25; previous revision: 1.24
Comment 7 mslama 2005-09-15 09:54:45 UTC
*** Issue 64054 has been marked as a duplicate of this issue. ***
Comment 8 Jaromir Uhrik 2006-01-16 15:43:53 UTC
Marking this issue as VERIFIED since the issue reporter == issue owner.