-->
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.  [ 18 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: hbm2hbmxml encounters MethodInvocationException
PostPosted: Fri Jan 20, 2006 4:48 pm 
Beginner
Beginner

Joined: Wed Nov 03, 2004 6:24 pm
Posts: 24
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:

Mapping documents:

Code between sessionFactory.openSession() and session.close():

Full stack trace of any exception that occurs:

Name and version of the database you are using:

The generated SQL (show_sql=true):

Debug level Hibernate log excerpt:


I'm getting a MethodInvocationException with HibernateTools when using hbm2hbmxml to generate HBMs from POJOs, as follows:

Class org.hibernate.tool.hbm2x.pojo.NoopImportContext loaded from ant loader (parentFirst)

[hibernatetool] 13:44:37,537 ERROR template:94 - Method getJavaTypeName threw exception for reference $c2j in template hbm/many-to-one.hbm.vm at [3,20]

I have used the exact same POJOs together with the the Unisys RDMS OS2200 relational database to perform SELECTs and INSERTs successfully.

Environment:
Hibernate 3.1.0
Hibernate Tools in JBossIDE 1.5 Final Release (folder name is C:\eclipse\plugins\org.hibernate.eclipse_3.1.0.beta3\lib\tools)
JBoss 4.0.2 plus EJB 3 RC3
Eclipse 3.1.1
Windows XP Service Pack 2
ANT 1.6.5 (ant -debug output appears at the end of this message)
CLASSPATH (appears in the ant -debug output)

POJOs, hibernate.cfg.xml and ANT debug output follow:

package com.demos.hibernatemovies;

import javax.persistence.Entity;
import javax.persistence.GeneratorType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Column;
import javax.persistence.OneToMany;
import javax.persistence.JoinColumn;
import javax.persistence.FetchType;
import javax.persistence.CascadeType;
import javax.persistence.NamedQuery;

/*
@NamedQuery(
name="findAllStudiosWithName",
queryString="SELECT s.studioName FROM Studio s WHERE s.studioName = :studioName"
)
*/

import java.util.Set;
import java.util.HashSet;

import com.demos.hibernatemovies.Movie;

@Entity
@Table(name="STUDIO")
public class Studio implements java.io.Serializable {
private String studioName ;
private Set<Movie> movies = new HashSet<Movie>();

/** default constructor */
public Studio() {
}

/** minimal constructor */
public Studio(String studioName) {
this.studioName = studioName;
}

/** full constructor */
public Studio(String studioName, Set<Movie>movies) {
this.studioName = studioName;
this.movies = movies;
}

@Id(generate=GeneratorType.NONE)
@Column(name="STUDIO_NAME", nullable=false, length=64)
public String getStudioName() {
return this.studioName;
}
public void setStudioName(String studioName) {
this.studioName = studioName;
}

public void addMovie(Movie movie)
{
if (movies == null) movies = new HashSet<Movie>();
movies.add(movie);
System.out.println("Exit: addMovie()");
}

@OneToMany(targetEntity=com.demos.hibernatemovies.Movie.class,
mappedBy="studio",
cascade = CascadeType.ALL,
fetch = FetchType.EAGER )
public Set<Movie> getMovies()
{

return movies;
}

public void setMovies(Set<Movie> movies)
{
this.movies = movies;
}

}

package com.demos.hibernatemovies;

import javax.persistence.Entity;
import javax.persistence.GeneratorType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Column;
import javax.persistence.ManyToOne;
import javax.persistence.JoinColumn;

import java.sql.Date;
import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;
import java.util.Calendar;


import com.demos.hibernatemovies.Actor;
import com.demos.hibernatemovies.Category;
import javax.persistence.JoinTable;
import javax.persistence.ManyToMany;
import javax.persistence.CascadeType;
import javax.persistence.FetchType;


@Entity
@Table(name="MOVIE")
public class Movie implements java.io.Serializable {

private String movieTitle;
private Date releaseDate;
// private String studioName;
private Studio studio = new Studio();
private BigDecimal budget;
private Set<Actor> actors = new HashSet<Actor>();
private Set<Category> categories = new HashSet<Category>();

/** default constructor */
public Movie() {
}

/** full constructor */
public Movie(String movieTitle, Date releaseDate, Studio studio, BigDecimal budget, Set<Actor> actors, Set<Category> categories) {
this.movieTitle = movieTitle;
this.releaseDate = releaseDate;
// this.studioName = studioName;
this.studio = studio;
this.budget = budget;
this.actors = actors;
this.categories = categories;
}

/** minimal constructor */
public Movie(String movieTitle) {
this.movieTitle = movieTitle;
}

@Id(generate=GeneratorType.NONE)
@Column(name="MOVIE_TITLE", nullable=false, length=64)
public String getMovieTitle() {
return this.movieTitle;
}
public void setMovieTitle(String movieTitle) {
this.movieTitle = movieTitle;
}

@Column(name="REL_DATE", nullable=true)
public Date getReleaseDate() {
return this.releaseDate;
}
public void setReleaseDate(Date releaseDate) {
this.releaseDate = releaseDate;
}

@ManyToOne(optional=true,
targetEntity=com.demos.hibernatemovies.Studio.class,
fetch=FetchType.EAGER)
public Studio getStudio() {
return this.studio;
}
public void setStudio(Studio studio) {
this.studio = studio;
}



@Column(name="BUDGET", nullable=true, length=2)
public BigDecimal getBudget() {
return this.budget;
}
public void setBudget(BigDecimal budget) {
this.budget = budget;
}


@ManyToMany(
targetEntity=com.demos.hibernatemovies.Actor.class,
cascade={CascadeType.PERSIST, CascadeType.MERGE}
)
@JoinTable(
table=@Table(name="MOVIE_ACTORS"),
joinColumns={@JoinColumn(name="MOVIE_TITLE")},
inverseJoinColumns={@JoinColumn(name="FIRST_NAME"), @JoinColumn(name="LAST_NAME")}
)

public Set<Actor> getActors() {
return actors;
}

public void setActors(Set<Actor> actors)
{
this.actors = actors;
}

public void addActor(Actor actor)
{
if (actors == null) actors = new HashSet<Actor>();
actors.add(actor);
}

@ManyToMany(
targetEntity=com.demos.hibernatemovies.Category.class,
cascade={CascadeType.PERSIST, CascadeType.MERGE}
)
@JoinTable(
table=@Table(name="MOVIE_CATEGORIES"),
joinColumns={@JoinColumn(name="MOVIE_TITLE")},
inverseJoinColumns={@JoinColumn(name="CATEGORY")}
)
public Set<Category> getCategories() {
return categories;
}

public void setCategories(Set<Category> categories)
{
this.categories = categories;
}

public void addCategory(Category category) {
if (categories == null) categories = new HashSet<Category>();
categories.add(category);
}



public static Date parseReleaseDate(String year, String month, String day) {
Calendar cal = Calendar.getInstance();
cal.set(Calendar.YEAR, Integer.parseInt(year));
cal.set(Calendar.MONTH, Integer.parseInt(month));
cal.set(Calendar.DATE, Integer.parseInt(day));
cal.set(Calendar.HOUR, 0);
cal.set(Calendar.MINUTE, 0);
cal.set(Calendar.SECOND, 0);
cal.set(Calendar.MILLISECOND, 0);

long millis = cal.getTime().getTime();
java.sql.Date date = new Date(millis);
System.out.println("yyyymmdd=" + year + month + day
+ " "
+ "date="
+ date);
return date;
}

public int hashCode()
{
int result;
result = getMovieTitle().hashCode();
result = 29 * result;
return result;
}

public boolean equals(Object obj)
{
if (obj == this) return true;
if (!(obj instanceof Movie)) return false;
if (obj == null) return false;
Movie pk = (Movie) obj;
return pk.movieTitle.equals(movieTitle);
}

}

package com.demos.hibernatemovies;


import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.ManyToMany;
import javax.persistence.Table;
import javax.persistence.Column;
import javax.persistence.GeneratorType;
import javax.persistence.Id;

import java.util.Set;
import java.util.HashSet;

import com.demos.hibernatemovies.Movie;


@Entity
@Table(name="CATEGORY")
public class Category implements java.io.Serializable {

private String category;
private String description;
private Set<Movie> movies = new HashSet<Movie>();

/** default constructor */
public Category() {
}

/** full constructor */
public Category(String category, String description, Set<Movie> movies) {
this.category = category;
this.description = description;
this.movies = movies;
}

/** minimal constructor */
public Category(String category) {
this.category = category;
}

@Id(generate=GeneratorType.NONE)
@Column(name="CATEGORY", nullable=false, length=64)
public String getCategory() {
return this.category;
}
public void setCategory(String category) {
this.category = category;
}

@Column(name="DESC", nullable=true, length=255)
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}

@ManyToMany(
cascade={CascadeType.PERSIST, CascadeType.MERGE},
mappedBy="categories")
public Set<Movie> getMovies() {

return this.movies;
}

public void setMovies(Set<Movie> movies) {
this.movies = movies;
}
public void addMovie(Movie movie)
{
if (movies == null) movies = new HashSet<Movie>();
movies.add(movie);
}

}
package com.demos.hibernatemovies;


import javax.persistence.Embeddable;


@Embeddable
public class ActorPK implements java.io.Serializable {
private String firstName;
private String lastName;


public ActorPK()
{
}

public ActorPK(String firstName, String lastName)
{
this.firstName = firstName;
this.lastName = lastName;
}

public String getFirstName()
{
return firstName;
}

public void setFirstName(String firstName)
{
this.firstName = firstName;
}

public String getLastName()
{
return lastName;
}

public void setLastName(String lastName)
{
this.lastName = lastName;
}


public int hashCode()
{
String fullName = firstName + lastName;
return (int) 29*fullName.hashCode();
}

public boolean equals(Object obj)
{
if (obj == this) return true;
if (!(obj instanceof ActorPK)) return false;
if (obj == null) return false;
ActorPK pk = (ActorPK) obj;
return pk.firstName.equals(firstName) && pk.lastName.equals(lastName);
}

}
package com.demos.hibernatemovies;

import javax.persistence.Entity;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.AttributeOverrides;
import javax.persistence.AttributeOverride;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.persistence.CascadeType;
import javax.persistence.ManyToMany;

import com.demos.hibernatemovies.ActorPK;
import com.demos.hibernatemovies.Actor;
import com.demos.hibernatemovies.Movie;


import java.util.Set;
import java.util.HashSet;

@Entity
@Table(name="ACTOR")
public class Actor implements java.io.Serializable {


private ActorPK pk = new ActorPK();
private Set<Movie> movies = new HashSet<Movie>();

/** default constructor */
public Actor()
{
}


/** full constructor */
public Actor(String firstName, String lastName, Set<Movie> movies) {
this.pk.setFirstName(firstName);
this.pk.setLastName(lastName);
this.movies = movies;
}

/** minimal constructor */
public Actor(String firstName, String lastName) {
this.pk.setFirstName(firstName);
this.pk.setLastName(lastName);
}


@EmbeddedId
@AttributeOverrides({
@AttributeOverride(name = "firstName", column = @Column(name="FIRST_NAME", length=32) ),
@AttributeOverride(name = "lastName", column = @Column(name="LAST_NAME", length=32))
})
public ActorPK getPk()
{
return pk;
}
public void setPk(ActorPK pk)
{
this.pk = pk;
}

@Transient
public String getFirstName()
{
return pk.getFirstName();
}
@Transient
public String getLastName()
{
return pk.getLastName();
}

@ManyToMany(
cascade={CascadeType.PERSIST, CascadeType.MERGE},
mappedBy="actors")
public Set<Movie> getMovies(){
return this.movies;
}
public void setMovies(Set<Movie> movies){
if (movies == null) movies = new HashSet<Movie>();
this.movies = movies;
}

public void addMovie(Movie movie) {
if (movies == null) movies = new HashSet<Movie>();
movies.add(movie);
}

}


hibernate.cfg.xml:
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">

<hibernate-configuration>

<session-factory>

<!-- Database connection settings -->
<property name="hibernate.connection.driver_class">com.unisys.os2200.rdms.jdbc.RdmsDriver</property>
<property name="hibernate.connection.url">jdbc:rdms:host=xxx.xxx.xxx.xxx;port=xxxx;schema=ANNOTATIONS1;varchar=varChar;</property>
<property name="hibernate.connection.username">xxxx</property>
<property name="hibernate.connection.password">xxxx</property>
<property name="hibernate.transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property>
<property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
<property name="hibernate.dialect">org.hibernate.dialect.RDMSOS2200Dialect</property>
<property name="hibernate.default_schema">ANNOTATIONS1</property>
<property name="hibernate.connection.isolation">2</property>
<property name="hibernate.jdbc.use_scrollable_resultset">false</property>
<property name="hibernate.jdbc.use_streams_for_binary">false</property>
<property name="hibernate.jdbc.use_get_generated_keys">false</property>
<property name="hibernate.use_outer_join">true</property>
<property name="hibernate.fetch_size">10</property>
<property name="hibernate.max_fetch_depth">3</property>
<property name="hibernate.query.factory_class">org.hibernate.hql.ast.ASTQueryTranslatorFactory</property>
<property name="hibernate.query.substitutions">true 1, false 0</property>
<property name="hibernate.show_sql">true</property>


<!-- JDBC connection pool (use the built-in) -->
<property name="connection.pool_size">1</property>

<!-- Enable Hibernate's automatic session context management -->
<property name="current_session_context_class">thread</property>

<mapping package="com.demos.hibernatemovies"/>
<mapping class="com.demos.hibernatemovies.Actor"/>
<mapping class="com.demos.hibernatemovies.ActorPK"/>
<mapping class="com.demos.hibernatemovies.Category"/>
<mapping class="com.demos.hibernatemovies.Movie"/>
<mapping class="com.demos.hibernatemovies.Studio"/>
</session-factory>

</hibernate-configuration>





Apache Ant version 1.6.5 compiled on June 2 2005
Buildfile: build.xml
Adding reference: ant.PropertyHelper
Detected Java version: 1.5 in: F:\j2se1.5.0\jre
Detected OS: Windows XP
Adding reference: ant.ComponentHelper
Setting ro project property: ant.version -> Apache Ant version 1.6.5 compiled on June 2 2005
Setting ro project property: ant.file -> F:\temp\build.xml
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile F:\temp\build.xml with URI = file:///F:/temp/build.xml
Setting ro project property: ant.project.name -> BuildHBM
Adding reference: BuildHBM
Setting ro project property: ant.file.BuildHBM -> F:\temp\build.xml
Project base dir set to: F:\temp
+Target:
Adding reference: classpath
+Target: fromAnnotations
[property] Loading Environment env.
Setting project property: env.TEMP -> C:\DOCUME~1\PloskiKL\LOCALS~1\Temp
Setting project property: env.HOME -> C:\cygwin\KLP-CYGWIN-HOME
Setting project property: env.JAVA_HOME -> F:\j2se1.5.0
Setting project property: env.ProgramFiles -> C:\Program Files
Setting project property: env.Path -> "F:\ANT-1-6-5\apache-ant-1.6.5"\bin;F:\j2se1.5.0\bin;F:\ANT-1-6-5\apache-ant-1.6.5\bin;F:\gnu\emacs-20.7\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\msys\1.0\bin;C:\mingw\bin;F:\PThreads-Win32-Redhat\GCE2
Setting project property: env.SESSIONNAME -> Console
Setting project property: env.SystemRoot -> C:\WINDOWS
Setting project property: env.USERNAME -> ploskikl
Setting project property: env._JAVACMD -> F:\j2se1.5.0\bin\java.exe
Setting project property: env.PROCESSOR_LEVEL -> 6
Setting project property: env.FP_NO_HOST_CHECK -> NO
Setting project property: env.USERPROFILE -> C:\Documents and Settings\PloskiKL
Setting project property: env.PROCESSOR_REVISION -> 0806
Setting project property: env.CommonProgramFiles -> C:\Program Files\Common Files
Setting project property: env.ANT_CMD_LINE_ARGS -> -debug
Setting project property: env.HOMEPATH -> \
Setting project property: env.PROCESSOR_ARCHITECTURE -> x86
Setting project property: env.OS -> Windows_NT
Setting project property: env.CLIENTNAME -> Console
Setting project property: env.ComSpec -> C:\WINDOWS\system32\cmd.exe
Setting project property: env.PATHEXT -> .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
Setting project property: env.PROMPT -> $P$G
Setting project property: env.ALLUSERSPROFILE -> C:\Documents and Settings\All Users
Setting project property: env.SMS_LOCAL_DIR -> C:\WINDOWS
Setting project property: env.HOMEDRIVE -> U:
Setting project property: env.HOMESHARE -> \\rv-loki\LetterP\PloskiKL
Setting project property: env.JBOSS_DIST -> F:\JBoss-4-0-2-eclipse-2200-all-in-one-3-1-1-DST1\jboss-4.0.2
Setting project property: env.PROCESSOR_IDENTIFIER -> x86 Family 6 Model 8 Stepping 6, GenuineIntel
Setting project property: env.APPDATA -> C:\Documents and Settings\PloskiKL\Application Data
Setting project property: env.USERDNSDOMAIN -> NA.UIS.UNISYS.COM
Setting project property: env.NUMBER_OF_PROCESSORS -> 1
Setting project property: env.JBOSS_HOME -> F:\JBoss-4-0-2-eclipse-2200-all-in-one-3-1-1-DST1\jboss-4.0.2
Setting project property: env.ANT_HOME -> "F:\ANT-1-6-5\apache-ant-1.6.5"
Setting project property: env._USE_CLASSPATH -> yes
Setting project property: env.SystemDrive -> C:
Setting project property: env.TMP -> C:\DOCUME~1\PloskiKL\LOCALS~1\Temp
Setting project property: env.USERDOMAIN -> NA
Setting project property: env.windir -> C:\WINDOWS
Setting project property: env.COMPUTERNAME -> USRV-PLOSKIKL
Setting project property: env.LOGONSERVER -> \\USRV-NADC2
Setting project property: eclipse.home -> F:\Eclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release
Setting project property: hibernate.home -> F:\Hibernate-3-1-0\hibernate-3.1
Setting project property: hibernate.tools -> F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools
Setting project property: hibernate.annotations -> F:\Hibernate-Annotations-3-1-Beta7\hibernate-annotations-3.1beta7
Setting project property: hibernate.annotations.lib -> F:\Hibernate-Annotations-3-1-Beta7\hibernate-annotations-3.1beta7\lib
Setting project property: javassist.home -> F:\JBoss-4-0-2-EJB3-RC3\jboss-4.0.2\server\all\deploy\jboss-aop-jdk50.deployer
Setting project property: jboss.aop.home -> F:\Hibernate-3-1-0\hibernate-3.1\lib
Setting project property: RDMSDriver.home -> F:\JDBC-for-RDMS\udssvn\RS02
Setting project property: connector-api.home -> F:\JDBC-for-RDMS
Setting project property: generated.hbm.dir -> F:\temp\Annotations-HBM-XML
Setting project property: hibernate.project -> F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1
Setting project property: hibernate.project.lib -> F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib
Setting project property: pojo.dir -> F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\bin
Setting project property: hibernate.cfg.file -> F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\bin\hibernate.cfg.xml
Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
Adding reference: classpath
Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
Could not load a dependent class (jdepend/xmlui/JDepend) for type jdepend
Could not load a dependent class (junit/framework/Test) for type junit
fileset: Setup scanner in dir F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools with patternSet{ includes: [**/*.jar] excludes: [] }
fileset: Setup scanner in dir F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib with patternSet{ includes: [**/*.jar] excludes: [] }
fileset: Setup scanner in dir F:\JBoss-4-0-2-EJB3-RC3\jboss-4.0.2\server\all\deploy\jboss-aop-jdk50.deployer with patternSet{ includes: [javassist.jar] excludes: [] }
fileset: Setup scanner in dir F:\JDBC-for-RDMS\udssvn\RS02 with patternSet{ includes: [rdmsdriver.jar] excludes: [] }
fileset: Setup scanner in dir F:\JDBC-for-RDMS with patternSet{ includes: [connector-api.jar] excludes: [] }
Setting project property: build.classpath -> F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\hibernate-tools.jar;F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\jtidy-r8-21122004.jar;F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\velocity-1.4.jar;F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\velocity-tools-generic-1.1.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\antlr-2.7.6rc1.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\asm-attrs.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\asm.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\cglib-2.1.3.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\commons-collections-2.1.1.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\commons-logging-1.0.4.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\dom4j-1.6.1.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\ehcache-1.1.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\ejb3-persistence.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate-annotations.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate-entitymanager.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate3.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\jboss-common.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\jdbc2_0-stdext.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\jta.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\xml-apis.jar;F:\JBoss-4-0-2-EJB3-RC3\jboss-4.0.2\server\all\deploy\jboss-aop-jdk50.deployer\javassist.jar;F:\JDBC-for-RDMS\udssvn\RS02\rdmsdriver.jar;F:\JDBC-for-RDMS\connector-api.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\bin
fileset: Setup scanner in dir F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools with patternSet{ includes: [**/*.jar] excludes: [] }
fileset: Setup scanner in dir F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib with patternSet{ includes: [**/*.jar] excludes: [] }
fileset: Setup scanner in dir F:\JBoss-4-0-2-EJB3-RC3\jboss-4.0.2\server\all\deploy\jboss-aop-jdk50.deployer with patternSet{ includes: [javassist.jar] excludes: [] }
fileset: Setup scanner in dir F:\JDBC-for-RDMS\udssvn\RS02 with patternSet{ includes: [rdmsdriver.jar] excludes: [] }
fileset: Setup scanner in dir F:\JDBC-for-RDMS with patternSet{ includes: [connector-api.jar] excludes: [] }
Finding class org.hibernate.tool.ant.HibernateToolTask
Loaded from F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\hibernate-tools.jar org/hibernate/tool/ant/HibernateToolTask.class
Class org.apache.tools.ant.Task loaded from parent loader (parentFirst)
Class org.hibernate.tool.ant.HibernateToolTask loaded from ant loader (parentFirst)
Class java.lang.Object loaded from parent loader (parentFirst)
Class java.util.Map loaded from parent loader (parentFirst)
Class java.util.List loaded from parent loader (parentFirst)
Finding class org.hibernate.tool.ant.ExporterTask
Loaded from F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\hibernate-tools.jar org/hibernate/tool/ant/ExporterTask.class
Class org.hibernate.tool.ant.ExporterTask loaded from ant loader (parentFirst)
Finding class org.hibernate.tool.ant.Hbm2DAOExporterTask
Loaded from F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\hibernate-tools.jar org/hibernate/tool/ant/Hbm2DAOExporterTask.class
Finding class org.hibernate.tool.ant.Hbm2JavaExporterTask
Loaded from F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\hibernate-tools.jar org/hibernate/tool/ant/Hbm2JavaExporterTask.class
Class org.hibernate.tool.ant.Hbm2JavaExporterTask loaded from ant loader (parentFirst)
Class org.hibernate.tool.ant.Hbm2DAOExporterTask loaded from ant loader (parentFirst)
Finding class org.hibernate.tool.ant.Hbm2DocExporterTask
Loaded from F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\hibernate-tools.jar org/hibernate/tool/ant/Hbm2DocExporterTask.class
Class org.hibernate.tool.ant.Hbm2DocExporterTask loaded from ant loader (parentFirst)
Finding class org.hibernate.tool.ant.Hbm2HbmXmlExporterTask
Loaded from F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\hibernate-tools.jar org/hibernate/tool/ant/Hbm2HbmXmlExporterTask.class
Class org.hibernate.tool.ant.Hbm2HbmXmlExporterTask loaded from ant loader (parentFirst)
Finding class org.hibernate.tool.ant.Hbm2CfgXmlExporterTask
Loaded from F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\hibernate-tools.jar org/hibernate/tool/ant/Hbm2CfgXmlExporterTask.class
Class org.hibernate.tool.ant.Hbm2CfgXmlExporterTask loaded from ant loader (parentFirst)
Finding class org.hibernate.tool.ant.GenericExporterTask
Loaded from F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\hibernate-tools.jar org/hibernate/tool/ant/GenericExporterTask.class
Class org.hibernate.tool.ant.GenericExporterTask loaded from ant loader (parentFirst)
Finding class org.hibernate.tool.ant.Hbm2DDLExporterTask
Loaded from F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\hibernate-tools.jar org/hibernate/tool/ant/Hbm2DDLExporterTask.class
Class org.hibernate.tool.ant.Hbm2DDLExporterTask loaded from ant loader (parentFirst)
Finding class org.hibernate.tool.ant.ConfigurationTask
Loaded from F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\hibernate-tools.jar org/hibernate/tool/ant/ConfigurationTask.class
Class org.hibernate.tool.ant.ConfigurationTask loaded from ant loader (parentFirst)
Finding class org.hibernate.tool.ant.AnnotationConfigurationTask
Loaded from F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\hibernate-tools.jar org/hibernate/tool/ant/AnnotationConfigurationTask.class
Class org.hibernate.tool.ant.AnnotationConfigurationTask loaded from ant loader (parentFirst)
Finding class org.hibernate.tool.ant.JDBCConfigurationTask
Loaded from F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\hibernate-tools.jar org/hibernate/tool/ant/JDBCConfigurationTask.class
Class org.hibernate.tool.ant.JDBCConfigurationTask loaded from ant loader (parentFirst)
Class java.lang.Throwable loaded from parent loader (parentFirst)
Class org.apache.tools.ant.BuildException loaded from parent loader (parentFirst)
+Datatype hibernatetool org.hibernate.tool.ant.HibernateToolTask
[echo] Classpath is F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\hibernate-tools.jar;F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\jtidy-r8-21122004.jar;F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\velocity-1.4.jar;F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\velocity-tools-generic-1.1.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\antlr-2.7.6rc1.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\asm-attrs.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\asm.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\cglib-2.1.3.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\commons-collections-2.1.1.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\commons-logging-1.0.4.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\dom4j-1.6.1.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\ehcache-1.1.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\ejb3-persistence.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate-annotations.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate-entitymanager.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate3.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\jboss-common.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\jdbc2_0-stdext.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\jta.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\xml-apis.jar;F:\JBoss-4-0-2-EJB3-RC3\jboss-4.0.2\server\all\deploy\jboss-aop-jdk50.deployer\javassist.jar;F:\JDBC-for-RDMS\udssvn\RS02\rdmsdriver.jar;F:\JDBC-for-RDMS\connector-api.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\bin
Attempting to create object of type org.apache.tools.ant.helper.DefaultExecutor
Adding reference: ant.executor
Build sequence for target(s) `fromAnnotations' is [fromAnnotations]
Complete build sequence is [fromAnnotations, ]

fromAnnotations:
Class java.util.ArrayList loaded from parent loader (parentFirst)
Class java.util.Properties loaded from parent loader (parentFirst)
Class org.apache.tools.ant.types.Path loaded from parent loader (parentFirst)
Class java.io.File loaded from parent loader (parentFirst)
Finding class org.hibernate.cfg.Configuration
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate3.jar org/hibernate/cfg/Configuration.class
Class java.io.Serializable loaded from parent loader (parentFirst)
Class org.hibernate.cfg.Configuration loaded from ant loader (parentFirst)
Class org.apache.tools.ant.types.PropertySet loaded from parent loader (parentFirst)
Class org.apache.tools.ant.types.Environment$Variable loaded from parent loader (parentFirst)
Class java.lang.Exception loaded from parent loader (parentFirst)
Class java.io.IOException loaded from parent loader (parentFirst)
Class java.io.FileNotFoundException loaded from parent loader (parentFirst)
Class java.io.InputStream loaded from parent loader (parentFirst)
Class java.io.FileInputStream loaded from parent loader (parentFirst)
Finding class org.hibernate.HibernateException
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate3.jar org/hibernate/HibernateException.class
Finding class org.hibernate.exception.NestableRuntimeException
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate3.jar org/hibernate/exception/NestableRuntimeException.class
Finding class org.hibernate.exception.Nestable
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate3.jar org/hibernate/exception/Nestable.class
Class org.hibernate.exception.Nestable loaded from ant loader (parentFirst)
Class java.lang.RuntimeException loaded from parent loader (parentFirst)
Class org.hibernate.exception.NestableRuntimeException loaded from ant loader (parentFirst)
Class org.hibernate.HibernateException loaded from ant loader (parentFirst)
Class java.lang.ClassNotFoundException loaded from parent loader (parentFirst)
Class org.apache.tools.ant.types.FileSet loaded from parent loader (parentFirst)
Class java.lang.String loaded from parent loader (parentFirst)
Finding class org.hibernate.tool.hbm2x.Exporter
Loaded from F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\hibernate-tools.jar org/hibernate/tool/hbm2x/Exporter.class
Class org.hibernate.tool.hbm2x.Exporter loaded from ant loader (parentFirst)
Class java.lang.StringBuffer loaded from parent loader (parentFirst)
[hibernatetool] Executing Hibernate Tool with a Hibernate Annotation/EJB3 Configuration
Class java.util.Iterator loaded from parent loader (parentFirst)
Class org.apache.tools.ant.Project loaded from parent loader (parentFirst)
Class java.lang.Class loaded from parent loader (parentFirst)
Class org.apache.tools.ant.AntClassLoader loaded from parent loader (parentFirst)
[hibernatetool] 1. task: hbm2hbmxml (Generates a set of hbm.xml files)
Finding class org.hibernate.tool.hbm2x.HibernateMappingExporter
Loaded from F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\hibernate-tools.jar org/hibernate/tool/hbm2x/HibernateMappingExporter.class
Finding class org.hibernate.tool.hbm2x.ConfigurationVisitor
Loaded from F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\hibernate-tools.jar org/hibernate/tool/hbm2x/ConfigurationVisitor.class
Class org.hibernate.tool.hbm2x.ConfigurationVisitor loaded from ant loader (parentFirst)
Finding class org.hibernate.tool.hbm2x.AbstractExporter
Loaded from F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\hibernate-tools.jar org/hibernate/tool/hbm2x/AbstractExporter.class
Class org.hibernate.tool.hbm2x.AbstractExporter loaded from ant loader (parentFirst)
Class org.hibernate.tool.hbm2x.HibernateMappingExporter loaded from ant loader (parentFirst)
Finding class org.hibernate.tool.hbm2x.ExporterException
Loaded from F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\hibernate-tools.jar org/hibernate/tool/hbm2x/ExporterException.class
Class org.hibernate.tool.hbm2x.ExporterException loaded from ant loader (parentFirst)
Class java.lang.IllegalStateException loaded from parent loader (parentFirst)
Class java.io.Writer loaded from parent loader (parentFirst)
Class java.io.FileWriter loaded from parent loader (parentFirst)
Class java.io.BufferedWriter loaded from parent loader (parentFirst)
Finding class org.apache.commons.logging.LogFactory
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\commons-logging-1.0.4.jar org/apache/commons/logging/LogFactory.class
Class org.apache.commons.logging.LogFactory loaded from ant loader (parentFirst)
Class java.lang.NoSuchMethodException loaded from parent loader (parentFirst)
Class java.lang.reflect.InvocationTargetException loaded from parent loader (parentFirst)
Class java.lang.IllegalAccessException loaded from parent loader (parentFirst)
Finding class org.apache.commons.logging.LogConfigurationException
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\commons-logging-1.0.4.jar org/apache/commons/logging/LogConfigurationException.class
Class org.apache.commons.logging.LogConfigurationException loaded from ant loader (parentFirst)
Class java.lang.reflect.Method loaded from parent loader (parentFirst)
Class java.security.PrivilegedAction loaded from parent loader (parentFirst)
Class java.io.UnsupportedEncodingException loaded from parent loader (parentFirst)
Class java.lang.SecurityException loaded from parent loader (parentFirst)
Class java.io.Reader loaded from parent loader (parentFirst)
Class java.io.InputStreamReader loaded from parent loader (parentFirst)
Class java.lang.NoClassDefFoundError loaded from parent loader (parentFirst)
Class java.util.Hashtable loaded from parent loader (parentFirst)
Finding class org.apache.commons.logging.LogFactory$1
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\commons-logging-1.0.4.jar org/apache/commons/logging/LogFactory$1.class
Class org.apache.commons.logging.LogFactory$1 loaded from ant loader (parentFirst)
Class java.security.AccessController loaded from parent loader (parentFirst)
Class java.lang.Thread loaded from parent loader (parentFirst)
Class java.lang.ClassLoader loaded from parent loader (parentFirst)
Finding class org.apache.commons.logging.LogFactory$3
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\commons-logging-1.0.4.jar org/apache/commons/logging/LogFactory$3.class
Class org.apache.commons.logging.LogFactory$3 loaded from ant loader (parentFirst)
Couldn't load ResourceStream for commons-logging.properties
Couldn't load ResourceStream for commons-logging.properties
Class java.lang.System loaded from parent loader (parentFirst)
Couldn't load ResourceStream for META-INF/services/org.apache.commons.logging.LogFactory
Couldn't load ResourceStream for META-INF/services/org.apache.commons.logging.LogFactory
Finding class org.apache.commons.logging.LogFactory$2
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\commons-logging-1.0.4.jar org/apache/commons/logging/LogFactory$2.class
Class org.apache.commons.logging.LogFactory$2 loaded from ant loader (parentFirst)
Class java.lang.ClassCastException loaded from parent loader (parentFirst)
Finding class org.apache.commons.logging.impl.LogFactoryImpl
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\commons-logging-1.0.4.jar org/apache/commons/logging/impl/LogFactoryImpl.class
Class org.apache.commons.logging.impl.LogFactoryImpl loaded from ant loader (parentFirst)
Finding class org.apache.commons.logging.impl.LogFactoryImpl$1
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\commons-logging-1.0.4.jar org/apache/commons/logging/impl/LogFactoryImpl$1.class
Class org.apache.commons.logging.impl.LogFactoryImpl$1 loaded from ant loader (parentFirst)
Finding class org.apache.log4j.Logger
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/Logger.class
Finding class org.apache.log4j.Category
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/Category.class
Finding class org.apache.log4j.spi.AppenderAttachable
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/spi/AppenderAttachable.class
Class org.apache.log4j.spi.AppenderAttachable loaded from ant loader (parentFirst)
Class org.apache.log4j.Category loaded from ant loader (parentFirst)
Class org.apache.log4j.Logger loaded from ant loader (parentFirst)
Class org.apache.log4j.Logger loaded from parent loader (parentFirst)
Finding class org.apache.commons.logging.impl.Log4JLogger
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\commons-logging-1.0.4.jar org/apache/commons/logging/impl/Log4JLogger.class
Finding class org.apache.commons.logging.Log
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\commons-logging-1.0.4.jar org/apache/commons/logging/Log.class
Class org.apache.commons.logging.Log loaded from ant loader (parentFirst)
Class org.apache.commons.logging.impl.Log4JLogger loaded from ant loader (parentFirst)
Class org.apache.commons.logging.impl.Log4JLogger loaded from parent loader (parentFirst)
Class org.apache.commons.logging.impl.Log4JLogger loaded from parent loader (parentFirst)
Class java.lang.reflect.Constructor loaded from parent loader (parentFirst)
Finding class org.apache.log4j.Priority
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/Priority.class
Class org.apache.log4j.Priority loaded from ant loader (parentFirst)
Finding class org.apache.log4j.Level
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/Level.class
Class org.apache.log4j.Level loaded from ant loader (parentFirst)
Class java.util.MissingResourceException loaded from parent loader (parentFirst)
Class java.util.Enumeration loaded from parent loader (parentFirst)
Finding class org.apache.log4j.LogManager
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/LogManager.class
Class org.apache.log4j.LogManager loaded from ant loader (parentFirst)
Class java.net.MalformedURLException loaded from parent loader (parentFirst)
Finding class org.apache.log4j.spi.RootLogger
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/spi/RootLogger.class
Class org.apache.log4j.spi.RootLogger loaded from ant loader (parentFirst)
Finding class org.apache.log4j.spi.LoggerRepository
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/spi/LoggerRepository.class
Class org.apache.log4j.spi.LoggerRepository loaded from ant loader (parentFirst)
Finding class org.apache.log4j.spi.RepositorySelector
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/spi/RepositorySelector.class
Class org.apache.log4j.spi.RepositorySelector loaded from ant loader (parentFirst)
Class java.lang.IllegalArgumentException loaded from parent loader (parentFirst)
Finding class org.apache.log4j.Hierarchy
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/Hierarchy.class
Finding class org.apache.log4j.spi.RendererSupport
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/spi/RendererSupport.class
Class org.apache.log4j.spi.RendererSupport loaded from ant loader (parentFirst)
Class org.apache.log4j.Hierarchy loaded from ant loader (parentFirst)
Class java.util.Vector loaded from parent loader (parentFirst)
Finding class org.apache.log4j.ProvisionNode
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/ProvisionNode.class
Class org.apache.log4j.ProvisionNode loaded from ant loader (parentFirst)
Finding class org.apache.log4j.spi.LoggerFactory
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/spi/LoggerFactory.class
Class org.apache.log4j.spi.LoggerFactory loaded from ant loader (parentFirst)
Finding class org.apache.log4j.or.RendererMap
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/or/RendererMap.class
Class org.apache.log4j.or.RendererMap loaded from ant loader (parentFirst)
Finding class org.apache.log4j.or.ObjectRenderer
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/or/ObjectRenderer.class
Class org.apache.log4j.or.ObjectRenderer loaded from ant loader (parentFirst)
Finding class org.apache.log4j.or.DefaultRenderer
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/or/DefaultRenderer.class
Class org.apache.log4j.or.DefaultRenderer loaded from ant loader (parentFirst)
Finding class org.apache.log4j.DefaultCategoryFactory
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/DefaultCategoryFactory.class
Class org.apache.log4j.DefaultCategoryFactory loaded from ant loader (parentFirst)
Finding class org.apache.log4j.spi.DefaultRepositorySelector
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/spi/DefaultRepositorySelector.class
Class org.apache.log4j.spi.DefaultRepositorySelector loaded from ant loader (parentFirst)
Finding class org.apache.log4j.helpers.OptionConverter
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/helpers/OptionConverter.class
Class org.apache.log4j.helpers.OptionConverter loaded from ant loader (parentFirst)
Class java.lang.NumberFormatException loaded from parent loader (parentFirst)
Finding class org.apache.log4j.spi.Configurator
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/spi/Configurator.class
Class org.apache.log4j.spi.Configurator loaded from ant loader (parentFirst)
Finding class org.apache.log4j.helpers.Loader
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/helpers/Loader.class
Class org.apache.log4j.helpers.Loader loaded from ant loader (parentFirst)
Finding class org.apache.log4j.helpers.LogLog
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/helpers/LogLog.class
Class org.apache.log4j.helpers.LogLog loaded from ant loader (parentFirst)
Couldn't load Resource log4j.xml
Couldn't load Resource log4j.xml
Couldn't load Resource log4j.xml
Resource log4j.properties loaded from ant loader
Resource log4j.properties loaded from parent loader
Class java.net.URL loaded from parent loader (parentFirst)
Finding class org.apache.log4j.PropertyConfigurator
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/PropertyConfigurator.class
Class org.apache.log4j.PropertyConfigurator loaded from ant loader (parentFirst)
Finding class org.apache.log4j.helpers.FileWatchdog
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/helpers/FileWatchdog.class
Class org.apache.log4j.helpers.FileWatchdog loaded from ant loader (parentFirst)
Finding class org.apache.log4j.PropertyWatchdog
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/PropertyWatchdog.class
Class org.apache.log4j.PropertyWatchdog loaded from ant loader (parentFirst)
Class java.util.StringTokenizer loaded from parent loader (parentFirst)
Finding class org.apache.log4j.Appender
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/Appender.class
Class org.apache.log4j.Appender loaded from ant loader (parentFirst)
Finding class org.apache.log4j.ConsoleAppender
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/ConsoleAppender.class
Finding class org.apache.log4j.WriterAppender
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/WriterAppender.class
Finding class org.apache.log4j.AppenderSkeleton
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/AppenderSkeleton.class
Finding class org.apache.log4j.spi.OptionHandler
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/spi/OptionHandler.class
Class org.apache.log4j.spi.OptionHandler loaded from ant loader (parentFirst)
Class org.apache.log4j.AppenderSkeleton loaded from ant loader (parentFirst)
Class org.apache.log4j.WriterAppender loaded from ant loader (parentFirst)
Class org.apache.log4j.ConsoleAppender loaded from ant loader (parentFirst)
Class org.apache.log4j.ConsoleAppender loaded from parent loader (parentFirst)
Finding class org.apache.log4j.spi.ErrorHandler
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/spi/ErrorHandler.class
Class org.apache.log4j.spi.ErrorHandler loaded from ant loader (parentFirst)
Class java.io.OutputStreamWriter loaded from parent loader (parentFirst)
Class java.io.FilterWriter loaded from parent loader (parentFirst)
Finding class org.apache.log4j.helpers.QuietWriter
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/helpers/QuietWriter.class
Class org.apache.log4j.helpers.QuietWriter loaded from ant loader (parentFirst)
Class java.io.OutputStream loaded from parent loader (parentFirst)
Class java.io.PrintStream loaded from parent loader (parentFirst)
Finding class org.apache.log4j.Layout
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/Layout.class
Class org.apache.log4j.Layout loaded from ant loader (parentFirst)
Finding class org.apache.log4j.helpers.OnlyOnceErrorHandler
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/helpers/OnlyOnceErrorHandler.class
Class org.apache.log4j.helpers.OnlyOnceErrorHandler loaded from ant loader (parentFirst)
Finding class org.apache.log4j.PatternLayout
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/PatternLayout.class
Class org.apache.log4j.PatternLayout loaded from ant loader (parentFirst)
Class org.apache.log4j.PatternLayout loaded from parent loader (parentFirst)
Finding class org.apache.log4j.helpers.PatternParser
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/helpers/PatternParser.class
Class org.apache.log4j.helpers.PatternParser loaded from ant loader (parentFirst)
Finding class org.apache.log4j.helpers.PatternConverter
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/helpers/PatternConverter.class
Class org.apache.log4j.helpers.PatternConverter loaded from ant loader (parentFirst)
Finding class org.apache.log4j.helpers.PatternParser$LiteralPatternConverter
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/helpers/PatternParser$LiteralPatternConverter.class
Class org.apache.log4j.helpers.PatternParser$LiteralPatternConverter loaded from ant loader (parentFirst)
Finding class org.apache.log4j.helpers.PatternParser$CategoryPatternConverter
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/helpers/PatternParser$CategoryPatternConverter.class
Finding class org.apache.log4j.helpers.PatternParser$NamedPatternConverter
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/helpers/PatternParser$NamedPatternConverter.class
Class org.apache.log4j.helpers.PatternParser$NamedPatternConverter loaded from ant loader (parentFirst)
Class org.apache.log4j.helpers.PatternParser$CategoryPatternConverter loaded from ant loader (parentFirst)
Finding class org.apache.log4j.helpers.PatternParser$ClassNamePatternConverter
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/helpers/PatternParser$ClassNamePatternConverter.class
Class org.apache.log4j.helpers.PatternParser$ClassNamePatternConverter loaded from ant loader (parentFirst)
Finding class org.apache.log4j.helpers.ISO8601DateFormat
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/helpers/ISO8601DateFormat.class
Finding class org.apache.log4j.helpers.AbsoluteTimeDateFormat
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/helpers/AbsoluteTimeDateFormat.class
Class java.text.DateFormat loaded from parent loader (parentFirst)
Class org.apache.log4j.helpers.AbsoluteTimeDateFormat loaded from ant loader (parentFirst)
Class org.apache.log4j.helpers.ISO8601DateFormat loaded from ant loader (parentFirst)
Finding class org.apache.log4j.helpers.DateTimeDateFormat
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/helpers/DateTimeDateFormat.class
Class org.apache.log4j.helpers.DateTimeDateFormat loaded from ant loader (parentFirst)
Class java.text.SimpleDateFormat loaded from parent loader (parentFirst)
Finding class org.apache.log4j.helpers.PatternParser$DatePatternConverter
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/helpers/PatternParser$DatePatternConverter.class
Class org.apache.log4j.helpers.PatternParser$DatePatternConverter loaded from ant loader (parentFirst)
Finding class org.apache.log4j.helpers.PatternParser$LocationPatternConverter
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/helpers/PatternParser$LocationPatternConverter.class
Class org.apache.log4j.helpers.PatternParser$LocationPatternConverter loaded from ant loader (parentFirst)
Finding class org.apache.log4j.helpers.PatternParser$BasicPatternConverter
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/helpers/PatternParser$BasicPatternConverter.class
Class org.apache.log4j.helpers.PatternParser$BasicPatternConverter loaded from ant loader (parentFirst)
Finding class org.apache.log4j.helpers.PatternParser$MDCPatternConverter
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/helpers/PatternParser$MDCPatternConverter.class
Class org.apache.log4j.helpers.PatternParser$MDCPatternConverter loaded from ant loader (parentFirst)
Finding class org.apache.log4j.helpers.FormattingInfo
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/helpers/FormattingInfo.class
Class org.apache.log4j.helpers.FormattingInfo loaded from ant loader (parentFirst)
Finding class org.apache.log4j.config.PropertySetter
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/config/PropertySetter.class
Class org.apache.log4j.config.PropertySetter loaded from ant loader (parentFirst)
Class java.beans.FeatureDescriptor loaded from parent loader (parentFirst)
Class java.beans.PropertyDescriptor loaded from parent loader (parentFirst)
Finding class org.apache.log4j.config.PropertySetterException
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/config/PropertySetterException.class
Class org.apache.log4j.config.PropertySetterException loaded from ant loader (parentFirst)
Class java.beans.IntrospectionException loaded from parent loader (parentFirst)
Class java.beans.BeanInfo loaded from parent loader (parentFirst)
Class java.beans.Introspector loaded from parent loader (parentFirst)
Finding class org.apache.log4j.PatternLayoutBeanInfo
Finding class org.apache.log4j.PatternLayoutBeanInfo
Finding class org.apache.log4j.PatternLayoutBeanInfo
Finding class org.apache.log4j.LayoutBeanInfo
Finding class org.apache.log4j.LayoutBeanInfo
Finding class org.apache.log4j.LayoutBeanInfo
Finding class java.lang.ObjectBeanInfo
Finding class java.lang.ObjectBeanInfo
Finding class org.apache.log4j.spi.LoggingEvent
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/spi/LoggingEvent.class
Class org.apache.log4j.spi.LoggingEvent loaded from ant loader (parentFirst)
Class java.util.Calendar loaded from parent loader (parentFirst)
Class java.util.Date loaded from parent loader (parentFirst)
Class java.lang.Integer loaded from parent loader (parentFirst)
Finding class org.apache.log4j.ConsoleAppenderBeanInfo
Finding class org.apache.log4j.ConsoleAppenderBeanInfo
Finding class org.apache.log4j.ConsoleAppenderBeanInfo
Finding class org.apache.log4j.WriterAppenderBeanInfo
Finding class org.apache.log4j.WriterAppenderBeanInfo
Finding class org.apache.log4j.WriterAppenderBeanInfo
Finding class org.apache.log4j.AppenderSkeletonBeanInfo
Finding class org.apache.log4j.AppenderSkeletonBeanInfo
Finding class org.apache.log4j.AppenderSkeletonBeanInfo
Finding class org.apache.log4j.spi.Filter
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/spi/Filter.class
Class org.apache.log4j.spi.Filter loaded from ant loader (parentFirst)
Finding class org.apache.log4j.helpers.AppenderAttachableImpl
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/helpers/AppenderAttachableImpl.class
Class org.apache.log4j.helpers.AppenderAttachableImpl loaded from ant loader (parentFirst)
Finding class org.apache.log4j.CategoryKey
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar org/apache/log4j/CategoryKey.class
Class org.apache.log4j.CategoryKey loaded from ant loader (parentFirst)
Finding class org.hibernate.tool.hbm2x.ArtifactCollector
Loaded from F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\hibernate-tools.jar org/hibernate/tool/hbm2x/ArtifactCollector.class
Class org.hibernate.tool.hbm2x.ArtifactCollector loaded from ant loader (parentFirst)
Class java.util.HashMap loaded from parent loader (parentFirst)
Finding class org.hibernate.tool.hbm2x.Cfg2HbmTool
Loaded from F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\hibernate-tools.jar org/hibernate/tool/hbm2x/Cfg2HbmTool.class
Class org.hibernate.tool.hbm2x.Cfg2HbmTool loaded from ant loader (parentFirst)
Finding class org.hibernate.mapping.ValueVisitor
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate3.jar org/hibernate/mapping/ValueVisitor.class
Class org.hibernate.mapping.ValueVisitor loaded from ant loader (parentFirst)
Class java.util.Set loaded from parent loader (parentFirst)
Finding class org.hibernate.tool.hbm2x.Cfg2JavaTool
Loaded from F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\hibernate-tools.jar org/hibernate/tool/hbm2x/Cfg2JavaTool.class
Class org.hibernate.tool.hbm2x.Cfg2JavaTool loaded from ant loader (parentFirst)
Finding class org.hibernate.type.Type
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate3.jar org/hibernate/type/Type.class
Class org.hibernate.type.Type loaded from ant loader (parentFirst)
Finding class org.hibernate.mapping.MetaAttributable
Loaded from F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate3.jar org/hibernate/mapping/MetaAttributable.class
Class org.hibernate.mapping.MetaAttributable loaded from ant loader


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 23, 2006 4:20 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
how does you build.xml look like ?

and run it with ant -debug and we should get the full stack trace too.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: hbm2hbmxml encounters MethodInvocationException
PostPosted: Mon Jan 23, 2006 9:02 am 
Beginner
Beginner

Joined: Wed Nov 03, 2004 6:24 pm
Posts: 24
The build.xml file I use appears below. I did get an ant trace by using the -debug switch, but the output file is more than 2 megabytes in size. When I attempted to include it in the original message, I encountered an error, as it exceeded the maximum size permitted. I'd be more than happy to send the -debug output, but could you tell me how or where to send it? Of course I can ZIP it up first.

Thanks in advance for all suggestions and help!
- Karen


Top
 Profile  
 
 Post subject: hbm2hbmxml encounters MethodInvocationException
PostPosted: Mon Jan 23, 2006 9:03 am 
Beginner
Beginner

Joined: Wed Nov 03, 2004 6:24 pm
Posts: 24
Here's the build.xml I said I would include - sorry!

- Karen

<?xml version="1.0"?>

<project name="BuildHBM" default="fromAnnotations" basedir=".">
<property environment="env"/>
<property name="eclipse.home" value="F:\Eclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release"/>
<property name="hibernate.home" value="F:\Hibernate-3-1-0\hibernate-3.1"/>
<!-- <property name="hibernate.tools" value="${eclipse.home}\eclipse\plugins\org.hibernate.eclipse_3.1.0.beta3\lib\tools"/> -->
<property name="hibernate.tools" value="F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools"/>
<property name="hibernate.annotations" value="F:\Hibernate-Annotations-3-1-Beta7\hibernate-annotations-3.1beta7"/>
<property name="hibernate.annotations.lib" value="${hibernate.annotations}\lib"/>
<property name="javassist.home" value="F:\JBoss-4-0-2-EJB3-RC3\jboss-4.0.2\server\all\deploy\jboss-aop-jdk50.deployer"/>
<property name="jboss.aop.home" value="${hibernate.home}\lib"/>
<property name="RDMSDriver.home" value="F:\JDBC-for-RDMS\udssvn\RS02"/>
<property name="connector-api.home" value="F:\JDBC-for-RDMS"/>
<property name="generated.hbm.dir" value="F:\temp\Annotations-HBM-XML"/>
<property name="hibernate.project" value="F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1"/>
<property name="hibernate.project.lib" value="${hibernate.project}\lib"/>
<property name="pojo.dir" value="${hibernate.project}\bin"/>
<property name="hibernate.cfg.file" value="${hibernate.project}\bin\hibernate.cfg.xml"/>



<!-- Build classpath -->
<path id="classpath">
<fileset dir="${hibernate.tools}">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${hibernate.project.lib}">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${javassist.home}">
<include name="javassist.jar"/>
</fileset>
<fileset dir="${RDMSDriver.home}">
<include name="rdmsdriver.jar"/>
</fileset>
<fileset dir="${connector-api.home}">
<include name="connector-api.jar"/>
</fileset>
<!-- <pathelement location="${build.classes.dir}"/> -->
<!-- So that we can get jndi.properties for InitialContext -->
<pathelement location="${pojo.dir}"/>
</path>

<property name="build.classpath" refid="classpath"/>

<taskdef name="hibernatetool" classname="org.hibernate.tool.ant.HibernateToolTask" classpathref="classpath"/>

<target name="fromAnnotations">
<hibernatetool destdir="${generated.hbm.dir}">
<annotationconfiguration configurationfile="${hibernate.cfg.file}">
</annotationconfiguration>
<hbm2hbmxml/>
</hibernatetool>
</target>

<echo message="Classpath is ${build.classpath}"/>
</project>


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 23, 2006 9:06 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
i just need the stacktrace, not the full 2 meg debug output.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: hbm2hbmxml encounters MethodInvocationException
PostPosted: Mon Jan 23, 2006 9:09 am 
Beginner
Beginner

Joined: Wed Nov 03, 2004 6:24 pm
Posts: 24
Here is the stack trace. And thank you!

Class org.hibernate.tool.hbm2x.pojo.NoopImportContext loaded from ant loader (parentFirst)
[hibernatetool] 13:44:37,537 ERROR template:94 - Method getJavaTypeName threw exception for reference $c2j in template hbm/many-to-one.hbm.vm at [3,20]

BUILD FAILED
F:\temp\build.xml:60: org.hibernate.tool.hbm2x.ExporterException: MethodInvocationException while processing template hbm/many-to-one.hbm.vm. Invocation of method 'getJavaTypeName' in class org.hibernate.tool.hbm2x.Cfg2JavaTool threw exception class java.lang.NullPointerException : null
at org.apache.tools.ant.Task.perform(Task.java:373)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: org.hibernate.tool.hbm2x.ExporterException: MethodInvocationException while processing template hbm/many-to-one.hbm.vm. Invocation of method 'getJavaTypeName' in class org.hibernate.tool.hbm2x.Cfg2JavaTool threw exception class java.lang.NullPointerException : null
at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:150)
at org.hibernate.tool.hbm2x.HibernateMappingExporter.startProperty(HibernateMappingExporter.java:96)
at org.hibernate.tool.hbm2x.ConfigurationNavigator.export(ConfigurationNavigator.java:53)
at org.hibernate.tool.hbm2x.HibernateMappingExporter.doStart(HibernateMappingExporter.java:143)
at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:90)
at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:39)
at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:143)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
... 10 more
Caused by: java.lang.NullPointerException
at org.hibernate.mapping.Property.getMetaAttribute(Property.java:176)
at org.hibernate.tool.hbm2x.Cfg2JavaTool.getMetaAsString(Cfg2JavaTool.java:75)
at org.hibernate.tool.hbm2x.Cfg2JavaTool.getJavaTypeName(Cfg2JavaTool.java:165)
at org.hibernate.tool.hbm2x.Cfg2JavaTool.getJavaTypeName(Cfg2JavaTool.java:161)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at org.apache.velocity.Template.merge(Template.java:256)
at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:450)
at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:419)
at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:138)
... 18 more
--- Nested Exception ---
org.hibernate.tool.hbm2x.ExporterException: MethodInvocationException while processing template hbm/many-to-one.hbm.vm. Invocation of method 'getJavaTypeName' in class org.hibernate.tool.hbm2x.Cfg2JavaTool threw exception class java.lang.NullPointerException : null
at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:150)
at org.hibernate.tool.hbm2x.HibernateMappingExporter.startProperty(HibernateMappingExporter.java:96)
at org.hibernate.tool.hbm2x.ConfigurationNavigator.export(ConfigurationNavigator.java:53)
at org.hibernate.tool.hbm2x.HibernateMappingExporter.doStart(HibernateMappingExporter.java:143)
at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:90)
at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:39)
at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:143)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: java.lang.NullPointerException
at org.hibernate.mapping.Property.getMetaAttribute(Property.java:176)
at org.hibernate.tool.hbm2x.Cfg2JavaTool.getMetaAsString(Cfg2JavaTool.java:75)
at org.hibernate.tool.hbm2x.Cfg2JavaTool.getJavaTypeName(Cfg2JavaTool.java:165)
at org.hibernate.tool.hbm2x.Cfg2JavaTool.getJavaTypeName(Cfg2JavaTool.java:161)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at org.apache.velocity.Template.merge(Template.java:256)
at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:450)
at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:419)
at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:138)
... 18 more

Total time: 24 seconds


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 23, 2006 10:25 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
And this is with the latest release of jboss ide ? It looks like you have both beta2 and beta3 in the classpath.

I would suggest you use the latest and let me know if the problem still persists.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: hbm2hbmxml encounters MethodInvocationException
PostPosted: Mon Jan 23, 2006 10:43 am 
Beginner
Beginner

Joined: Wed Nov 03, 2004 6:24 pm
Posts: 24
I'm sure it's the latest release of JBossIDE 1.5 - the final release was the release I'd been looking forward to getting.

I downloaded and installed the JBossIDE 1.5 "all-in-one" bundle, to avoid making my own installation errors.

I did manually install EBJ3 Beta 3 on top of JBoss 4.0.2, but as mentioned, I am able to perform INSERTs and SELECTs successfully, so my hope is that part is correct

At first I tried to use the Hibernate Tools in ${eclipse.home}\eclipse\plugins\org.hibernate.eclipse_3.1.0.beta3\lib\tools -- You can see that line is commented out in the build.xml I sent earlier today.

When that did not work, I tried to use Hibernate Tools Beta 2.

The build.xml also displays the classpath; here is the classpath that is part of the same 2Mb -debug trace that ends in the stack trace I posted, in raw form, followed by more readable form. I'm sending the raw and readable form just in case I make some dumb mistake creating the readable form from the raw form.

So the stack trace I sent was created while using Hibernate Tools beta 2.

I'm sure I'm using Hibernate 3.1 "final" release.

I added javassist.jar from the JBoss EJB3 Beta 3 to resolve a NoClassDef exception.

Would you be so kind to point out to me the lines that indicate that I'm mixing beta 2 and beta 3? I'll have a look myself, but with that information, I can be more certain we're both looking at the same thing.

Thank you very much!

Raw form:

[echo] Classpath is F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\bin\com\demos\hibernatemovies\Actor.class;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\bin\com\demos\hibernatemovies\ActorPK.class;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\bin\com\demos\hibernatemovies\BasicQueries.class;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\bin\com\demos\hibernatemovies\Category.class;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\bin\com\demos\hibernatemovies\LoadStudioBean.class;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\bin\com\demos\hibernatemovies\LoadStudioBeanInterface.class;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\bin\com\demos\hibernatemovies\Movie.class;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\bin\com\demos\hibernatemovies\Studio.class;F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\hibernate-tools.jar;F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\jtidy-r8-21122004.jar;F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\velocity-1.4.jar;F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\velocity-tools-generic-1.1.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\antlr-2.7.6rc1.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\asm-attrs.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\asm.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\cglib-2.1.3.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\commons-collections-2.1.1.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\commons-logging-1.0.4.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\dom4j-1.6.1.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\ehcache-1.1.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\ejb3-persistence.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate-annotations.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate-entitymanager.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate3.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\jboss-common.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\jdbc2_0-stdext.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\jta.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\xml-apis.jar;F:\JBoss-4-0-2-EJB3-RC3\jboss-4.0.2\server\all\deploy\jboss-aop-jdk50.deployer\javassist.jar;F:\JDBC-for-RDMS\udssvn\RS02\rdmsdriver.jar;F:\JDBC-for-RDMS\connector-api.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\bin

Edited form:

[echo] Classpath is
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\bin\com\demos\hibernatemovies\Actor.class;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\bin\com\demos\hibernatemovies\ActorPK.class;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\bin\com\demos\hibernatemovies\BasicQueries.class;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\bin\com\demos\hibernatemovies\Category.class;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\bin\com\demos\hibernatemovies\LoadStudioBean.class;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\bin\com\demos\hibernatemovies\LoadStudioBeanInterface.class;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\bin\com\demos\hibernatemovies\Movie.class;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\bin\com\demos\hibernatemovies\Studio.class;
F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\hibernate-tools.jar;
F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\jtidy-r8-21122004.jar;
F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\velocity-1.4.jar;
F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools\velocity-tools-generic-1.1.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\antlr-2.7.6rc1.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\asm-attrs.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\asm.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\cglib-2.1.3.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\commons-collections-2.1.1.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\commons-logging-1.0.4.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\dom4j-1.6.1.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\ehcache-1.1.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\ejb3-persistence.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate-annotations.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate-entitymanager.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate3.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\jboss-common.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\jdbc2_0-stdext.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\jta.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\xml-apis.jar;
F:\JBoss-4-0-2-EJB3-RC3\jboss-4.0.2\server\all\deploy\jboss-aop-jdk50.deployer\javassist.jar;
F:\JDBC-for-RDMS\udssvn\RS02\rdmsdriver.jar;
F:\JDBC-for-RDMS\connector-api.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\bin


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 23, 2006 10:50 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
the final release does not have any beta2 references.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: hbm2hbmxml encounters MethodInvocationException
PostPosted: Mon Jan 23, 2006 11:04 am 
Beginner
Beginner

Joined: Wed Nov 03, 2004 6:24 pm
Posts: 24
Max,

I reran the ant script, this time using the Hibernate Tools jars that come with JBossIDE 1.5, rather than the Hibernate Tools jars that come with the separate Beta 2 download for Hibernate Tools.

Below are the
- build.xml
- Classpath (displayed by the build.xml script)
- stack trace

Hope I've collected the correct information this time -- if not, please let me know where I've gone astray and I'll give it another go. Thanks again for your patience and help

- Karen

build.xml

Note value of the property whose name is "hibernate.tools" -- it points to the jars in the appropriate Eclipse plugins folder.

<?xml version="1.0"?>

<project name="BuildHBM" default="fromAnnotations" basedir=".">
<property environment="env"/>
<property name="eclipse.home" value="F:\Eclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release"/>
<property name="hibernate.home" value="F:\Hibernate-3-1-0\hibernate-3.1"/>
<property name="hibernate.tools" value="${eclipse.home}\eclipse\plugins\org.hibernate.eclipse_3.1.0.beta3\lib\tools"/>
<!-- <property name="hibernate.tools" value="F:\Scratch-Hibernate-Tools-3-1-0-Beta2-Download\plugins\org.hibernate.eclipse_3.1.0.beta2\lib\tools"/> -->
<property name="hibernate.annotations" value="F:\Hibernate-Annotations-3-1-Beta7\hibernate-annotations-3.1beta7"/>
<property name="hibernate.annotations.lib" value="${hibernate.annotations}\lib"/>
<property name="javassist.home" value="F:\JBoss-4-0-2-EJB3-RC3\jboss-4.0.2\server\all\deploy\jboss-aop-jdk50.deployer"/>
<property name="jboss.aop.home" value="${hibernate.home}\lib"/>
<property name="RDMSDriver.home" value="F:\JDBC-for-RDMS\udssvn\RS02"/>
<property name="connector-api.home" value="F:\JDBC-for-RDMS"/>
<property name="generated.hbm.dir" value="F:\temp\Annotations-HBM-XML"/>
<property name="hibernate.project" value="F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1"/>
<property name="hibernate.project.lib" value="${hibernate.project}\lib"/>
<property name="pojo.dir" value="${hibernate.project}\bin"/>
<property name="hibernate.cfg.file" value="${hibernate.project}\bin\hibernate.cfg.xml"/>



<!-- Build classpath -->
<path id="classpath">
<fileset dir="${hibernate.tools}">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${hibernate.project.lib}">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${javassist.home}">
<include name="javassist.jar"/>
</fileset>
<fileset dir="${RDMSDriver.home}">
<include name="rdmsdriver.jar"/>
</fileset>
<fileset dir="${connector-api.home}">
<include name="connector-api.jar"/>
</fileset>
<!-- <pathelement location="${build.classes.dir}"/> -->
<!-- So that we can get jndi.properties for InitialContext -->
<pathelement location="${pojo.dir}"/>
</path>

<property name="build.classpath" refid="classpath"/>

<taskdef name="hibernatetool" classname="org.hibernate.tool.ant.HibernateToolTask" classpathref="classpath"/>

<target name="fromAnnotations">
<hibernatetool destdir="${generated.hbm.dir}">
<annotationconfiguration configurationfile="${hibernate.cfg.file}">
</annotationconfiguration>
<hbm2hbmxml/>
</hibernatetool>
</target>

<echo message="Classpath is ${build.classpath}"/>
</project>

Classpath from ant -debug (Raw form)
[echo] Classpath is F:\Eclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release\eclipse\plugins\org.hibernate.eclipse_3.1.0.beta3\lib\tools\hibernate-tools.jar;F:\Eclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release\eclipse\plugins\org.hibernate.eclipse_3.1.0.beta3\lib\tools\jtidy-r8-21122004.jar;F:\Eclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release\eclipse\plugins\org.hibernate.eclipse_3.1.0.beta3\lib\tools\velocity-1.4.jar;F:\Eclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release\eclipse\plugins\org.hibernate.eclipse_3.1.0.beta3\lib\tools\velocity-tools-generic-1.1.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\antlr-2.7.6rc1.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\asm-attrs.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\asm.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\cglib-2.1.3.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\commons-collections-2.1.1.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\commons-logging-1.0.4.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\dom4j-1.6.1.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\ehcache-1.1.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\ejb3-persistence.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate-annotations.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate-entitymanager.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate3.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\jboss-common.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\jdbc2_0-stdext.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\jta.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\xml-apis.jar;F:\JBoss-4-0-2-EJB3-RC3\jboss-4.0.2\server\all\deploy\jboss-aop-jdk50.deployer\javassist.jar;F:\JDBC-for-RDMS\udssvn\RS02\rdmsdriver.jar;F:\JDBC-for-RDMS\connector-api.jar;F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\bin


Classpath from ant -debug (Raw form)
[echo] Classpath is
F:\Eclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release\eclipse\plugins\org.hibernate.eclipse_3.1.0.beta3\lib\tools\hibernate-tools.jar;
F:\Eclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release\eclipse\plugins\org.hibernate.eclipse_3.1.0.beta3\lib\tools\jtidy-r8-21122004.jar;
F:\Eclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release\eclipse\plugins\org.hibernate.eclipse_3.1.0.beta3\lib\tools\velocity-1.4.jar;
F:\Eclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release\eclipse\plugins\org.hibernate.eclipse_3.1.0.beta3\lib\tools\velocity-tools-generic-1.1.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\antlr-2.7.6rc1.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\asm-attrs.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\asm.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\cglib-2.1.3.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\commons-collections-2.1.1.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\commons-logging-1.0.4.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\dom4j-1.6.1.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\ehcache-1.1.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\ejb3-persistence.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate-annotations.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate-entitymanager.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\hibernate3.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\jboss-common.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\jdbc2_0-stdext.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\jta.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\log4j-1.2.11.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\lib\xml-apis.jar;
F:\JBoss-4-0-2-EJB3-RC3\jboss-4.0.2\server\all\deploy\jboss-aop-jdk50.deployer\javassist.jar;
F:\JDBC-for-RDMS\udssvn\RS02\rdmsdriver.jar;
F:\JDBC-for-RDMS\connector-api.jar;
F:\MyEclipse-3-1-1-JBoss-IDE-1-5-Bundle-Final-Release-Projects\Annotations1-Hibernate-3-1\bin

Stack trace from ant -debug

Class org.hibernate.tool.hbm2x.pojo.NoopImportContext loaded from ant loader (parentFirst)
[hibernatetool] 08:54:30,875 ERROR template:94 - Method getJavaTypeName threw exception for reference $c2j in template hbm/many-to-one.hbm.vm at [3,20]

BUILD FAILED
F:\temp\build.xml:50: org.hibernate.tool.hbm2x.ExporterException: MethodInvocationException while processing template hbm/many-to-one.hbm.vm. Invocation of method 'getJavaTypeName' in class org.hibernate.tool.hbm2x.Cfg2JavaTool threw exception class java.lang.NullPointerException : null
at org.apache.tools.ant.Task.perform(Task.java:373)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: org.hibernate.tool.hbm2x.ExporterException: MethodInvocationException while processing template hbm/many-to-one.hbm.vm. Invocation of method 'getJavaTypeName' in class org.hibernate.tool.hbm2x.Cfg2JavaTool threw exception class java.lang.NullPointerException : null
at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:150)
at org.hibernate.tool.hbm2x.HibernateMappingExporter.startProperty(HibernateMappingExporter.java:96)
at org.hibernate.tool.hbm2x.ConfigurationNavigator.export(ConfigurationNavigator.java:53)
at org.hibernate.tool.hbm2x.HibernateMappingExporter.doStart(HibernateMappingExporter.java:149)
at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:90)
at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:39)
at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:143)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
... 10 more
Caused by: java.lang.NullPointerException
at org.hibernate.mapping.Property.getMetaAttribute(Property.java:176)
at org.hibernate.tool.hbm2x.Cfg2JavaTool.getMetaAsString(Cfg2JavaTool.java:75)
at org.hibernate.tool.hbm2x.Cfg2JavaTool.getJavaTypeName(Cfg2JavaTool.java:165)
at org.hibernate.tool.hbm2x.Cfg2JavaTool.getJavaTypeName(Cfg2JavaTool.java:161)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at org.apache.velocity.Template.merge(Template.java:256)
at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:450)
at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:419)
at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:138)
... 18 more
--- Nested Exception ---
org.hibernate.tool.hbm2x.ExporterException: MethodInvocationException while processing template hbm/many-to-one.hbm.vm. Invocation of method 'getJavaTypeName' in class org.hibernate.tool.hbm2x.Cfg2JavaTool threw exception class java.lang.NullPointerException : null
at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:150)
at org.hibernate.tool.hbm2x.HibernateMappingExporter.startProperty(HibernateMappingExporter.java:96)
at org.hibernate.tool.hbm2x.ConfigurationNavigator.export(ConfigurationNavigator.java:53)
at org.hibernate.tool.hbm2x.HibernateMappingExporter.doStart(HibernateMappingExporter.java:149)
at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:90)
at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:39)
at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:143)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: java.lang.NullPointerException
at org.hibernate.mapping.Property.getMetaAttribute(Property.java:176)
at org.hibernate.tool.hbm2x.Cfg2JavaTool.getMetaAsString(Cfg2JavaTool.java:75)
at org.hibernate.tool.hbm2x.Cfg2JavaTool.getJavaTypeName(Cfg2JavaTool.java:165)
at org.hibernate.tool.hbm2x.Cfg2JavaTool.getJavaTypeName(Cfg2JavaTool.java:161)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at org.apache.velocity.Template.merge(Template.java:256)
at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:450)
at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:419)
at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:138)
... 18 more

Total time: 11 seconds


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 23, 2006 11:13 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
this looks like a bug caused by the fact that annotationbinder have not properly initialized the meta attributes of the property element.

please report it in the tools jira.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: hbm2hbmxml still encounters MethodInvocationException
PostPosted: Fri Jan 27, 2006 12:41 pm 
Beginner
Beginner

Joined: Wed Nov 03, 2004 6:24 pm
Posts: 24
HBX-557 was closed stating the problem was fixed in the latest Hibernate Core.

I moved up to Hibernate 3.1.1, Annotations 3.1 Beta 8 and EntityManager 3.1 Beta 6.

THe problem still occurs. I went ahead and created a new JIRA report: HBX-561, as I did not know how to re-open HBX-557. I hope I've not overstepped myself by forging ahead and creating HBX-561.

Please see HBX-561 for a ZIP that contains all related information, including the full output of ant -debug.

As always, your help is most appreciated!

- Karen


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 27, 2006 2:11 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
3.1.1 is not the latest core. the latest core is in cvs.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: hbm2hbmxml encounters MethodInvocationException
PostPosted: Fri Jan 27, 2006 2:47 pm 
Beginner
Beginner

Joined: Wed Nov 03, 2004 6:24 pm
Posts: 24
Thanks! It's all a matter of perspective. As an end user, "latest core" to me (anyway), meant "latest release". A good example of jumping to conclusions on my part!

I found instructions for checking out a branch of Hibernate at the Hibernate web site. I've not done that before but there's a first time for everything. I'll give that a try.

Sorry about opening the new JIRA report... I've learned my lesson.

- Karen


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 27, 2006 3:13 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
if you have patience it might become the latest release soon,

_________________
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.  [ 18 posts ]  Go to page 1, 2  Next

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.