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 69906 - Get assertion on startup - can't get back in
Summary: Get assertion on startup - can't get back in
Status: VERIFIED DUPLICATE of bug 69097
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-05 17:18 UTC by matthewh
Modified: 2006-01-16 15:16 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log file (78.45 KB, text/plain)
2005-12-05 17:25 UTC, matthewh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matthewh 2005-12-05 17:18:47 UTC
I've got an AssertionError that appears when I try to startup Netbeans 5.0, so I
can no longer use it. I've tried deleting cache files.

here's a snippet of the message log:

INFORMATIONAL *********** Exception occurred ************ at 5:06 PM on Dec 5, 2005
java.lang.AssertionError: C:\Work\Copy of
netbeans-stocktrader\cluster_build_harness\diskexplorer
	at
org.netbeans.modules.apisupport.project.NbModuleProject.createEvaluator(NbModuleProject.java:321)
	at
org.netbeans.modules.apisupport.project.NbModuleProject.<init>(NbModuleProject.java:129)
	at
org.netbeans.modules.apisupport.project.NbModuleProjectType.createProject(NbModuleProjectType.java:41)
	at
org.netbeans.modules.project.ant.AntBasedProjectFactorySingleton.loadProject(AntBasedProjectFactorySingleton.java:174)
	at org.netbeans.api.project.ProjectManager.createProject(ProjectManager.java:319)
	at org.netbeans.api.project.ProjectManager.access$700(ProjectManager.java:44)
[catch] at org.netbeans.api.project.ProjectManager$2.run(ProjectManager.java:233)
	at org.openide.util.Mutex.readAccess(Mutex.java:234)
	at org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:180)
	at
org.netbeans.modules.projectapi.SimpleFileOwnerQueryImplementation.getOwner(SimpleFileOwnerQueryImplementation.java:68)
	at org.netbeans.api.project.FileOwnerQuery.getOwner(FileOwnerQuery.java:68)
	at
org.netbeans.modules.editor.bookmarks.PersistentBookmarks.findOwningBookmarksMap(PersistentBookmarks.java:142)
	at
org.netbeans.modules.editor.bookmarks.PersistentBookmarks.loadBookmarks(PersistentBookmarks.java:54)
	at
org.netbeans.modules.editor.bookmarks.NbBookmarkManager.init(NbBookmarkManager.java:55)
	at org.netbeans.lib.editor.bookmarks.api.BookmarkList.<init>(BookmarkList.java:91)
	at org.netbeans.lib.editor.bookmarks.api.BookmarkList.get(BookmarkList.java:48)
Comment 1 matthewh 2005-12-05 17:25:32 UTC
Created attachment 27563 [details]
messages.log file
Comment 2 matthewh 2005-12-05 17:26:19 UTC
I moved the whole .netbeans directory aside, and I'm back in now.
Comment 3 Jan Chalupa 2005-12-08 10:59:25 UTC
-> apisupport
Comment 4 Martin Krauskopf 2005-12-08 11:15:08 UTC
Thanks for report. Fixed in the latest build. You should receive better message
suggesting you what's wrong. But probably you are trying to open NB_CVS module
(which is not external module, suite, suite-component) outside of NB_CVS tree
which is wrong. Also <4.1 modules are unsupported. You need to migrate them to
5.0 (see $NB_DIR/harness/README). So probably more or less duplicate of 69097.


*** This issue has been marked as a duplicate of 69097 ***
Comment 5 matthewh 2005-12-08 12:02:54 UTC
Many thanks, I had been trying to look at the StockTrader tutorial (which uses
NB4.1, I think), to see if I could convert it to NB5 (is there a conversion
feature planned to import projects from older versions of NB - this will be
vital to encourage people to migrate)
Comment 6 Martin Krauskopf 2005-12-08 12:08:44 UTC
Would be nice, true. Currently there is at least the detailed section in the
harness/README which guides you step by step through the process, called
"UPGRADING FROM NETBEANS 4.0/4.1". Seems long, but really not too hard task ;)
If you have any problem feel free to ask on the mailing list.
Comment 7 Tomas Danek 2006-01-16 15:16:44 UTC
yes. verified duplicate.