You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by mu...@bankofamerica.com on 2001/03/23 17:34:47 UTC
Command line run of Cocoon throws a nullpointer exception.
I've installed cocoon1.8.2 sucessfully on WINNT4.0 spck4 with IAS 4.1.1, and
have run the servlet fine with the samples provided.
When I try the Commandline run I get the following exception (with
log.level=debug). Any ideas ?
-Mukesh
D:\Java\apache\cocoon-1.8.2\bin> "D:\jdk1.3\jre\bin\java.exe" -classpath
.\;D:\jdk1.3\lib\tools.jar;D:\java\apache\cocoon-1.8.2\bin\c
ocoon.jar;C:\inprise\appserver\lib\servlet.jar;D:\java\apache\cocoon-1.8.2\l
ib\xerces_1_2.jar;D:\java\apache\cocoon-1.8.2\lib\bsfeng
ines.jar;D:\java\apache\cocoon-1.8.2\lib\fesi.jar;D:\java\apache\cocoon-1.8.
2\lib\fop_0_15_0.jar;D:\java\apache\cocoon-1.8.2\lib\sax
-bugfix.jar;D:\java\apache\cocoon-1.8.2\lib\servlet_2_2.jar;D:\java\apache\c
ocoon-1.8.2\lib\turbine-pool.jar;D:\java\apache\cocoon-1
.8.2\lib\w3c.jar;D:\java\apache\cocoon-1.8.2\lib\xalan_1_2_D02.jar;D:\java\a
pache\cocoon-1.8.2\lib\xml.jar;D:\java\apache\cocoon-1.8
.2\lib\xt.jar org.apache.cocoon.Cocoon -p
D:\java\apache\cocoon-1.8.2\conf\cocoon.properties
D:\java\apache\cocoon-1.8.2\samples\hello\hello-page.xml .\res2
TurbineResources all set!!
FOP_VERSION = FOP 0.15
FOP_VERSION_NO = 0.15
[org.apache.cocoon.Engine@7453641] Starting request
[org.apache.cocoon.Engine$Block@1035925] Locking: null:null:none://Cocoon
1.8.2:-1null?null
[org.apache.cocoon.Engine$Block@1035925] Total locks for all pages: 1
[org.apache.cocoon.Engine@7453641] Creating page
[org.apache.cocoon.Engine@7453641] Document produced
[org.apache.cocoon.Engine@7453641] Document processed
[org.apache.cocoon.Engine@7453641] Document formatted
[org.apache.cocoon.Engine$Block@1035925] Releasing lock on:
null:null:none://Cocoon 1.8.2:-1null?null
Exception in thread "main" java.lang.NullPointerException
at org.apache.cocoon.Engine.handle(Engine.java:484)
at org.apache.cocoon.EngineWrapper.handle(EngineWrapper.java:87)
at org.apache.cocoon.Cocoon.main(Cocoon.java:311)
_____________________________________________________________________
Notice to recipient:
This e-mail is meant for only the intended recipient of the transmission,
and may be a communication privileged by law. If you received this e-mail in
error, any review, use, dissemination, distribution, or copying of this
e-mail is strictly prohibited.
When addressed to our clients any opinions or advice contained in this
internet e-mail are subject to the terms and conditions expressed in any
applicable governing terms of business or client engagement letter issued by
Bank of America.
Both Bank of America, N.A and Bank of America International Limited are
regulated by The Securities and Futures Authority.
_____________________________________________________________________
Re: Command line run of Cocoon throws a nullpointer exception.
Posted by Bryan Hansen <me...@xmission.com>.
In 1.8.2 the command line is broken, but if you search the list
history (like in the last couple of days) there was a fix posted.
Bryan
>
> I've installed cocoon1.8.2 sucessfully on WINNT4.0 spck4 with IAS
4.1.1, and
> have run the servlet fine with the samples provided.
> When I try the Commandline run I get the following exception (with
> log.level=debug). Any ideas ?
> -Mukesh
>
> D:\Java\apache\cocoon-1.8.2\bin> "D:\jdk1.3\jre\bin\java.exe"
-classpath
> .\;D:\jdk1.3\lib\tools.jar;D:\java\apache\cocoon-1.8.2\bin\c
>
ocoon.jar;C:\inprise\appserver\lib\servlet.jar;D:\java\apache\cocoon-1
..8.2\l
> ib\xerces_1_2.jar;D:\java\apache\cocoon-1.8.2\lib\bsfeng
>
ines.jar;D:\java\apache\cocoon-1.8.2\lib\fesi.jar;D:\java\apache\cocoo
n-1.8.
> 2\lib\fop_0_15_0.jar;D:\java\apache\cocoon-1.8.2\lib\sax
>
-bugfix.jar;D:\java\apache\cocoon-1.8.2\lib\servlet_2_2.jar;D:\java\ap
ache\c
> ocoon-1.8.2\lib\turbine-pool.jar;D:\java\apache\cocoon-1
>
..8.2\lib\w3c.jar;D:\java\apache\cocoon-1.8.2\lib\xalan_1_2_D02.jar;D:\
java\a
> pache\cocoon-1.8.2\lib\xml.jar;D:\java\apache\cocoon-1.8
> .2\lib\xt.jar org.apache.cocoon.Cocoon -p
> D:\java\apache\cocoon-1.8.2\conf\cocoon.properties
> D:\java\apache\cocoon-1.8.2\samples\hello\hello-page.xml .\res2
> TurbineResources all set!!
> FOP_VERSION = FOP 0.15
> FOP_VERSION_NO = 0.15
> [org.apache.cocoon.Engine@7453641] Starting request
> [org.apache.cocoon.Engine$Block@1035925] Locking:
null:null:none://Cocoon
> 1.8.2:-1null?null
> [org.apache.cocoon.Engine$Block@1035925] Total locks for all pages:
1
> [org.apache.cocoon.Engine@7453641] Creating page
> [org.apache.cocoon.Engine@7453641] Document produced
> [org.apache.cocoon.Engine@7453641] Document processed
> [org.apache.cocoon.Engine@7453641] Document formatted
> [org.apache.cocoon.Engine$Block@1035925] Releasing lock on:
> null:null:none://Cocoon 1.8.2:-1null?null
> Exception in thread "main" java.lang.NullPointerException
> at org.apache.cocoon.Engine.handle(Engine.java:484)
> at
org.apache.cocoon.EngineWrapper.handle(EngineWrapper.java:87)
> at org.apache.cocoon.Cocoon.main(Cocoon.java:311)
>
>
>
>
_____________________________________________________________________
> Notice to recipient:
> This e-mail is meant for only the intended recipient of the
transmission,
> and may be a communication privileged by law. If you received this
e-mail in
> error, any review, use, dissemination, distribution, or copying of
this
> e-mail is strictly prohibited.
>
> When addressed to our clients any opinions or advice contained in
this
> internet e-mail are subject to the terms and conditions expressed in
any
> applicable governing terms of business or client engagement letter
issued by
> Bank of America.
>
> Both Bank of America, N.A and Bank of America International Limited
are
> regulated by The Securities and Futures Authority.
>
_____________________________________________________________________
>
>
>
Bryan Hansen
Software Technology Group
http://www.swtg.com
bryan.hansen@swtg.com
801-595-1000
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>