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 201210260001) VM: OpenJDK 64-Bit Server VM, 23.2-b09, OpenJDK Runtime Environment, 1.7.0_09-b30 OS: Linux User Comments: GUEST: I was making a java EE6 web applications. bleathem: Edited my persitence.xml file using the Design tool, and hit ctr-z to undo. That didn't undo, so I clilcked the ZML tab, this is when the error came up. GUEST: click on data source comboboc, in option to create new data source fortruth: that the persistence.xml editor datasource selection eorror. bleathem: Trying to close my persistence.xml file. GUEST: I was editing persistence.xml I was trying to change the data source string in the text field. Stacktrace: java.lang.IndexOutOfBoundsException at org.netbeans.modules.schema2beans.BeanProp.checkParams(BeanProp.java:912) at org.netbeans.modules.schema2beans.BeanProp.setAttributeValue(BeanProp.java:1270) at org.netbeans.modules.schema2beans.BaseBean.setAttributeValue(BaseBean.java:671) at org.netbeans.modules.j2ee.persistence.dd.persistence.model_2_0.PersistenceUnit.setTransactionType(PersistenceUnit.java:124) at org.netbeans.modules.j2ee.persistence.unit.PersistenceUnitPanel.setDataSource(PersistenceUnitPanel.java:573) at org.netbeans.modules.j2ee.persistence.unit.PersistenceUnitPanel.setValue(PersistenceUnitPanel.java:430)
Created attachment 126650 [details] stacktrace
Created attachment 126658 [details] stacktrace
*** This bug has been marked as a duplicate of bug 220322 ***