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.
The following exception was thrown when expanding cvs filesystem Thu Oct 25 16:14:02 PDT 2001: java.lang.StringIndexOutOfBoundsException: String index out of range: 27 java.lang.StringIndexOutOfBoundsException: String index out of range: 27 at java.lang.String.charAt(String.java:516) at org.apache.regexp.StringCharacterIterator.charAt(StringCharacterIterator.java:86) at org.apache.regexp.RE.matchNodes(RE.java:1180) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:1397) at org.apache.regexp.RE.matchNodes(RE.java:914) at org.apache.regexp.RE.matchAt(RE.java:1469) at org.apache.regexp.RE.match(RE.java:1525) at org.apache.regexp.RE.match(RE.java:1490) at org.apache.regexp.RE.match(RE.java:1579) at org.netbeans.modules.vcscore.cache.CacheDir.isIgnored(CacheDir.java:455) at org.netbeans.modules.vcscore.caching.VcsFSCache.getFileStatus(VcsFSCache.java:145) at org.netbeans.modules.vcscore.VcsFileSystem.annotateIcon(VcsFileSystem.java:2007) at org.openide.loaders.DataNode.getIcon(DataNode.java:167) at org.netbeans.modules.java.JavaNode.getIcon(JavaNode.java:396) at org.openide.nodes.FilterNode.getIcon(FilterNode.java:360) at org.openide.explorer.view.NodeRenderer$Tree.update(NodeRenderer.java:278) at org.openide.explorer.view.VisualizerNode.run(VisualizerNode.java:326) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) at java.awt.EventQueue.dispatchEvent(EventQueue.java:337) [catch] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
That's strange. It has never happend to me on Solaris. Do you have any .cvsignore files in your folders? Or any special ignore file on the server? Can you please attach the output of CREATE_FOLDER_IGNORE_LIST commands? It seems, that either there is a bug in ignore files parsing or it's a bug in apache's regexp utility. The StringIndexOutOfBoundsException is in the apache's code anyway. Can you submit a bug to apache?
The problem is in the regexp utility. Core bundles the extra binaries.
guys, we need the regexp which caused the exception, otherwise no chance...
Chris, is it reproducible? If it is, can you please attach the output of CREATE_FOLDER_IGNORE_LIST command? It's the only way to get to the regular expression being used.
there is a confirmed bug with a similar symptom in jakarta-regexp, which has been fixed in regexp 1.2. See http://jakarta.apache.org/regexp/changes.html http://cvs.apache.org/viewcvs.cgi/jakarta-regexp/src/java/org/apache/regexp/RE.java?rev=1.4&content-type=text/vnd.viewcvs-markup I'll update our core/release/lib/ext/regexp.jar to v 1.2
I updated jakarta regexp to v 1.2
It works fine now, verified in [NB-dev](20020418)
Resolved for 3.4.x or earlier, no new info since then -> closing.