On Sun, 2004-06-13 at 07:14, Konstantin Shaposhnikov wrote:
> On 03:07 Sat 12 Jun , David Salib wrote:
> > On Mon, 2004-05-24 at 16:06, Konstantin Shaposhnikov wrote:
> > > May be this file could be helpful for somebody
> >
> > I keep getting a java.lang.NullPointerException but I can't find
> > anything wrong (and neither has anybody else) with my mapping file.
> > Could that be the same bug?
> >
Can anybody tell me where's it's choking based on this? Is it maven or
hibernate?
hibernate:schema-export2:
[echo] Exporting Hibernate Schema file
Could not configure datastore from file:
/home/dubbed/Documents/Work/nUsers/philantrope/target/classes/ca/nusers/philantrope/Contribution.hbm.xml
java.lang.NullPointerException
at
net.sf.hibernate.util.StringHelper.qualify(StringHelper.java:241)
at net.sf.hibernate.cfg.Binder.bindCollection(Binder.java:498)
at net.sf.hibernate.cfg.Binder$4.create(Binder.java:1435)
at
net.sf.hibernate.cfg.Binder.propertiesFromXML(Binder.java:1017)
at net.sf.hibernate.cfg.Binder.bindRootClass(Binder.java:361)
at net.sf.hibernate.cfg.Binder.bindRoot(Binder.java:1243)
at
net.sf.hibernate.cfg.Configuration.add(Configuration.java:249)
at
net.sf.hibernate.cfg.Configuration.addFile(Configuration.java:171)
at
net.sf.hibernate.tool.hbm2ddl.SchemaExportTask.getConfiguration(SchemaExportTask.java:195)
at
net.sf.hibernate.tool.hbm2ddl.SchemaExportTask.execute(SchemaExportTask.java:135)
at org.apache.tools.ant.Task.perform(Task.java:341)
at
org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
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.plugin.PluginManager.attainGoals(PluginManager.java:610)
at
org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
at org.apache.maven.cli.App.doMain(App.java:485)
at org.apache.maven.cli.App.main(App.java:1214)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
BUILD FAILED
File......
/home/dubbed/.maven/plugins/maven-hibernate-plugin-1.1/plugin.jelly
Element... schemaexport
Line...... 68
Column.... 46
Schema text failed: java.lang.NullPointerException
--
David Salib <[EMAIL PROTECTED]>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]