[jbosstools-issues] [JBoss JIRA] (JBIDE-9175) IndexOutOfBoundsExeption dialog when empty DB is used for code gereration

Koen Aers (JIRA) jira-events at lists.jboss.org
Wed Jan 9 02:18:08 EST 2013


     [ https://issues.jboss.org/browse/JBIDE-9175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koen Aers updated JBIDE-9175:
-----------------------------

    Fix Version/s: 4.0.0.Final
                       (was: 3.3.2)

    
> IndexOutOfBoundsExeption dialog when empty DB is used for code gereration
> -------------------------------------------------------------------------
>
>                 Key: JBIDE-9175
>                 URL: https://issues.jboss.org/browse/JBIDE-9175
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: hibernate
>    Affects Versions: 3.3.0.M1
>         Environment: JBT 3.3.0.m1, L64, mysql
>            Reporter: Jiri Peterka
>            Assignee: Max Rydahl Andersen
>            Priority: Blocker
>             Fix For: 4.0.0.Final
>
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> 	at java.util.ArrayList.RangeCheck(ArrayList.java:547)
> 	at java.util.ArrayList.remove(ArrayList.java:387)
> 	at org.hibernate.tool.hbm2x.DocExporter.generatePackageSummary(DocExporter.java:386)
> 	at org.hibernate.tool.hbm2x.DocExporter.doStart(DocExporter.java:161)
> 	at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:95)
> 	at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate$1.execute(CodeGenerationLaunchDelegate.java:408)
> 	at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
> 	at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:72)
> 	at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.runExporters(CodeGenerationLaunchDelegate.java:383)
> 	at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.launch(CodeGenerationLaunchDelegate.java:310)
> 	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
> 	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
> 	at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:925)
> 	at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1129)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list