You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by jakob puchinger <e9...@stud3.tuwien.ac.at> on 2001/04/03 13:20:22 UTC

Re: Torque problem

I get the same error, but only with tdk1-1a13 and not with tdk1-1a11
using the same schema
it finds the shema file because it starts to generate some source code
before the exception occurs

----- Original Message -----
From: "Jason van Zyl" <jv...@apache.org>
To: <tu...@jakarta.apache.org>
Sent: Friday, March 30, 2001 10:09 PM
Subject: Re: Torque problem


> Samir Khobragade wrote:
> >
> > Hi,
> >
> > I get an error when i try to run standalone torque.
> > It doesn't generate the om files for my project.
> > The console output is following:
>
> Either the xml schema isn't in the right location, or there
> is a syntax error in the xml schema. In either event there
> should be better error reporting from withing Torque. I will
> take a look at it.
>
> >
>
> -------------------------------------------------------------------------
> > C:\turbine\torque>torque
> > Buildfile: torque.xml
> >
> > main:
> > init-tasks:
> > project-sql:
> > +------------------------------------------+
> > |                                          |
> > | Generating SQL for YOUR Turbine project! |
> > | Woo hoo!                                 |
> > |                                          |
> > +------------------------------------------+
> > C:\turbine\torque\output\report.nelson.sql.generation
> >
> > init-tasks:
> > project-om:
> > +------------------------------------------+
> > |                                          |
> > | Generating Peer-based Object Model for   |
> > | YOUR Turbine project! Woo hoo!           |
> > |                                          |
> > +------------------------------------------+
> > C:\turbine\torque\output\report.nelson.om.generation
> > java.lang.NullPointerException
> >         at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:969)
> >         at
> > org.apache.turbine.torque.engine.database.transform.XmlToAppData.pars
> > eFile(XmlToAppData.java:140)
> >         at
> > org.apache.turbine.torque.TorqueObjectModelTask.initControlContext(To
> > rqueObjectModelTask.java:148)
> >         at
org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java,
> > Compi
> > led Code)
> >         at
> > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:122)
> >         at org.apache.tools.ant.Target.execute(Target.java, Compiled
Code)
> >         at org.apache.tools.ant.Project.runTarget(Project.java:818)
> >         at org.apache.tools.ant.Project.executeTarget(Project.java,
Compiled
> > Cod
> > e)
> >         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java, Compiled
> > Code)
> >         at
> > org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:103)
> >
> >         at org.apache.tools.ant.Target.execute(Target.java, Compiled
Code)
> >         at org.apache.tools.ant.Project.runTarget(Project.java:818)
> >         at org.apache.tools.ant.Project.executeTarget(Project.java,
Compiled
> > Cod
> > e)
> >         at org.apache.tools.ant.Project.executeTargets(Project.java,
> > Compiled Co
> > de)
> >         at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
> >         at org.apache.tools.ant.Main.main(Main.java:149)
> >
> > BUILD SUCCESSFUL
> >
> > Total time: 9 seconds
> > -------------------------------------------------------------
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
> --
> jvz.
>
> Jason van Zyl
> jvanzyl@apache.org
>
> http://jakarta.apache.org/velocity
> http://jakarta.apache.org/turbine
> http://tambora.zenplex.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org