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 - Exception when saving winsys during IDE exit
Summary: Exception when saving winsys during IDE exit
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: mslama
URL:
Keywords:
: 63855 64054 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-29 15:33 UTC by mslama
Modified: 2008-12-22 21:55 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception call stack (37.97 KB, text/plain)
2005-08-29 15:37 UTC, mslama
Details
Another example (3.62 KB, text/plain)
2005-08-29 15:45 UTC, mslama
Details

Note You need to log in before you can comment on or make changes to this bug.
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.