I am new to hibernate, and I am using the Hibernate Tools reference guide for version 3.2.0 Beta 10. I have setup using the jTDS SQL Server drivers (since the microsoft provided ones don't seem to work with the tools). During the code generation process it is going along for a while and then I get a null pointer exception stating "<no message>". The stack trace it provided is below.
I setup the config files via the wizards using only required information and leave the rest to utilize default settings.
If there is a log file someplace I can provide, please let me know where it is and how you prefer to have them posted.
Any help is welcomed,
-Creepy
Hibernate version: Hibernate Core 3.2.5.ga
Mapping documents: Used Default settings
Code between sessionFactory.openSession() and session.close(): Didn't get this far
Full stack trace of any exception that occurs:
Code:
java.lang.NullPointerException: <no message>
java.lang.NullPointerException
at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.getLocation(CodeGenerationLaunchDelegate.java:286)
at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.access$0(CodeGenerationLaunchDelegate.java:285)
at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate$1.execute(CodeGenerationLaunchDelegate.java:232)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:65)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:88)
at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.runExporters(CodeGenerationLaunchDelegate.java:228)
at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.launch(CodeGenerationLaunchDelegate.java:130)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:766)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:608)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:899)
at org.eclipse.debug.internal.ui.DebugUIPlugin$7.run(DebugUIPlugin.java:1102)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Name and version of the database you are using: Microsoft SQL Server 2005
The generated SQL (show_sql=true): Couldn't get this far
Debug level Hibernate log excerpt: Do not know how to check