db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "manoj kaushik" <manoj.kaus...@daffodildb.com>
Subject Exception thrown by 'properties.load'
Date Tue, 19 Sep 2006 09:27:06 GMT
hi all
when i run "maven torque" goal the following error is given.

if anybody having idea to this problem plz reply.


C:\dev\torque>maven -e torque
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

build:start:

torque:
torque:init:

torque:sql-check:

torque:sql:
torque:init:
Overriding previous definition of reference to torque-classpath

torque:sql-generate:
    [torque-sql] Using classpath
    [torque-sql] Generating to file
C:\dev\torque\target\sql\report.bookstore.sql.generation

BUILD FAILED
Exception thrown by 'properties.load'. For more information consult the
velocity log, or invoke ant with the -debug flag.
        at org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java
:564)
        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.commons.jelly.TagSupport.invokeBody(TagSupport.java
:233)
        at org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:92)
        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 org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java
:84)
        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 org.apache.commons.jelly.tags.core.OtherwiseTag.doTag(
OtherwiseTag.java:87)
        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 org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java
:84)
        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:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.lang.NullPointerException
        at java.io.Reader.<init>(Reader.java:61)
        at java.io.InputStreamReader.<init>(InputStreamReader.java:80)
        at java.util.Properties.load(Properties.java:266)
        at org.apache.velocity.texen.util.PropertiesUtil.loadFromClassPath(
PropertiesUtil.java:197)
        at org.apache.velocity.texen.util.PropertiesUtil.load(
PropertiesUtil.java:93)
        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 org.apache.velocity.runtime.parser.node.ASTMethod.execute(
ASTMethod.java:260)
        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)
        at org.apache.velocity.runtime.parser.node.SimpleNode.render(
SimpleNode.java:271)
        at org.apache.velocity.Template.merge(Template.java:296)
        at org.apache.velocity.texen.Generator.parse(Generator.java:451)
        at org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java
:552)
        ... 50 more
--- Nested Exception ---
java.lang.NullPointerException
        at java.io.Reader.<init>(Reader.java:61)
        at java.io.InputStreamReader.<init>(InputStreamReader.java:80)
        at java.util.Properties.load(Properties.java:266)
        at org.apache.velocity.texen.util.PropertiesUtil.loadFromClassPath(
PropertiesUtil.java:197)
        at org.apache.velocity.texen.util.PropertiesUtil.load(
PropertiesUtil.java:93)
        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 org.apache.velocity.runtime.parser.node.ASTMethod.execute(
ASTMethod.java:260)
        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)
        at org.apache.velocity.runtime.parser.node.SimpleNode.render(
SimpleNode.java:271)
        at org.apache.velocity.Template.merge(Template.java:296)
        at org.apache.velocity.texen.Generator.parse(Generator.java:451)
        at org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java
:552)
        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.commons.jelly.TagSupport.invokeBody(TagSupport.java
:233)
        at org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:92)
        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 org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java
:84)
        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 org.apache.commons.jelly.tags.core.OtherwiseTag.doTag(
OtherwiseTag.java:87)
        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 org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java
:84)
        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:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
File...... C:\Documents and Settings\Administrator\.maven\cache\maven-
torque-plugin-3.1.1\plugin.jelly
Element... torque-sql
Line...... 165
Column.... 49
Exception thrown by 'properties.load'. For more information consult the
velocity log, or invoke ant with the -debug flag.
Total time: 4 seconds
Finished at: Tue Sep 19 14:51:42 GMT+05:30 2006

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message