From: Christoph F. <cf...@fo...> - 2004-10-11 11:31:51
|
Hi Kal when executing ant -f batch.xml -Dtopicmap=tmworld.xtm topicmap I'm getting the following null pointer [copy] Copying 1 file to /opt/java/tm4web/build/batch/temp [java] 0 [main] WARN org.tm4j.vtl.factory.BaseFactory - Could not locate properties file: factory.props [java] Cannot find CatalogManager.properties [java] Processing explicit mergeMap directives... [java] Merging referenced topic maps... [java] All external maps merged! [java] Making merged map consistent... [java] Consistency processing complete! [java] java.lang.NullPointerException [java] at org.tm4j.vtl.TM4JVelocityApp.pushContext(TM4JVelocityApp.java:429) [java] at org.tm4j.vtl.TM4JVelocityApp.startTopicMap(TM4JVelocityApp.java:401) [java] at org.tm4j.topicmap.utils.TopicMapWalker.walk(TopicMapWalker.java:73) [java] at org.tm4j.vtl.TM4JVelocityApp.processMap(TM4JVelocityApp.java:281) [java] at org.tm4j.vtl.TM4JVelocityApp.main(TM4JVelocityApp.java:223) This happens with both, tm4web/velocity0.2rc1 and the current cvs-checkout. I'm using tm4j 0.9.7 Tracing the source it seems obvious that m_toolboxManager is not initialized because batch.xml does not specify the toolbox option on the command line. do I miss something? Thanks c -- Christoph Froehlich <cf...@fo...> |