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 152630 - [65cat] IndexOutOfBoundsException at org.netbeans.modules.schema2beans.BeanProp.checkParams
Summary: [65cat] IndexOutOfBoundsException at org.netbeans.modules.schema2beans.BeanPr...
Status: RESOLVED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Sergey Petrov
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-07 09:15 UTC by sunbiz
Modified: 2009-11-09 04:20 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 137135


Attachments
stacktrace (3.38 KB, text/plain)
2008-11-07 09:16 UTC, sunbiz
Details
stacktrace (3.38 KB, text/plain)
2008-11-07 09:26 UTC, sunbiz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2008-11-07 09:15:09 UTC
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)
Comment 1 sunbiz 2008-11-07 09:16:45 UTC
Created attachment 73433 [details]
stacktrace
Comment 2 sunbiz 2008-11-07 09:26:02 UTC
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)
Comment 3 sunbiz 2008-11-07 09:26:12 UTC
Created attachment 73434 [details]
stacktrace
Comment 4 Petr Jiricka 2009-10-09 20:24:45 UTC
> 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.
Comment 5 Sergey Petrov 2009-11-09 04:20:09 UTC
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.