Dear all
I'm struggling with a crucial problem when trying to generate code by re-engineering from a MySQL DB. It was running once but now terminates with a NPE and unfortunately no message. I even was at that point where I transfered database objects to my webapp. Setup: Eclipse Galileo 3.5 with GWT and Hibernate plug-in.
I can connect to the DB and define the reveng.xml file by using the console configuration. I've put the relevant parameters on 'Main' and 'Exporters' tab in the 'Run' dialog. But then, when I finally run the Code Generation I receive a pop-up reporting:
'Exception while generating code. Reason: java.lang.NullPointerException'No stack trace, no error log. I've found a topic on Google where exactly this issue was raised and refers to a problem if the output directory doesn't exist (
http://opensource.atlassian.com/projects/hibernate/browse/HBX-589). But this was solved a long time ago and does not solve my problem since the directory exists in my file system.
I set up a new Eclipse Helios 3.6 environment and reinstalled necessary software, same result, same error. I'm quite confident that I've put the correct files to the class path and copied also the right files to the lib. But, nevertheless, it might be that I have deleted something from the class path in my Eclipse Galileo configuration and forgot to include it in the new Helios configuration.
Is there anywhere a documentation, aside from the Hibernate doc, where I can match my current setup with a setup how it should look like? Can anybody help please? It seems that there is some global setting corrupted (or I however did something wrong :-)). I'm at my wits' end... and going nuts...
Thanks and best,
Carsten