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 17902 - ClassCastException after import of settings from NB3.0
Summary: ClassCastException after import of settings from NB3.0
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-20 18:15 UTC by Lukas Hasik
Modified: 2003-07-01 14:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide.log with Exc.. (5.21 KB, text/plain)
2001-11-20 18:16 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-20 18:15:48 UTC
dev 200111201425, jdk1.3.1 - 1.4-b86

-start nb33, import setting from NB3.0 - only some file opened in editor.
-exception is throw during startup - during 'Loading project Default'

 reassign as needed, please
Comment 1 Lukas Hasik 2001-11-20 18:16:54 UTC
Created attachment 3501 [details]
ide.log with Exc..
Comment 2 Vitezslav Stejskal 2001-11-21 10:35:26 UTC
Unfortunately this problem is in the projects module.
Comment 3 Vitezslav Stejskal 2001-11-21 11:09:09 UTC
I wasn't able to reproduce it on my W2K, but logged exception shows 
the problem clearly. In some cases the DataFolder may be recognized 
instead of ProjectDataObject (extending DataFolder), I am not sure 
about exact condition, but it has something to do with preffered 
loader and attribute changes. This usually occures when importing 
projects and in import procedure it was solved by forcing the 
recognition again. I've extended this check on all places dealing with 
ProjectDataObject recognition.

Lukas, could you please verify my change in your environment, thanks.

Fixed in main trunk.

Comment 4 Lukas Hasik 2001-11-22 09:52:55 UTC
ok, this CCE is gone.... but there is something new - see
http://openide.netbeans.org/issues/show_bug.cgi?id=17957
Comment 5 Quality Engineering 2003-07-01 14:17:48 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.