null pointer exception when I issue command line ad-gen statement

0 views
Skip to first unread message

kare...@gmail.com

unread,
May 14, 2007, 8:12:22 PM5/14/07
to ControlTier
from looking at the info statement during the creating the framework
step is not reading the properties for the depots_base_dir=null and
the antdepo_base_dir - when or where are these properties defined?

kare...@gmail.com

unread,
May 14, 2007, 9:04:20 PM5/14/07
to ControlTier
Here is the actual output:

[dev@localhost ~]$ ad-gen module --action add --module Updater -p
testdepot
INFO [main] (Framework.java:197) - creating new Framework instance.
antdepo_base_dir=null, module_base_dir=/usr/local/antdepot/
antdepo_base/lib/ant/modules, depots_base_dir=null
ERROR: null
java.lang.NullPointerException
at java.io.File.<init>(File.java:194)
at org.antdepo.common.Framework.<init>(Framework.java:149)
at org.antdepo.common.Framework.getInstance(Framework.java:202)
at org.antdepo.cli.ADGenMain.<init>(ADGenMain.java:207)
at org.antdepo.cli.ADGenMain.create(ADGenMain.java:219)
at org.antdepo.cli.ADGenMain.main(ADGenMain.java:232)
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:585)
at launcher.ADGenLauncher.main(ADGenLauncher.java:49)
[dev@localhost ~]$

Reply all
Reply to author
Forward
0 new messages