 |
|
 |
 |
|
 |
 |
| Author |
Message |
|
|
Post subject: Hibernate Reverse Engineering won't generate classes
Posted: Sep 17, 2008 - 10:31 PM
|
|
Registered Member


Joined: May 24, 2006
Posts: 2
|
|
Hi!
I've been working on this problem for two days now and I followed all the leads I found (Even here) without any success.
When I try to reverse engineer a table from my MySQL database I get the following error :
«Generating artifacts (Time of error ...)
Reason : java.util.NoSuchElementException
Then I look in the log and I get
| Quote: | !ENTRY org.eclipse.core.jobs 4 2 2008-09-17 17:25:15.786
!MESSAGE An internal error occurred during: "Generating Artifacts".
!STACK 0
java.util.NoSuchElementException
at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
at java.util.HashMap$ValueIterator.next(Unknown Source)
at com.genuitec.eclipse.hibernate.tool.MESingleClassExporter.doStart(MESingleClassExporter.java:59)
at com.genuitec.eclipse.hibernate.tool.hbm2x.VAbstractExporter.start(VAbstractExporter.java:97)
at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob$3.execute(GenerateArtifactsJob.java:547)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:65)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:91)
at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.run(GenerateArtifactsJob.java:412)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) |
Here is my installation summury
| Code: | *** Date:
Wednesday, September 17, 2008 5:27:52 o'clock PM EDT
** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_11
*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 6.5.1 GA
Build id: 6.5.1-GA-20080715
*** Eclipse details:
MyEclipse Enterprise Workbench
Version: 6.5.1 GA
Build id: 6.5.1-GA-20080715
Eclipse Platform
Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
Build id: M20080221-1800
Eclipse RCP
Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
Build id: M20080221-1800
Eclipse Java Development Tools
Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
Build id: M20080221-1800
Eclipse Plug-in Development Environment
Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
Build id: M20080221-1800
Eclipse Project SDK
Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
Build id: M20080221-1800
Eclipse Graphical Editing Framework
Version: 3.3.2.v20080129
Build id: 20080221-1602
Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Users\Denis\AppData\Local\MyEclipse 6.5\eclipse\eclipse.exe
-name
Eclipse
--launcher.library
C:\Users\Denis\AppData\Local\MyEclipse 6.5\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
-startup
C:\Users\Denis\AppData\Local\MyEclipse 6.5\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
-exitdata
1d54_120
-clean
-vm
C:\Users\Denis\AppData\Local\MyEclipse 6.5\jre\bin\javaw.exe |
Please help me... Any insight will be very appreciated...
Regards |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Hibernate Reverse Engineering won
Posted: Sep 18, 2008 - 08:02 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 5657
|
|
| What version of MySQL are you working with ? I would suggest you try out another version of MySQL as well. Does the problem persist? |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
| |
|
|
 |
|
 |
|
|
|
 |