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.
Build: NetBeans IDE Dev (Build 200904030200) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Windows XP, 5.1, x86 User Comments: alexlamsl: opened first tcl script, opening the 2nd one through "File" --> "Open File..." Tcl Editor support is installed - but none of the expected syntax highlightings show up Stacktrace: java.lang.AssertionError at org.netbeans.modules.masterfs.filebasedfs.children.ChildrenSupport.addChild(ChildrenSupport.java:118) at org.netbeans.modules.masterfs.filebasedfs.children.ChildrenSupport.rescanChildren(ChildrenSupport.java:228) at org.netbeans.modules.masterfs.filebasedfs.children.ChildrenSupport.getChildren(ChildrenSupport.java:75) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$FolderChildrenCache.getChildren(FolderObj.java:516) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.getChildren(FolderObj.java:131) at org.openide.loaders.MultiFileLoader.checkFiles(MultiFileLoader.java:332)
Created attachment 79437 [details] stacktrace
Build: NetBeans IDE Dev (Build 200904030200) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Windows XP, 5.1, x86 User Comments: opening tcl script this time syntax highlighting is working Stacktrace: java.lang.AssertionError at org.netbeans.modules.masterfs.filebasedfs.children.ChildrenSupport.addChild(ChildrenSupport.java:118) at org.netbeans.modules.masterfs.filebasedfs.children.ChildrenSupport.rescanChildren(ChildrenSupport.java:228) at org.netbeans.modules.masterfs.filebasedfs.children.ChildrenSupport.getChildren(ChildrenSupport.java:75) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$FolderChildrenCache.getChildren(FolderObj.java:516) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.getChildren(FolderObj.java:131) at org.openide.loaders.MultiFileLoader.checkFiles(MultiFileLoader.java:332)
Created attachment 79438 [details] stacktrace
Build: NetBeans IDE Dev (Build 200904030200) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Windows XP, 5.1, x86 User Comments: continuously trying to open the same tcl file without success Stacktrace: java.lang.AssertionError at org.netbeans.modules.masterfs.filebasedfs.children.ChildrenSupport.addChild(ChildrenSupport.java:118) at org.netbeans.modules.masterfs.filebasedfs.children.ChildrenSupport.rescanChildren(ChildrenSupport.java:228) at org.netbeans.modules.masterfs.filebasedfs.children.ChildrenSupport.getChildren(ChildrenSupport.java:75) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$FolderChildrenCache.getChildren(FolderObj.java:516) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.getChildren(FolderObj.java:131) at org.openide.loaders.MultiFileLoader.checkFiles(MultiFileLoader.java:332)
Created attachment 79439 [details] stacktrace
I cannot reproduce it. Could please describe exact steps how to reproduce it? What project was open, was TCL file part of a project, was it in some versioning system? Or attach files for test. Thanks.
They are standalone tcl scripts which does not belong to any projects. Steps to reproduce: 1) "File" --> "Open File..." 2) Choose a tcl script and "Open" 3) No error so far, however there is no syntax highlighting. 4) "File" --> "Open File..." 5) Choose another tcl script and "Open" Either: 6) Exception thrown. File is then not opened. Or: 7) File opened successfully with syntax highlighting. 8) Goto (4)
I cannot reproduce it. But it seems to be a duplicate of issue 161785. Could you wait for newer build and try it once more? Thank you.
Fixed. http://hg.netbeans.org/core-main/rev/7734e6fd2453
Integrated into 'main-golden', will be available in build *200904080201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/7734e6fd2453 User: Jiri Skrivanek <jskrivanek@netbeans.org> Log: #161960 - Rollback of changsets 8ee4eb0675c4 and ca31b3f4e889. The first one caused issues 161960, 161746 and 161785 because getParentFile traverse to Desktop on windows if file is instance of sun.awt.shell.ShellFolder. Conversion File to URI/URL avoids such problems but it is a little bit slower.
Integrated into 'main-golden', will be available in build *200904081400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/7734e6fd2453 User: Jiri Skrivanek <jskrivanek@netbeans.org> Log: #161960 - Rollback of changsets 8ee4eb0675c4 and ca31b3f4e889. The first one caused issues 161960, 161746 and 161785 because getParentFile traverse to Desktop on windows if file is instance of sun.awt.shell.ShellFolder. Conversion File to URI/URL avoids such problems but it is a little bit slower.
*** Issue 162717 has been marked as a duplicate of this issue. ***