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.
NetBeans IDE Dev (Build 20070418-0710) 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 Windows XP version 5.1 running on x86 en_GB (nb); Cp1252 dual core Description: ============= have J2SE project 1. try to create jframe and package at the same time - select project name in project tab, create new - jFrame. Fill name of jFrame and package name as well. During creation and exception will occur. Then in botton bar there is always running process - Refreshing Workspace StackTrace: =========== java.lang.StringIndexOutOfBoundsException: String index out of range: -3 at java.lang.String.substring(String.java:1938) at org.netbeans.modules.java.source.usages.RepositoryUpdater.gatherResources(RepositoryUpdater.java:2279) at org.netbeans.modules.java.source.usages.RepositoryUpdater.access$3500(RepositoryUpdater.java:132) at org.netbeans.modules.java.source.usages.RepositoryUpdater$CompileWorker.recompile(RepositoryUpdater.java:1612)
Created attachment 41152 [details] 101551
*** Issue 101793 has been marked as a duplicate of this issue. ***
Should be fixed. Checking in RepositoryUpdater.java; /cvs/java/source/src/org/netbeans/modules/java/source/usages/RepositoryUpdater.java,v <-- RepositoryUpdater.java new revision: 1.47; previous revision: 1.46 done
Should be fixed as stated above.
verified on NetBeans IDE Dev (Build 070425) 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 Windows XP version 5.1 running on x86 en_GB (nb); Cp1252 and any such exception didn't occur any more