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 17450 - IDE re-starts in SDI, closed in MDI
Summary: IDE re-starts in SDI, closed in MDI
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
: 17493 (view as bug list)
Depends on:
Blocks: 15668
  Show dependency tree
 
Reported: 2001-11-09 10:36 UTC by Lukas Hasik
Modified: 2008-12-22 18:01 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide.log after second restart (16.28 KB, text/plain)
2001-11-09 11:55 UTC, Lukas Hasik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2001-11-09 10:36:00 UTC
dev 200111090100, JDK1.4 b85

-start IDE in MDI, with clean userdir
-close IDE
-restart IDE

1, IDE re-starts in SDI
2, Properties window is lost - don't appear
3, Welcome Screen shows again - I unchecked it !

It looks like settings are not remembered !
Comment 1 Lukas Hasik 2001-11-09 11:55:36 UTC
Created attachment 3337 [details]
ide.log after second restart
Comment 2 Lukas Hasik 2001-11-09 12:09:20 UTC
It looks like it isn't reproducible on Windows.

I've tryed restart once more (1-MDI, 2-wrong SDI, 3-again SDI) and
"org.xml.sax.SAXException: Parser is already in use" appeared. 
I was able to reproduce this exception even in SDI only but it
required about 5-7 restarts of IDE.

NOTE: IDE works fine on JDK1.3.1
Comment 3 David Simonek 2001-11-09 12:19:11 UTC
This is not reproductible on windows. But anyway, it looks like
settings don't persist correctly and winsys just reacts properly, so
reassigning.
Comment 4 Jan Pokorsky 2001-11-09 14:29:35 UTC
Dafe can you try to handle the exception from log first? It can be 
related to.

What other settings do they work well?
Comment 5 David Simonek 2001-11-09 15:31:28 UTC
Yes, exception is caused by replanning of scanChildren in
ICFolderImpl. Result is that two threads may try to read xml config
files at once.
Comment 6 _ ttran 2001-11-09 18:05:36 UTC
please don't try to reuse the parser.  Just create it each time.  You
won't save much by reusing it but will have more troubles.
Comment 7 David Simonek 2001-11-09 19:01:16 UTC
*** Issue 17493 has been marked as a duplicate of this issue. ***
Comment 8 David Simonek 2001-11-09 19:03:46 UTC
I don't agree, Trung. Reusing is intentional here, and in fact it has
clearly indicated source of the problem - two threads cannot parse one
winsys element xml config file at once, it's nonsense - Vita will add
proper synchronization to fix this.
Comment 9 _ gtzabari 2001-11-10 10:10:18 UTC
Hey guys, this isn't a JDK-1.4 issue.. I am able to reproduce it under
OS/2, IBM JDK 1.3; check out issue #15668 for more info.
Comment 10 Vitezslav Stejskal 2001-11-12 12:24:07 UTC
OK, removing JDK_1.4 keyword ...
Comment 11 Vitezslav Stejskal 2001-11-12 13:01:00 UTC
I've rolled back fix of issue #12152, which caused this regression.  
This isn't an issue for main trunk and release33_beta4 anymore.
Comment 12 Jan Zajicek 2001-11-13 10:28:03 UTC
verified
Comment 13 Quality Engineering 2003-07-01 16:43:35 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.