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 18760 - Bunch of org.openide.loaders.XMLSettingsSupport$BrokenSettings after start.
Summary: Bunch of org.openide.loaders.XMLSettingsSupport$BrokenSettings after start.
Status: CLOSED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-18 05:59 UTC by zohar
Modified: 2008-12-22 23:36 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide.log (69.40 KB, text/plain)
2001-12-18 05:59 UTC, zohar
Details
screen shot (113.93 KB, image/jpeg)
2002-01-03 04:58 UTC, zohar
Details
ide.log (16.83 KB, text/plain)
2002-01-03 04:59 UTC, zohar
Details
my user dir without parser DB and sample dir (681.71 KB, application/octet-stream)
2002-01-03 08:09 UTC, zohar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zohar 2001-12-18 05:59:19 UTC
I unzipped build 200112170331 into its own directory.
When I brought it up I got some warnings.
When I tried opening a file I got a NPE.
Comment 1 zohar 2001-12-18 05:59:51 UTC
Created attachment 3868 [details]
ide.log
Comment 2 _ ttran 2001-12-18 08:33:49 UTC
It's in java module, see line

org.netbeans.modules.java.JavaExecSupport$PropertyProxy.attachToDefault(JavaExecSupport.java:103)
Comment 3 Tomas Hurka 2001-12-18 16:27:04 UTC
and what about those 9 CCE from
org.openide.loaders.XMLSettingsSupport$BrokenSettings ? 
There seems to be problem with settings. The NPE in Java module is
because Lookup.getDefault().lookup(JavaSettings.class) returns null.
Comment 4 zohar 2001-12-19 06:55:24 UTC
This build is unusable for me, so I changed it to P2. If you find 
this bug to be unreproducable take it back down to P3.
Comment 5 Jan Zajicek 2001-12-19 11:09:49 UTC
Passing to Jan.
CCing Vita to check thi while Jan is on vacation.
Comment 6 Jan Zajicek 2001-12-19 11:15:18 UTC
Summary updated.netbeans_33RC1

Also note that this fcs runs against rc userdir.
Comment 7 zohar 2001-12-23 06:35:23 UTC
I still get this in build 200112230331.
Comment 8 zohar 2002-01-03 04:56:55 UTC
I still get this with build 200201020331.
I'll attach the ide.log (again) and a screen shot, in the hope that 
it helps.
I'm "upgrading" this bug to P1, since this build is still totally 
unusable for me.
Comment 9 zohar 2002-01-03 04:58:05 UTC
Created attachment 3960 [details]
screen shot
Comment 10 zohar 2002-01-03 04:59:56 UTC
Created attachment 3961 [details]
ide.log
Comment 11 _ ttran 2002-01-03 07:58:04 UTC
Zohar, please zip your user dir and attach it here.  If it's too big
then send me via mail to ttran@netbeans.org.  thanks
Comment 12 zohar 2002-01-03 08:09:33 UTC
Created attachment 3962 [details]
my user dir without parser DB and sample dir
Comment 13 Jan Zajicek 2002-01-03 11:16:44 UTC
Main root of all problems with settings came from the fact that you
have switched between three versions of ide in the following order:

3.3.0, trunk, 3.3.1 (as can be read from the ide.log)

The problem is in the trunk version. All fixes for 3.3.0 and 3.3.1 are
in separated branches *not* in the trunk, they will be merged lately.
In the trunk continues development for 3.4. So versions of modules in
the trunk are higher than in 3.3.x. And downgrading of settings isn't
supported.

So I recommend to delete the Windows settings from your projects. You
will lose only windows settings *not* other project settins. Windows
settings can be found in your userdir under Projects directory - where
each project has system/Windows subfolder. When you delete Windows
subfolder (i.e. {userdir}/system/Projects/ISM SDK 1.1/system/Windows),
you should start/open project without errors. 

I have created new issues for minor problems found in the ide.log. See
issues #18998, #19000 and #19001.

I recommend to use different userdirs for different ide versions and
use import projects or import settings stuff instead of reusing of the
one userdir while experimenting with development versions, because
returning to the previous (older) version will cause incompatibility
in settings formats. Userdir can be defined in the ide.cfg file in the
bin directory using '-userdir new_userdir' switch.

So I am going to close this issue as invalid. If deleting of windows
settings doesn't solve the problem - please reopen. Also when you
encounter some others problems with settings in the future, please go
and report them. Thanks for using NB and reporting problems. 
Comment 14 Quality Engineering 2003-07-01 15:59:06 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified
Comment 15 Quality Engineering 2003-07-01 16:18:59 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.