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 16751 - Exceptions from new workspace
Summary: Exceptions from new workspace
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: Sun SunOS
: P4 blocker (vote)
Assignee: David Simonek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-19 13:42 UTC by Jan Zajicek
Modified: 2008-12-23 09:33 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exceptions (3.11 KB, text/plain)
2001-10-19 13:43 UTC, Jan Zajicek
Details
org.xml.sax.SAXParseException: Document root element is missing. (5.53 KB, text/plain)
2001-12-05 15:24 UTC, Marian Mirilovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Zajicek 2001-10-19 13:42:38 UTC
dev #20011019

Start ide, create new workspace, open i.e.explorer in this new workspace,
restart ide, attached exceptions will be thrown.
Comment 1 Jan Zajicek 2001-10-19 13:43:14 UTC
Created attachment 3076 [details]
exceptions
Comment 2 David Simonek 2001-11-27 11:13:55 UTC
Jiri, please evaluate and try to fix this one. It seems that winsys
config xml files for newly created workspace are somehow corrupted,
maybe even empty.
Comment 3 Jan Chalupa 2001-11-27 11:53:05 UTC
Target milestone -> 3.3.1.
Comment 4 Jan Chalupa 2001-11-27 11:56:40 UTC
Target milestone -> 3.3.1.
Comment 5 Lukas Hasik 2001-11-29 18:03:30 UTC
release33 - 200111280300, jdk1.4b87

I followed the steps and it works for me - no exceptions.
Comment 6 Marian Mirilovic 2001-12-05 15:21:41 UTC
[nb_release330](200112042300) on [jdk1.4](88)

New steps to reproduce:
- create new workspace
- restart IDE (or create new project) 
- org.xml.sax.SAXParseException: Document root element is missing
(attachment)

Workspace.wswksp has size 0 !!!

P3 -> P4

Unreproducible on Linux.
Comment 7 Marian Mirilovic 2001-12-05 15:24:26 UTC
Created attachment 3699 [details]
org.xml.sax.SAXParseException: Document root element is missing.
Comment 8 David Simonek 2002-01-08 16:57:14 UTC
I'm taking this, it is reproductible on my machine with 1.4 and win2k.
Comment 9 David Simonek 2002-01-08 16:58:33 UTC
accepting...
Comment 10 David Simonek 2002-01-09 09:41:34 UTC
fixed in release33 branch, solution was to enclose creating of multi
data object of new workspace by the filesystem atomic action.
Comment 11 Jan Zajicek 2002-01-09 11:43:55 UTC
Marian, afaik only you were able to reproduce this in latest builds
before the fix. Can you, please verify this? Thanks.
Comment 12 Marian Mirilovic 2002-01-09 14:16:13 UTC
verified in [nb331_dev](200201090940)
Comment 13 Quality Engineering 2003-07-01 16:36:22 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.