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 73295 - Cannot create Entity Classes from DB in AC
Summary: Cannot create Entity Classes from DB in AC
Status: RESOLVED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-06 15:28 UTC by Jaroslav Pospisil
Modified: 2012-10-30 20:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Cache calls to getScreenInsets for 10 seconds (3.68 KB, patch)
2012-10-30 20:25 UTC, everflux
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Pospisil 2006-03-06 15:28:11 UTC
Build 20060302

1)Create Application Client
2)Invoke Persistence|Entity Classes from Database  wizard
3)Select database and on next screen select tables
4)Click on Finish
ERROR:Entity Bean Generation Window stuck on screen and under it's open
"java.lang.ArrayIndexOutOfBoundsException: 0" window.

Beacuse exception in message.log is very short, attaching here instead in file:

java.lang.ArrayIndexOutOfBoundsException: 0
	at
org.netbeans.modules.j2ee.persistence.wizard.fromdb.RelatedCMPWizard.createBeans(RelatedCMPWizard.java:234)
	at
org.netbeans.modules.j2ee.persistence.wizard.fromdb.RelatedCMPWizard.access$100(RelatedCMPWizard.java:66)
	at
org.netbeans.modules.j2ee.persistence.wizard.fromdb.RelatedCMPWizard$2.run(RelatedCMPWizard.java:208)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)

NOTICE: The same behaviour is for Enterprise|CMP Entity Beans From Database
Comment 1 Andrei Badea 2006-04-19 22:16:29 UTC
I can't reproduce this issue and moreover, the Entity classes from DB wizard has
changed heavily since the report date. Closing, please reopen with reproducible
steps if it occurs again.
Comment 2 everflux 2012-10-30 20:25:35 UTC
Created attachment 126803 [details]
Cache calls to getScreenInsets for 10 seconds
Comment 3 everflux 2012-10-30 20:26:29 UTC
Damn. Wrong ticket - sorry! (Perhaps some admin could remove this)