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 55256 - Cannot restart IDE with same userdir
Summary: Cannot restart IDE with same userdir
Status: RESOLVED INVALID
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-20 06:19 UTC by _ tboudreau
Modified: 2007-11-05 13:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace from startup (7.83 KB, text/plain)
2005-02-20 06:21 UTC, _ tboudreau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2005-02-20 06:19:53 UTC
(First noticed this two weeks ago and thought it could be due to 
patches on my system - but it happens both on my PC and Mac 
when building against pristine checkouts).

Build NB from source.  Start it.  Open some project.  Shut down 
normally.

Restart it.  A NoClassDefFoundError is thrown during startup and 
startup does not continue.  

Deleting $USERDIR/var/cache/* works to fix it for one restart.  It 
appears that org.netbeans.editor.options.BasePrintOptions has 
either disappeared or its visibility has changed such that it's 
serialized but can't be instantiated on restart.
Comment 1 _ tboudreau 2005-02-20 06:21:45 UTC
Created attachment 20427 [details]
Stack trace from startup
Comment 2 _ tboudreau 2005-02-20 07:08:05 UTC
Adding Jarda to cc;  I'm wondering if we should include a restart on a used userdir as part of 
commit validation - the fact that NetBeans has been unusable on restart for a few weeks and 
I didn't find any existing P1 bug about it is a little scary - it can't just be me if it's happening 
on both my pc and my mac.  I can't believe I'm the only person who noticed - my job doesn't 
even requre me to build NB daily anymore.
Comment 3 Jaroslav Tulach 2005-02-21 09:11:05 UTC
Duplicate of some bug I am not able to find now. You need to do ant 
clean; cvs up; ant otherwise there maybe some garbage on your disk 
from previous compilation. The fix in your case is likely to remove 
properties module and check out clean version. 
Comment 4 Martin Roskanin 2005-02-21 09:13:59 UTC
duplicate of issue #54252