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 63744 - Assertion in NbProject types renders NB unusable.
Summary: Assertion in NbProject types renders NB unusable.
Status: CLOSED WORKSFORME
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-06 22:56 UTC by _ pcw
Modified: 2005-12-12 14:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack trace (5.57 KB, text/plain)
2005-09-06 22:56 UTC, _ pcw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ pcw 2005-09-06 22:56:14 UTC
After updating my codebase, which probably included updates to a project.xml
that was already loaded into NetBeans, I got this assertion from that NetBeans
instance.

Because this is happening in the paint loop for the project panel, it rendered
NetBeans virtually unusable, at least until I figure out what I can do to make
the assertion go away.  In particular, there is no way to close the offending
project.

Excerpt:  (see attachment for full trace)

java.lang.AssertionError: Invalid project.xml for
NbModuleProject[MasterFileObject@1d4616f[file:/C:/work/cdp/trunk/serverplugins/sun/appsrv/]]
	at
org.netbeans.modules.apisupport.project.queries.AccessibilityQueryImpl.isPubliclyAccessible(AccessibilityQueryImpl.java:61)
	at
org.netbeans.modules.java.project.ProjectAccessibilityQuery.isPubliclyAccessible(ProjectAccessibilityQuery.java:37)
	at
org.netbeans.api.java.queries.AccessibilityQuery.isPubliclyAccessible(AccessibilityQuery.java:66)
	at
org.netbeans.modules.java.project.PackageDisplayUtils.getIcon(PackageDisplayUtils.java:111)
......
Comment 1 _ pcw 2005-09-06 22:56:59 UTC
Created attachment 24560 [details]
stack trace
Comment 2 Jesse Glick 2005-09-06 23:38:58 UTC
You are using a version several days old.

I do not have any problem opening this project. Maybe your project.xml is corrupt?

In the meantime I can make the error be logged as a warning to console instead.
Comment 3 Tomas Danek 2005-12-12 14:27:57 UTC
some change in code, or forgotten issue? Anyway, closing without reproducible
test case. Feel free to reopen if you wish.