-->
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.  [ 2 posts ] 
Author Message
 Post subject: Problems building hibernate files with Maven and XDoclet
PostPosted: Sun Jul 10, 2005 10:38 am 
Newbie

Joined: Sun Jul 10, 2005 10:20 am
Posts: 17
Location: London
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version: not relevant, not arrived there yet.

Mapping documents: http://www.hibernate.org/134.html

Full stack trace of any exception that occurs:

    [DEBUG] Class java.io.OutputStreamWriter loaded from parent loader
    [hibernatedoclet] [DEBUG] Class org.apache.tools.ant.Project loaded from parent loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.ConfigParamIntrospector
    [hibernatedoclet] [DEBUG] Class xdoclet.ConfigParamIntrospector loaded from ant loader
    [hibernatedoclet] [DEBUG] Class java.lang.SecurityException loaded from parent loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.ConfigParamIntrospector$NullObject
    [hibernatedoclet] [DEBUG] Class xdoclet.ConfigParamIntrospector$NullObject loaded from ant loader
    [hibernatedoclet] [DEBUG] Class java.lang.reflect.Method loaded from parent loader
    [hibernatedoclet] [DEBUG] Class java.lang.reflect.Modifier loaded from parent loader
    [hibernatedoclet] [DEBUG] Class java.lang.Void loaded from parent loader
    [hibernatedoclet] [DEBUG] Class java.beans.Introspector loaded from parent loader
    [hibernatedoclet] [DEBUG] Class java.lang.Character loaded from parent loader
    [hibernatedoclet] [DEBUG] validating subTask: hibernate class: class xdoclet.modules.hibernate.HibernateSubTask

    [hibernatedoclet] [DEBUG] Finding class xjavadoc.filesystem.FileSourceSet
    [hibernatedoclet] [DEBUG] Class xjavadoc.filesystem.FileSourceSet loaded from ant loader
    [hibernatedoclet] [DEBUG] fileset: Setup scanner in dir D:\OPENSOURCES\eclipse_projects\jemos-stats\ejb\src\jav
    a with patternSet{ includes: [**/*.java] excludes: [] }
    [hibernatedoclet] [DEBUG] Class org.apache.tools.ant.DirectoryScanner loaded from parent loader
    [hibernatedoclet] [DEBUG] Finding class xjavadoc.filesystem.AbstractFile
    [hibernatedoclet] [DEBUG] Class xjavadoc.filesystem.AbstractFile loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.XDocletMain
    [hibernatedoclet] [DEBUG] Class xdoclet.XDocletMain loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.tagshandler.ClassTagsHandler
    [hibernatedoclet] [DEBUG] Finding class xdoclet.tagshandler.AbstractProgramElementTagsHandler
    [hibernatedoclet] [DEBUG] Finding class xdoclet.XDocletTagSupport
    [hibernatedoclet] [DEBUG] Class xdoclet.XDocletTagSupport loaded from ant loader
    [hibernatedoclet] [DEBUG] Class xdoclet.tagshandler.AbstractProgramElementTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Class xdoclet.tagshandler.ClassTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Class java.text.DateFormat loaded from parent loader
    [hibernatedoclet] [DEBUG] Class java.util.Calendar loaded from parent loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.tagshandler.CommentTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.tagshandler.CommentTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.tagshandler.ConfigTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.tagshandler.ConfigTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.tagshandler.ConstructorTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.tagshandler.ConstructorTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Class java.util.SortedSet loaded from parent loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.tagshandler.FieldTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.tagshandler.FieldTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.tagshandler.IdTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.tagshandler.IdTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.tagshandler.MergeTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.tagshandler.MergeTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.tagshandler.MethodTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.tagshandler.MethodTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.tagshandler.PackageTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.tagshandler.PackageTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.tagshandler.ParameterTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.tagshandler.ParameterTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.tagshandler.PropertyTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.tagshandler.PropertyTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.tagshandler.TagDefTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.tagshandler.TagDefTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.tagshandler.TranslatorTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.tagshandler.TranslatorTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.tagshandler.TypeTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.tagshandler.TypeTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.tagshandler.XmlTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.tagshandler.XmlTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.doc.AntdocTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.doc.AntdocTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.doc.DocumentationTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.doc.DocumentationTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.externalizer.ExternalizerTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.externalizer.ExternalizerTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.util.CollectionTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.util.CollectionTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.maven.MavenpluginTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.maven.MavenpluginTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.doc.ModuleTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.doc.ModuleTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.doc.info.InfoTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.doc.info.InfoTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.ejb.home.HomeTagsHandler
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.ejb.EjbTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.ejb.EjbTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.ejb.home.HomeTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.ejb.entity.PersistentTagsHandler
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.ejb.entity.CmpTagsHandler
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.ejb.entity.EntityTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.ejb.entity.EntityTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.ejb.entity.CmpTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.ejb.entity.PersistentTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.ejb.entity.PkTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.ejb.entity.PkTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.ejb.entity.BmpTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.ejb.entity.BmpTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.ejb.dd.SecurityTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.ejb.dd.SecurityTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.ejb.entity.DataObjectTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.ejb.entity.DataObjectTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.ejb.entity.FacadeTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.ejb.entity.FacadeTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.ejb.dd.EjbRefTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.ejb.dd.EjbRefTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.ejb.entity.ValueObjectTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.ejb.entity.ValueObjectTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.ejb.env.EnvTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.ejb.env.EnvTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.ejb.env.EnvEjbRefTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.ejb.env.EnvEjbRefTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.ejb.session.SessionTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.ejb.session.SessionTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.ejb.intf.InterfaceTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.ejb.intf.InterfaceTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.ejb.mdb.MdbTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.ejb.mdb.MdbTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.ejb.dd.RelationTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.ejb.dd.RelationTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.ejb.lookup.LookupUtilTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.ejb.lookup.LookupUtilTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.ejb.dao.DaoTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.ejb.dao.DaoTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.hibernate.HibernateTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.hibernate.HibernateTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.web.WebTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.web.WebTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.jmx.JMXTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.jmx.JMXTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.jboss.web.JBossWebTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.jboss.web.JBossWebTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.jboss.ejb.JBossTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.jboss.ejb.JBossTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.jboss.ejb.JBossRelationTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.jboss.ejb.JBossRelationTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.jboss.jmx.JMXTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.jboss.jmx.JMXTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Class java.lang.Byte loaded from parent loader
    [hibernatedoclet] [DEBUG] Class java.lang.Short loaded from parent loader
    [hibernatedoclet] [DEBUG] Class java.lang.Integer loaded from parent loader
    [hibernatedoclet] [DEBUG] Class java.lang.Long loaded from parent loader
    [hibernatedoclet] [DEBUG] Class java.lang.Float loaded from parent loader
    [hibernatedoclet] [DEBUG] Class java.lang.Double loaded from parent loader
    [hibernatedoclet] [DEBUG] Class java.lang.Boolean loaded from parent loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.apache.struts.StrutsDynaFormValidatorTagsHandler
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.apache.struts.StrutsValidatorTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.apache.struts.StrutsValidatorTagsHandler loaded from ant loader

    [hibernatedoclet] [DEBUG] Class xdoclet.modules.apache.struts.StrutsDynaFormValidatorTagsHandler loaded from an
    t loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.apache.struts.StrutsFormTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.apache.struts.StrutsFormTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.apache.tapestry.TapestryTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.apache.tapestry.TapestryTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.apache.velocity.VelocityEngineTagHandler
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.apache.ScriptEngineTagHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.apache.ScriptEngineTagHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.apache.velocity.VelocityEngineTagHandler loaded from ant loader

    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.apache.SubTemplateEngine
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.apache.SubTemplateEngine loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.apache.bsf.BsfEngineTagHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.apache.bsf.BsfEngineTagHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.apache.struts.ActionFormTagsHandler
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.apache.struts.ActionFormTagsHandler loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.XDocletMessages
    [hibernatedoclet] [DEBUG] Class xdoclet.XDocletMessages loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.XDocletMessagesMessages
    [hibernatedoclet] [DEBUG] ResourceStream for xdoclet/XDocletMessagesMessages.properties loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.XDocletMessagesMessages_en
    [hibernatedoclet] [DEBUG] Couldn't load ResourceStream for xdoclet/XDocletMessagesMessages_en.properties
    [hibernatedoclet] [DEBUG] Finding class xdoclet.XDocletMessagesMessages_en_GB
    [hibernatedoclet] [DEBUG] Couldn't load ResourceStream for xdoclet/XDocletMessagesMessages_en_GB.properties
    [hibernatedoclet] [DEBUG] Resource xdoclet/modules/hibernate/resources/hibernate-mapping_2_0.dtd loaded from an
    t loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.template.TemplateParser
    [hibernatedoclet] [DEBUG] Class xdoclet.template.TemplateParser loaded from ant loader
    [hibernatedoclet] [DEBUG] Finding class xdoclet.modules.hibernate.XDocletModulesHibernateMessages
    [hibernatedoclet] [DEBUG] Class xdoclet.modules.hibernate.XDocletModulesHibernateMessages loaded from ant loade
    r
    java.lang.NullPointerException
    at xdoclet.modules.hibernate.HibernateSubTask.engineStarted(HibernateSubTask.java:149)
    at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java:557)
    at xdoclet.TemplateSubTask.startProcessForAll(TemplateSubTask.java:618)
    at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:599)
    at xdoclet.XmlSubTask.startProcess(XmlSubTask.java:227)
    at xdoclet.modules.hibernate.HibernateSubTask.execute(HibernateSubTask.java:136)
    at xdoclet.XDocletMain.start(XDocletMain.java:48)
    at xdoclet.DocletTask.start(DocletTask.java:468)
    at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:110)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
    at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
    at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
    at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
    at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
    at com.werken.werkz.Goal.fire(Goal.java:639)
    at com.werken.werkz.Goal.attain(Goal.java:575)
    at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
    at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127)
    at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
    at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
    at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
    at com.werken.werkz.jelly.PostGoalTag$1.firePostGoal(PostGoalTag.java:87)
    at com.werken.werkz.Goal.firePostGoalCallbacks(Goal.java:710)
    at com.werken.werkz.Goal.fire(Goal.java:654)
    at com.werken.werkz.Goal.attain(Goal.java:575)
    at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
    at com.werken.werkz.Goal.attain(Goal.java:573)
    at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
    at com.werken.werkz.Goal.attain(Goal.java:573)
    at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
    at com.werken.werkz.Goal.attain(Goal.java:573)
    at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
    at com.werken.werkz.Goal.attain(Goal.java:573)
    at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
    at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127)
    at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
    at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
    at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
    at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
    at com.werken.werkz.Goal.fire(Goal.java:639)
    at com.werken.werkz.Goal.attain(Goal.java:575)
    at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
    at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
    at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:368)
    at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
    at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
    at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
    at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
    at com.werken.werkz.Goal.fire(Goal.java:639)
    at com.werken.werkz.Goal.attain(Goal.java:575)
    at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
    at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127)
    at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
    at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
    at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
    at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
    at com.werken.werkz.Goal.fire(Goal.java:639)
    at com.werken.werkz.Goal.attain(Goal.java:575)
    at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
    at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
    at org.apache.maven.cli.App.doMain(App.java:488)
    at org.apache.maven.cli.App.main(App.java:1239)
    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 com.werken.forehead.Forehead.run(Forehead.java:551)
    at com.werken.forehead.Forehead.main(Forehead.java:581)



Name and version of the database you are using: Not relevant here

The generated SQL (show_sql=true): Not relevant here

Debug level Hibernate log excerpt: Not relevant here

Hi, I'm already building successfully EJBs with Maven and the ejbdoclet task. In the same process I'm trying to build Hibernate (first time for me) config file for a Transfer Object which I created. I have already visited the following page:

http://www.hibernate.org/134.html


And followed all the instructions. This is an extract of the properties I'm using:


Code:
maven.xdoclet.hibernatedoclet.destDir=${maven.build.dir}/xdoclet/hibernatedoclet
maven.xdoclet.hibernatedoclet.fileset.0=true
maven.xdoclet.hibernatedoclet.fileset.0.dir=${maven.src.dir}/java
maven.xdoclet.hibernatedoclet.fileset.0.include=**/*.java
maven.xdoclet.hibernatedoclet.hibernate.0.destinationFile=${maven.build.dir}/xdoclet/hibernatedoclet/marco.xml
maven.xdoclet.hibernatedoclet.hibernate.0.Version=2.0


and I have got a dependency on maven-hibernate-module 1.2.3

The hibernatedoclet task is found, infact from the error stack it is executed, but I get a NullPointerException in the HibernateSubTask class, in the engineStarted() method.

This is the extract of that method:

Code:
protected void engineStarted()
         throws XDocletException
    {
        System.out.println(Translator.getString(XDocletModulesHibernateMessages.class,
            XDocletModulesHibernateMessages.GENERATING_HIBERNATE_FOR,
            new String[]{getCurrentClass().getQualifiedName()}));
    }


Any idea why I should get a NullPointerException?

Thanks.


Top
 Profile  
 
 Post subject: Problem solved: I was using xjavadoc 1.0.2
PostPosted: Sun Jul 10, 2005 6:34 pm 
Newbie

Joined: Sun Jul 10, 2005 10:20 am
Posts: 17
Location: London
Yes, the problem was a dependency on xjavadoc 1.0.2. I changed that to 1.1 and everything worked fine.


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

All times are UTC - 5 hours [ DST ]


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

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