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.
For the last few hours, using a checkout from yesterday, some of the time after a restart, my open projects are there; sometimes the projects list is empty (though all the files I had open are still open). If the project list is empty and I need to get something done, I'll just reopen openide or whatever. It's hit or miss whether it will be open after another restart - sometimes the list of projects from an earlier session will reappear after a few sessions where I had to open things. About 70% of the time there are no projects open (not also that the project chooser's default dir is reset to my home dir), then once in a while I get a pleasant surprise.
It has happened to me too recently, just in the last couple of days I think. Not every time I restart, but some of the time. However I find that shutting down, deleting folder-lookup.ser and lookup-stamp.txt from $userdir/var/cache/, and restarting works reliably. I suspect something wrong with the recent changes in lookup caching. Note that after killing the cache and restarting, the previous list of projects is correctly loaded; and any changes that were made in the buggy VM session to the list of projects are ignored, i.e. presumably not written to disk. This is consistent with the hypothesis that the SystemOption is functioning correctly in-VM, but the persistence link is not working properly, i.e. the connection to its lookup entry in FL[Services/org-netbeans-modules-project-ui-OpenProjectList.settings is not there for some reason.
Making this a P2, given that I'm not the only one seeing it - it's pretty severe, since most of the time projects are missing on restart.
happened to be quite frequently during weekend (yes, I have to restart often because the IDE gets sluggish quite fast) projects list disappered, vcs fs was not present.. My workaround was to open the project again.
*** Issue 45693 has been marked as a duplicate of this issue. ***
*** Issue 45757 has been marked as a duplicate of this issue. ***
*** Issue 45743 has been marked as a duplicate of this issue. ***
Causing a lot of problems. Whatever was most recently changed in lookup needs to be reverted until the problems are better understood.
*** Issue 45802 has been marked as a duplicate of this issue. ***
Petr Nejedly commited fix yesterday. Simple typo in my code: --- InheritanceTree.java 24 Jun 2004 13:48:52 -0000 1.31 +++ InheritanceTree.java 1 Jul 2004 04:23:33 -0000 1.32 @@ -1070,7 +1070,7 @@ if (n.items instanceof ArrayList || n.items == null) { this.items = (ArrayList)n.items; } else { - n.items = new ArrayList (n.items); + this.items = new ArrayList (n.items); } }
*** Issue 45761 has been marked as a duplicate of this issue. ***
Fixed by Petr's commit yesterday, here is the test to verify the fix. openide/test/unit/src/org/openide/util/lookup/AbstractLookupBaseHid.java,v <-- AbstractLookupBaseHid.java new revision: 1.13
*** Issue 45607 has been marked as a duplicate of this issue. ***
*** Issue 45817 has been marked as a duplicate of this issue. ***
*** Issue 45819 has been marked as a duplicate of this issue. ***
*** Issue 45749 has been marked as a duplicate of this issue. ***
*** Issue 45809 has been marked as a duplicate of this issue. ***
*** Issue 45415 has been marked as a duplicate of this issue. ***
It's back in today's build - same behavior - sometimes projects are reopened, sometimes they're not. I don't see any changes in cvs logs that particularly jump out as being the cause.
This bug was related to a fatal typo in lookup implementation. It is definitively fixed and definitively is not back. If you observe similar problems, they are really not simptoms of the same problem. Moreover everything works for me, so I am closing this. If you can simulate the problem, please think about readjusting the priority.
verified