db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Drewitz" <midrmat...@web.de>
Subject Nullpointer-Exception by Velocity
Date Fri, 09 Jan 2004 13:18:53 GMT
Hi, 

I have this console output (with -debug):

BUILD FAILED
file:C:/apache/torque-gen-3.1/build-torque.xml:207: Exception thrown by 'generator.parse'.
For more information consult the velocity log, or invoke ant with the -debug flag.

... 

Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'parse'
in  class org.apache.velocity.texen.Generator threw exception class org.apache.velocity.exception.MethodInvocationException
: Invocation of method 'get' in  class java.util.Properties threw exception class java.lang.NullPointerException
: null
	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:309)
	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
	at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:357)
	at 	... 20 more
--- Nested Exception ---
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'parse' in 
class org.apache.velocity.texen.Generator threw exception class org.apache.velocity.exception.MethodInvocationException
: Invocation of method 'get' in  class java.util.Properties threw exception class java.lang.NullPointerException
: null
	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:309)
	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
	at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:357)
	at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:135)

velocity-log says:

[error] Method get threw exception for reference $dbprops in template sql/base/sybase/columns.vm
at  [2,20]
[error] Method parse threw exception for reference $generator in template sql/base/sybase/table.vm
at  [11,16]
[error] Method parse threw exception for reference $generator in template sql/base/Control.vm
at  [17,7]

I am not familiar with velocity and I was very carefully with my project-schema.xml. Is there
anybody who can help me?

Thanks in advance, Michael
______________________________________________________________________________
Erdbeben im Iran: Zehntausende Kinder brauchen Hilfe. UNICEF hilft den
Kindern - helfen Sie mit! https://www.unicef.de/spe/spe_03.php


---------------------------------------------------------------------
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