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 194892 - AssertionError: FileName: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar@84fc04d fo: MasterFileObject[/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui
Summary: AssertionError: FileName: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/...
Status: RESOLVED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-31 08:54 UTC by t_yano
Modified: 2011-10-05 13:30 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 174302


Attachments
stacktrace (4.45 KB, text/plain)
2011-01-31 08:54 UTC, t_yano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description t_yano 2011-01-31 08:54:28 UTC
This bug was originally marked as duplicate of bug 190319, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.0 Beta (Build nbms-and-javadoc-6566-on-110129)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03-307, Java(TM) SE Runtime Environment, 1.6.0_22-b04-307-10M3261
OS: Mac OS X

User Comments:
GUEST: create a new web application with tomcat as server

t_yano: it was occured at launching.




Stacktrace: 
java.lang.AssertionError: FileName: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar@84fc04d fo: MasterFileObject[/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar@761b5baf:2bda037e,valid=true]
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.getChildren(FolderObj.java:150)
   at org.openide.filesystems.FileUtil$Holder.locateCurrent(FileUtil.java:428)
   at org.openide.filesystems.FileUtil$Holder.<init>(FileUtil.java:403)
   at org.openide.filesystems.FileUtil.addFileChangeListener(FileUtil.java:281)
   at org.netbeans.api.java.classpath.ClassPath$RootsListener.addRoots(ClassPath.java:1118)
   at org.netbeans.api.java.classpath.ClassPath.createRoots(ClassPath.java:291)
Comment 1 t_yano 2011-01-31 08:54:42 UTC
Created attachment 105507 [details]
stacktrace
Comment 2 peterwlynch 2011-02-02 15:34:57 UTC
I also have seen this issue many times - under many different scenarios.

Sometimes i happens on startup when scanning many projects(Maven based) that I have open.

Due to this bug, some classes are reported as uncompilable. When I open them, I see the same error trace again popup in a dialog box.
Comment 3 Petr Jiricka 2011-10-05 13:30:38 UTC
Only reported twice and the latest report is 8 months old, so presumably this was resolved by some other fix. If this still happens to you, please reopen.