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 68318 - 2nd and subsequent starts of NB fail in endless stackoverflowexception
Summary: 2nd and subsequent starts of NB fail in endless stackoverflowexception
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: REGRESSION
: 68341 68380 68434 68445 68478 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-08 22:38 UTC by _ ttran
Modified: 2008-12-22 22:51 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log file (413.72 KB, text/plain)
2005-11-08 22:39 UTC, _ ttran
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ ttran 2005-11-08 22:38:17 UTC
fresh build from today's CVS

- run the IDE with fresh userdir
- do nothing, just File -> Exit
- start the IDE again with the same userdir
- StackOverFlowException

The userdir doesn't need to be fresh.  100% reproducible on my machine and jesse
glick's machine, both are linux
Comment 1 _ ttran 2005-11-08 22:39:27 UTC
Created attachment 26726 [details]
log file
Comment 2 _ ttran 2005-11-08 22:42:12 UTC
This is caused by the fix for issue 66438.  Jesse's just rolled it back.
I filed this bug for the record.  Probably will need to be merged into beta2 branch
Comment 3 Jesse Glick 2005-11-08 22:53:14 UTC
Root cause is that DS, MIME, and Lookup are semantically mutually recursive. Not
sure how to fix that w/o backward incompatibility. Ideally MIMEResolver would
never be used on SFS but that would break templates as well as some exotic
Services API usages.
Comment 4 Jaroslav Tulach 2005-11-09 07:06:45 UTC
Imho the root cause is that last time someone fixed this problem, no test was 
written to simulate it. 
Comment 5 Jaroslav Tulach 2005-11-09 07:23:32 UTC
The commit was reverted by Jesse, thanks. Closing and will add fix as part of 
issue 66438. 
Comment 6 Jaroslav Tulach 2005-11-09 09:59:16 UTC
Rollback was backported to release50_beta2 branch: 
 
openide/fs/src/org/openide/filesystems/MIMESupport.java,v  <--  
MIMESupport.java 
new revision: 1.3.2.1; previous revision: 1.3 
Comment 7 Jaroslav Tulach 2005-11-09 13:52:11 UTC
*** Issue 68341 has been marked as a duplicate of this issue. ***
Comment 8 Jan Lahoda 2005-11-10 09:26:09 UTC
*** Issue 68434 has been marked as a duplicate of this issue. ***
Comment 9 Marian Mirilovic 2005-11-10 12:34:41 UTC
*** Issue 68445 has been marked as a duplicate of this issue. ***
Comment 10 Tomas Hurka 2005-11-10 18:15:39 UTC
*** Issue 68478 has been marked as a duplicate of this issue. ***
Comment 11 Peter Pis 2005-11-14 14:32:17 UTC
*** Issue 68380 has been marked as a duplicate of this issue. ***