NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
jesse.zwd
Joined: 02 Aug 2012 Posts: 3
|
Posted: Thu Aug 02, 2012 4:29 am Post subject: bug: java.lang.ArrayIndexOutOfBoundsException: 0 |
|
|
Hi,
I was following Maven EJB sample trying to add Persistence Unit to the empty project, when I click the "finish" button, an error occurred like:
java.lang.ArrayIndexOutOfBoundsException: 0
at org.netbeans.modules.j2ee.persistence.wizard.Util.addLibraryToProject0(Util.java:739)
at org.netbeans.modules.j2ee.persistence.wizard.Util.addLibraryToProject(Util.java:696)
at org.netbeans.modules.j2ee.persistence.wizard.Util.addLibraryToProject(Util.java:679)
at org.netbeans.modules.j2ee.persistence.wizard.unit.PersistenceUnitWizard.instantiateWProgress(PersistenceUnitWizard.java:198)
at org.netbeans.modules.j2ee.persistence.wizard.unit.PersistenceUnitWizard.instantiate(PersistenceUnitWizard.java:159)
at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1022)
at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:589)
at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:432)
at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:253)
at org.openide.loaders.TemplateWizardIteratorWrapper$ProgressInstantiatingIterator.instantiate(TemplateWizardIteratorWrapper.java:180)
at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1597)
at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1541)
at org.openide.WizardDescriptor.access$2000(WizardDescriptor.java:139)
[catch] at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2165)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1452)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2032)
I searched in this site, and found many similar bugs, I don't know if they are same one.
Anyway I report it.
thanks! |
|
| Back to top |
|
 |
jesse.zwd
Joined: 02 Aug 2012 Posts: 3
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|