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 Beta (Build 201004200117) VM: Java HotSpot(TM) Client VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04 OS: Windows XP User Comments: _Anton_: I was add in composite component interface attribute like this: <cc:attribute name=name" default="word,word"/> After this I click at component definition tag: <ez:hallEditForm /> and exception raised. If I change default value to "word" all ok. Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1937) at org.netbeans.modules.web.jsf.editor.index.CompositeComponentModel$Factory.loadFromIndex(CompositeComponentModel.java:285) at org.netbeans.modules.web.jsf.editor.index.JsfIndex.getCompositeComponentModel(JsfIndex.java:168) at org.netbeans.modules.web.jsf.editor.index.JsfIndex.getCompositeComponentModel(JsfIndex.java:148) at org.netbeans.modules.web.jsf.editor.facelets.CompositeComponentLibrary$CCTldLibrary.init(CompositeComponentLibrary.java:171) at org.netbeans.modules.web.jsf.editor.facelets.CompositeComponentLibrary$CCTldLibrary.<init>(CompositeComponentLibrary.java:153)
Created attachment 98327 [details] stacktrace
fixed in web-main#ace809ae732b
Integrated into 'main-golden', will be available in build *201005100200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ User: Log:
*** Bug 188599 has been marked as a duplicate of this bug. ***