db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Virenderjit Singh" <viren...@netteam.net>
Subject Torque gives NullPointerException when not connected to network - HELP
Date Thu, 11 Sep 2003 14:11:42 GMT
Hello

I get the following error in torque when I try to create the src files. The
machine is not on the network and the MSSQLSERVER is on the same machine (It
is a sony laptop). I am using torque3.0.2

The log is:

create-db-check:

check-use-classpath:

check-run-only-on-schema-change:

sql-check:

sql:
     [echo] +------------------------------------------+
     [echo] |                                          |
     [echo] | Generating SQL for YOUR Torque project!  |
     [echo] | Woo hoo!                                 |
     [echo] |                                          |
     [echo] +------------------------------------------+

sql-classpath:

sql-template:
[torque-sql] Using contextProperties file:
C:\torque-3.0.2\users\admin\build.properties
[torque-sql] Generating to file
C:\torque-3.0.2\users\admin\src\sql\report.enterFlowDB.sql.generation
[torque-sql] Parsing file: 'TEST1-schema.xml'
[torque-sql] log4j:WARN No appenders could be found for logger
(org.apache.torque.engine.database.transform.DTDResolver).
[torque-sql] log4j:WARN Please initialize the log4j system properly.
[torque-sql] java.net.MalformedURLException: java.lang.NullPointerException
[torque-sql] 	at java.net.URL.<init>(URL.java:491)
[torque-sql] 	at java.net.URL.<init>(URL.java:371)
[torque-sql] 	at java.net.URL.<init>(URL.java:325)
[torque-sql] 	at
org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:88
1)
[torque-sql] 	at
org.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java
:821)
[torque-sql] 	at
org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.ja
va:288)
[torque-sql] 	at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocu
mentScannerImpl.java:924)
[torque-sql] 	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocume
ntFragmentScannerImpl.java:346)
[torque-sql] 	at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:529)
[torque-sql] 	at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:585)
[torque-sql] 	at
org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
[torque-sql] 	at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:114
2)
[torque-sql] 	at javax.xml.parsers.SAXParser.parse(Unknown Source)
[torque-sql] 	at
org.apache.torque.engine.database.transform.XmlToAppData.parseFile(XmlToAppD
ata.java:190)
[torque-sql] 	at
org.apache.torque.task.TorqueDataModelTask.initControlContext(TorqueDataMode
lTask.java:334)
[torque-sql] 	at
org.apache.torque.task.TorqueSQLTask.initControlContext(TorqueSQLTask.java:2
20)
[torque-sql] 	at
org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java:480)
[torque-sql] 	at org.apache.tools.ant.Task.perform(Task.java:319)
[torque-sql] 	at org.apache.tools.ant.Target.execute(Target.java:309)
[torque-sql] 	at org.apache.tools.ant.Target.performTasks(Target.java:336)
[torque-sql] 	at
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[torque-sql] 	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
[torque-sql] 	at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
[torque-sql] 	at org.apache.tools.ant.Task.perform(Task.java:319)
[torque-sql] 	at org.apache.tools.ant.Target.execute(Target.java:309)
[torque-sql] 	at org.apache.tools.ant.Target.performTasks(Target.java:336)
[torque-sql] 	at
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[torque-sql] 	at
org.apache.tools.ant.Project.executeTargets(Project.java:1250)
[torque-sql] 	at org.apache.tools.ant.Main.runBuild(Main.java:610)
[torque-sql] 	at org.apache.tools.ant.Main.start(Main.java:196)
[torque-sql] 	at org.apache.tools.ant.Main.main(Main.java:235)

BUILD FAILED
file:C:/torque-3.0.2/users/admin/build-torque.xml:216: Generation failed.
For more information consult the velocity log, or invoke ant with the -debug
flag.

Total time: 19 seconds


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


Mime
View raw message