-->
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.  [ 10 posts ] 
Author Message
 Post subject: Artifact generation exception
PostPosted: Sat Oct 29, 2005 8:58 am 
Beginner
Beginner

Joined: Thu Oct 20, 2005 12:35 pm
Posts: 21
When I try to do a reversed engineering trough artifact generation, i keep getting the same error:

Message: Error under artifact generation

Stack Trace:

java.lang.NullPointerException
at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$2.execute(Unknown Source)
at org.hibernate.console.execution.DefaultExecutionContext.execute(Unknown Source)
at org.hibernate.console.ConsoleConfiguration.execute(Unknown Source)
at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.doFinish(Unknown Source)
at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.access$0(Unknown Source)
at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$1.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)



Any suggestions anyone? I configured the configuration files right, no problem there, i managed to connect to the database trough my database driver.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 29, 2005 9:00 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
and this is with 3.1 beta 1 ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 29, 2005 10:32 am 
Beginner
Beginner

Joined: Thu Oct 20, 2005 12:35 pm
Posts: 21
yes, i even tried using the latest nightly builds, but still the same error.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 10, 2005 4:46 pm 
Newbie

Joined: Thu Nov 10, 2005 4:37 pm
Posts: 5
Location: Germany
Here too... The mentioned version causes this error.

- Eclipse 3.2
- Hibernate Tools 3.1 beta 1
- JDK 1.4.2
- MacOS X 10.3


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 10, 2005 5:04 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
can you show a screenshot of the wizard before i press enter?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 10, 2005 6:05 pm 
Newbie

Joined: Thu Nov 10, 2005 4:37 pm
Posts: 5
Location: Germany
Yes... Not a beautiful screenshot... but a screenshot. ;)

--> http://www.saavik.de/Bilder/artifact_wizard.jpg


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 17, 2005 2:04 pm 
Newbie

Joined: Thu Nov 10, 2005 4:37 pm
Posts: 5
Location: Germany
*bangsHeadIntoWall*

Now it works...

It did not work as I tried to generate those files into the projectRoot (in my case the project is called "Test").

But it works if those files are generated into "Test/bin" or "Test/src"(!!!)


I am curious why it does not work to use "Test" as the output directory. Why do I have to use "Test/bin" or "Test/src"?


And: I am happy that artifact generation is working now. :)

_________________
"I won't associate patience with Commander Tucker."


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 17, 2005 2:12 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
aah - root of project as output. its such a distant concept for me that i never tested that...i guess we should fix/allow that...please put it in jira.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 28, 2005 5:54 am 
Newbie

Joined: Thu Nov 10, 2005 4:37 pm
Posts: 5
Location: Germany
I tested a few Hibernate Plugins for Eclipse... and one of them puts these files into the project root... That's why I tried it with Hibernate Tools...

I thought, that Hibernate Tools knows where it should put the generated files...

_________________
"I won't associate patience with Commander Tucker."


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 28, 2005 6:21 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
what do you mean by the last sentence ? It is you who control where it puts the files...

And why would you like to mix your .class files with .java files ...gets messy.

In any case, open a jira request for it.

_________________
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.  [ 10 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.