cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Villavieja Prados <cvpra...@salleURL.edu>
Subject Error calling cocoon on Command Line
Date Tue, 30 May 2000 23:09:56 GMT
 Hello All!

	I get an error with Cocoon 1.7.4 while calling Cocoon from command
line. I get a NullpointerException.

In my classpath I've got all the posible jar's.
I also put the cocoon.properties file, the xml and the output (html).

I execute:

java -cp
/usr/local/jsdk/lib/jsdk.jar:/usr/local/cocoon/bin/cocoon.jar:/usr/loca
l/cocoon/lib/xerces_1_0_3.jar:/usr/local/cocoon/lib/xalan_1_0_1.jar:/usr/local/c
ocoon/lib/fop_0_12_1.jar:/usr/local/cocoon/lib/servlet_2_2.jar
org.apache.cocoo
n.Cocoon -p /usr/local/cocoon/conf/cocoon.properties
/home/cvprados/registro.xml
 pepe.html


The Error:
Exception in thread "main" java.lang.NullPointerException
        at org.apache.cocoon.Engine.handle(Engine.java, Compiled Code)
        at org.apache.cocoon.EngineWrapper.handle(EngineWrapper.java,
Compiled C
ode)
        at org.apache.cocoon.Cocoon.main(Cocoon.java, Compiled Code)


Any idea?

Thanks!!
----------------------------------------------------------------------------
                       Carlos Villavieja Prados 
                          cvprados@salleURL.edu	  
                    http://www.salleURL.edu/~cvprados
----------------------------------------------------------------------------




Mime
View raw message