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 6.9 (Build 201011082200) VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02 OS: Linux User Comments: GUEST: I opened satchmo/product/models.py from the satchmo-0.8.1 bugfixes branch. (Satchmo is a Django (Python) based e-commerce framework). GUEST: I cloned an existing GIT repository (git://github.com/elight/coulda.git) and created a new Netbeans 'Ruby with existing sources' project in the resulting top folder. Existing 'lib' and 'test' folders were used for the 'Source files' and 'Test' folders, respectively. Attempting to view the resulting tree contents under both the Projects and Files tabs worked for 'Test' and 'test' but not for 'Source files' or 'lib'. Each attempt at clicking on the '+' to expand the source tree node resulted in the flashing red minus display, with the above StringIndexOutOfBoundsException reported. 'lib' doesn't appear to contain anything unusual, just other folders and Ruby text files similar to those under 'test'. deyringer: Just restarted NB after updating GUEST: I'm opening a project, after install the nbgit plugin. GUEST: Trying to open a large rails project GUEST: I just started my netbeans debopamg: after installing the nbgit plugin, this error has started coming frequently GUEST: Restarting IDE after installing nbgit 0.3.0 nbm. GUEST: nothing. GUEST: In Projects tab, Right Click Rails Project, select Git, select Status, error icon appeard on NB status bar. GUEST: Opening ruby file. GUEST: Openning project Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: 43 at java.lang.String.charAt(String.java:686) at org.nbgit.util.exclude.FnMatch.hasLeadingPeriod(FnMatch.java:192) at org.nbgit.util.exclude.FnMatch.match(FnMatch.java:108) at org.nbgit.util.exclude.FnMatch.fnmatch(FnMatch.java:69) at org.nbgit.util.exclude.PathPattern$WildcardPathPattern.matchesFileName(PathPattern.java:182) at org.nbgit.util.exclude.PathPattern.matches(PathPattern.java:94)
Created attachment 103266 [details] stacktrace
This will not be fixed, nbgit is a 3rd-party module, not in our area of responsibility. I suggest you file an issue to nbgit project or try our own implementation of git support (#131531) - basic features related to editing files, diffing and committing are already implemented and available on dev UC.