- This topic has 3 replies, 2 voices, and was last updated 15 years, 11 months ago by
support-shalini.
-
AuthorPosts
-
CoxTSDMemberHi
I am getting null pointer exception message while trying to do the hibernate reverse engineering on a table. I am using the 10.2 thin driver for Oracle. Below is the log information. Can you please let me know what am I missing?
Thanks
Vani!ENTRY org.eclipse.core.jobs 4 2 2009-08-26 17:29:50.277
!MESSAGE An internal error occurred during: “Generating Artifacts”.
!STACK 0
java.lang.NullPointerException
at org.hibernate.console.FakeDelegatingDriver.connect(FakeDelegatingDriver.java:40)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:84)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2005)
at com.genuitec.eclipse.hibernate.wizards.MEJDBCMetaDataConfiguration.readFromJDBC(MEJDBCMetaDataConfiguration.java:72)
at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob$7.execute(GenerateArtifactsJob.java:877)
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.buildConfiguration(GenerateArtifactsJob.java:858)
at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.run(GenerateArtifactsJob.java:405)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)August 26, 2009 at 11:40 pm #301820
support-shaliniMemberCoxTSD,
Can you give us some more information?
1. What are your installation details? You can get them from MyEclipse > Installation Summary > Installation Details.
2. What are the driver jar files that you are using?
3. What is the version of hibernate that you are using?August 27, 2009 at 8:13 am #301841
CoxTSDMemberI use ojdbc14.jar for Oracle 10.2.0.4 and Hibernate 3.2.
Here are the installation Details:
*** Date:
Thursday, August 27, 2009 9:07:01 AM EDT** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_11*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 6.6.0
Build id: 6.6.0-20081015*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 6.6.0
Build id: 6.6.0-20081015Eclipse Platform
Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
Build id: M20080221-1800Eclipse RCP
Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
Build id: M20080221-1800Eclipse Java Development Tools
Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
Build id: M20080221-1800Eclipse Plug-in Development Environment
Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
Build id: M20080221-1800Eclipse Project SDK
Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
Build id: M20080221-1800Eclipse Graphical Editing Framework
Version: 3.3.2.v20080129
Build id: 20080221-1602Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\MyEclipse 6.5\eclipse\eclipse.exe
-name
Eclipse
–launcher.library
C:\Program Files\MyEclipse 6.5\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
-startup
C:\Program Files\MyEclipse 6.5\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
-exitdata
a8c_50
-clean
-vm
C:\Program Files\MyEclipse 6.5\jre\bin\javaw.exeAugust 27, 2009 at 11:55 pm #301857
support-shaliniMemberCoxTSD,
I could not replicate this at my end. I have attached some screen shots for your reference.
Can you share your project? You can send a mail to support@genuitec.com. Please add ATTN: Shalini in the subject and refer to this thread.
Please send the script of the table also. This will help us reproduce this issue internally and quickly work on resolution.Attachments:
You must be logged in to view attached files. -
AuthorPosts