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.

Bug 220946 - IndexOutOfBoundsException at org.netbeans.modules.schema2beans.BeanProp.checkParams
Summary: IndexOutOfBoundsException at org.netbeans.modules.schema2beans.BeanProp.check...
Status: RESOLVED DUPLICATE of bug 220322
Alias: None
Product: ide
Classification: Unclassified
Component: Schema2Beans (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: schema2beans-issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-27 03:18 UTC by fortruth
Modified: 2012-11-07 15:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 169528


Attachments
stacktrace (5.59 KB, text/plain)
2012-10-27 03:18 UTC, fortruth
Details
stacktrace (4.61 KB, text/plain)
2012-10-27 12:27 UTC, fortruth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fortruth 2012-10-27 03:18:45 UTC
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)
Comment 1 fortruth 2012-10-27 03:18:47 UTC
Created attachment 126650 [details]
stacktrace
Comment 2 fortruth 2012-10-27 12:27:11 UTC
Created attachment 126658 [details]
stacktrace
Comment 3 Petr Hejl 2012-11-07 15:28:59 UTC

*** This bug has been marked as a duplicate of bug 220322 ***