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 200811060201) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Windows Vista, 6.0, x86 User Comments: sunbiz: Changing Persistence Unit Name in persistence.xml and got this exception Stacktrace: java.lang.IndexOutOfBoundsException at org.netbeans.modules.schemabeans.BeanProp.checkParams(BeanProp.java:909) at org.netbeans.modules.schemabeans.BeanProp.setAttributeValue(BeanProp.java:1267) at org.netbeans.modules.schemabeans.BaseBean.setAttributeValue(BaseBean.java:668) at org.netbeans.modules.jee.persistence.dd.persistence.model__.PersistenceUnit.setName(PersistenceUnit.java:100) at org.netbeans.modules.jee.persistence.unit.PersistenceUnitPanel.setValue(PersistenceUnitPanel.java:318) at org.netbeans.modules.xml.multiview.ui.SectionInnerPanel$TextListener.update(SectionInnerPanel.java:339)
Created attachment 73433 [details] stacktrace
Build: NetBeans IDE Dev (Build 200811060201) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Windows Vista, 6.0, x86 User Comments: Generate DOM tree Scanner on an empty DTD file Stacktrace: java.lang.IndexOutOfBoundsException at org.netbeans.modules.schemabeans.BeanProp.checkParams(BeanProp.java:909) at org.netbeans.modules.schemabeans.BeanProp.setAttributeValue(BeanProp.java:1267) at org.netbeans.modules.schemabeans.BaseBean.setAttributeValue(BaseBean.java:668) at org.netbeans.modules.jee.persistence.dd.persistence.model__.PersistenceUnit.setName(PersistenceUnit.java:100) at org.netbeans.modules.jee.persistence.unit.PersistenceUnitPanel.setValue(PersistenceUnitPanel.java:318) at org.netbeans.modules.xml.multiview.ui.SectionInnerPanel$TextListener.update(SectionInnerPanel.java:339)
Created attachment 73434 [details] stacktrace
> sunbiz: Changing Persistence Unit Name in persistence.xml and got this exception I can not reproduce, and it looks like this happened just once, but I am reassigning to persistence for evaluation.
what name it was initially and to what name it was changed? anyway it may not be reproducible any more as it's happened in some dev build before 6.7. I tried different naes, empty name etc, can't reproduce. feel free to reopen if it's reproducible.