-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: NullPoiner Exception
PostPosted: Tue Jun 21, 2005 1:24 pm 
Newbie

Joined: Wed Jun 15, 2005 9:36 am
Posts: 9
Location: Mexico
Hibernate Tools version:

3.0.0 alpha 4a


Name and version of the database you are using:

Oracle 10g

Hi there,

I was sucessfully generating my Domain classes and hibernate mappings with Hibernate Tools, but after some changes in the DB now I'm getting the following error while running the wizard:

Code:
!ENTRY org.hibernate.eclipse.console 4 4 2005-06-21 12:19:23.307
!MESSAGE Error under artifact generation
!STACK 0
java.lang.NullPointerException
   at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$2.execute(ArtifactGeneratorWizard.java:169)
   at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:77)
   at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.doFinish(ArtifactGeneratorWizard.java:167)
   at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.access$0(ArtifactGeneratorWizard.java:132)
   at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$1.run(ArtifactGeneratorWizard.java:98)
   at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:111)
!SUBENTRY 1 org.hibernate.eclipse.console 4 4 2005-06-21 12:19:23.307
!MESSAGE <No message>
!STACK 0
java.lang.NullPointerException
   at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$2.execute(ArtifactGeneratorWizard.java:169)
   at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:77)
   at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.doFinish(ArtifactGeneratorWizard.java:167)
   at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.access$0(ArtifactGeneratorWizard.java:132)
   at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$1.run(ArtifactGeneratorWizard.java:98)
   at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:111)
!SUBENTRY 2 org.hibernate.eclipse.console 4 150 2005-06-21 12:19:23.307
!MESSAGE <no message>
!STACK 0
java.lang.NullPointerException
   at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$2.execute(ArtifactGeneratorWizard.java:169)
   at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:77)
   at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.doFinish(ArtifactGeneratorWizard.java:167)
   at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.access$0(ArtifactGeneratorWizard.java:132)
   at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$1.run(ArtifactGeneratorWizard.java:98)
   at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:111)



Any idea of the reason of this error?

Thank you and best regards !!

-Marcelo

_________________
Marcelo Torres


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 21, 2005 2:01 pm 
Newbie

Joined: Wed Jun 15, 2005 9:36 am
Posts: 9
Location: Mexico
By the way, I'm using JBoss IDE 1.5m1....

Do you believe this might be an IDE bug more than a Hibernate tools issue?

_________________
Marcelo Torres


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 21, 2005 2:20 pm 
Newbie

Joined: Wed Jun 15, 2005 9:36 am
Posts: 9
Location: Mexico
Got the same error with Eclipse 3.1RC3.... =(

_________________
Marcelo Torres


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 21, 2005 5:26 pm 
Newbie

Joined: Wed Jun 15, 2005 9:36 am
Posts: 9
Location: Mexico
Came with the source of the problem...

I was trying to generate domain classes and mappings and proyect's root....instead of a given folder...

So, don't try it !!!

Regards,

Marcelo

_________________
Marcelo Torres


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 27, 2005 3:22 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
Please submit a bug so i can reproduce it and fix it so it won't happen.

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.