cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject List of issues with samples (RE: Samples not working!!!!!!)
Date Thu, 17 Jan 2002 15:12:56 GMT
All,

Please take a look at following list of not working samples and let's
make it empty.


1. /cocoon/deli.html, /cocoon/deli.wml:
   Returns empty page, with the exception in console window:

java.lang.RuntimeException: Can not convert #STRING to a NodeList!
        at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:31
74)
        at java.lang.Thread.run(Thread.java:484)


2. /cocoon/svg:
   Error page, with exception:
org.apache.batik.transcoder.TranscoderException: null
Enclosed Exception:
http://xml.apache.org:-1
The URI '' specified on the element <use> is invalid
        at
org.apache.cocoon.serialization.SVGSerializer.notify(SVGSerializer.java:
230)
        at
org.apache.cocoon.xml.dom.SVGBuilder.endDocument(SVGBuilder.java:92)
        at
org.apache.xerces.parsers.SAXParser.endDocument(SAXParser.java:1230)
        at
org.apache.xerces.validators.common.XMLValidator.callEndDocument(XMLVali
dator.java:1146)
        at
org.apache.xerces.framework.XMLDocumentScanner$EndOfInputDispatcher.disp
atch(XMLDocumentScanner.java:1499)
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScan
ner.java:381)
        at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
        at
org.apache.cocoon.components.parser.JaxpParser.parse(JaxpParser.java:181
)
        at
org.apache.cocoon.components.source.URLSource.toSAX(URLSource.java:331)
        at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:1
09)


3. /cocoon/i18n/simple.xml
   translations/messages*.xml files got corrupted by ant!!!
   Output of this example is corrupted also because of this.


4. /sql/sql-page
   Do not work if there was an exception on container startup:

java.sql.SQLException: File input/output error:
C:\Work\Cocoon2\WEB-INF\db\cocoondb.backup
        at org.hsqldb.Trace.getError(Trace.java:180)

   Deleting db\cocoondb.backup and restarting container seems fix this
issue.


5. /cocoon/yahoo
   Shows empty page. Seems Yahoo! changed its frontpage.


6. /cocoon/jsp/hello, /cocoon/jsp/welcome.htm
   Error page:
   Original exception : java.lang.ClassNotFoundException:
org.apache.jasper.servlet.JspServlet
   (under Resin)


7. /cocoon/xsp/esql
   Error page:
   Original exception : java.lang.RuntimeException: Error executing
statement: select xml from xml_table: java.sql.SQLException: Table not
found: XML_TABLE in statement [select xml from xml_table] 
at www.docs.samples.xsp.esql_xsp.generate(esql_xsp.java:540)


8. /cocoon/session
   Hangs. Exception in the log file:
   org.apache.cocoon.components.language.LanguageException: Error
compiling session page_xsp:
Line 370, column 71:  ')' expected.
Line 0, column 0:
1 error

    at
org.apache.cocoon.components.language.programming.java.JavaLanguage.comp
i
le(JavaLanguage.java:205)


9. /cocoon/xsp/upload
   Shows lots of debug output onto console. Is upload functionality of
production quality?
   Also, for text files, it adds extra new line after the end of file.


10. /cocoon/xscript/soap-getquote2
    Hangs, with the stacktrace in the log file:

org.apache.cocoon.ProcessingException: Error in running Transformation:
org.apache.cocoon.ProcessingException: Error in creating Transform
Handler: java.lang.NullPointerException
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.transform(XSLTProces
sorImpl.java:291)
	at
org.apache.cocoon.components.xscript.XScriptObject.transform(XScriptObje
ct.java:93)
	at
www.docs.samples.xscript.soap_getquote2_xsp.generate(soap_getquote2_xsp.
java:720)
<snip/>

org.apache.cocoon.ProcessingException: Error in creating Transform
Handler: java.lang.NullPointerException
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandle
r(XSLTProcessorImpl.java:243)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandle
r(XSLTProcessorImpl.java:163)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.transform(XSLTProces
sorImpl.java:258)
	at
org.apache.cocoon.components.xscript.XScriptObject.transform(XScriptObje
ct.java:93)
	at
www.docs.samples.xscript.soap_getquote2_xsp.generate(soap_getquote2_xsp.
java:720)
<snip/>

java.lang.NullPointerException
	at java.util.Hashtable.containsKey(Hashtable.java:299)
	at
org.apache.cocoon.components.store.MRUMemoryStore.containsKey(MRUMemoryS
tore.java:258)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTemplates(XSLTPro
cessorImpl.java:333)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandle
r(XSLTProcessorImpl.java:173)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandle
r(XSLTProcessorImpl.java:163)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.transform(XSLTProces
sorImpl.java:258)
	at
org.apache.cocoon.components.xscript.XScriptObject.transform(XScriptObje
ct.java:93)
	at
www.docs.samples.xscript.soap_getquote2_xsp.generate(soap_getquote2_xsp.
java:720)
<snip/>

org.apache.cocoon.ProcessingException: Error in creating Transform
Handler: java.lang.NullPointerException
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandle
r(XSLTProcessorImpl.java:243)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandle
r(XSLTProcessorImpl.java:163)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.transform(XSLTProces
sorImpl.java:258)
	at
org.apache.cocoon.components.xscript.XScriptObject.transform(XScriptObje
ct.java:93)
	at
www.docs.samples.xscript.soap_getquote2_xsp.generate(soap_getquote2_xsp.
java:720)
<snip/>

java.lang.NullPointerException
	at java.util.Hashtable.containsKey(Hashtable.java:299)
	at
org.apache.cocoon.components.store.MRUMemoryStore.containsKey(MRUMemoryS
tore.java:258)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTemplates(XSLTPro
cessorImpl.java:333)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandle
r(XSLTProcessorImpl.java:173)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandle
r(XSLTProcessorImpl.java:163)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.transform(XSLTProces
sorImpl.java:258)
	at
org.apache.cocoon.components.xscript.XScriptObject.transform(XScriptObje
ct.java:93)
	at
www.docs.samples.xscript.soap_getquote2_xsp.generate(soap_getquote2_xsp.
java:720)
<snip/>

java.lang.NullPointerException
	at java.util.Hashtable.containsKey(Hashtable.java:299)
	at
org.apache.cocoon.components.store.MRUMemoryStore.containsKey(MRUMemoryS
tore.java:258)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTemplates(XSLTPro
cessorImpl.java:333)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandle
r(XSLTProcessorImpl.java:173)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandle
r(XSLTProcessorImpl.java:163)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.transform(XSLTProces
sorImpl.java:258)
	at
org.apache.cocoon.components.xscript.XScriptObject.transform(XScriptObje
ct.java:93)
	at
www.docs.samples.xscript.soap_getquote2_xsp.generate(soap_getquote2_xsp.
java:720)



11. /cocoon/xscript/soap-getquote3
    Hangs, with the error(s) in the log:

DEBUG   (2002-01-17) 10:06.22:708   [core.url-factory]
(/cocoon/xscript/soap-getquote3) tcpConnection-8080-3/URLFactoryImpl:
Making URL - MalformedURLException in getURL:
java.net.MalformedURLException: no protocol:
docs/samples/xscript/soap-getquote3.xsl
	at java.net.URL.<init>(URL.java:473)
	at java.net.URL.<init>(URL.java:376)
	at java.net.URL.<init>(URL.java:330)
	at
org.apache.cocoon.components.url.URLFactoryImpl.getURL(URLFactoryImpl.ja
va:75)
	at
org.apache.cocoon.components.xscript.XScriptObjectFromURL.getInputStream
(XScriptObjectFromURL.java:57)
	at
org.apache.cocoon.components.xscript.XScriptObject.getInputSource(XScrip
tObject.java:135)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandle
r(XSLTProcessorImpl.java:171)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandle
r(XSLTProcessorImpl.java:163)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.transform(XSLTProces
sorImpl.java:258)
	at
org.apache.cocoon.components.xscript.XScriptObject.transform(XScriptObje
ct.java:93)
	at
www.docs.samples.xscript.soap_getquote3_xsp.generate(soap_getquote3_xsp.
java:465)
    ...
	at java.lang.Thread.run(Thread.java:484)
DEBUG   (2002-01-17) 10:06.22:708   [core.xslt-processor]
(/cocoon/xscript/soap-getquote3) tcpConnection-8080-3/XSLTProcessorImpl:
XSLTProcessorImpl getTemplates: stylesheet null
DEBUG   (2002-01-17) 10:06.22:728   [core]
(/cocoon/xscript/soap-getquote3) tcpConnection-8080-3/LogKitLogger:
Returning a www.docs.samples.xscript.soap_getquote3_xsp to the pool
WARN    (2002-01-17) 10:06.22:728   [core]
(/cocoon/xscript/soap-getquote3) tcpConnection-8080-3/sitemap_xmap:
Error, try to process the error page
org.apache.cocoon.ProcessingException: Error in running Transformation:
org.apache.cocoon.ProcessingException: Error in creating Transform
Handler: java.lang.NullPointerException
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.transform(XSLTProces
sorImpl.java:291)
	at
org.apache.cocoon.components.xscript.XScriptObject.transform(XScriptObje
ct.java:93)
	at
www.docs.samples.xscript.soap_getquote3_xsp.generate(soap_getquote3_xsp.
java:465)
    ...
	at java.lang.Thread.run(Thread.java:484)
org.apache.cocoon.ProcessingException: Error in creating Transform
Handler: java.lang.NullPointerException
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandle
r(XSLTProcessorImpl.java:243)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandle
r(XSLTProcessorImpl.java:163)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.transform(XSLTProces
sorImpl.java:258)
	at
org.apache.cocoon.components.xscript.XScriptObject.transform(XScriptObje
ct.java:93)
	at
www.docs.samples.xscript.soap_getquote3_xsp.generate(soap_getquote3_xsp.
java:465)
    ...
	at java.lang.Thread.run(Thread.java:484)
java.lang.NullPointerException
	at java.util.Hashtable.containsKey(Hashtable.java:299)
	at
org.apache.cocoon.components.store.MRUMemoryStore.containsKey(MRUMemoryS
tore.java:258)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTemplates(XSLTPro
cessorImpl.java:348)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandle
r(XSLTProcessorImpl.java:173)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandle
r(XSLTProcessorImpl.java:163)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.transform(XSLTProces
sorImpl.java:258)
	at
org.apache.cocoon.components.xscript.XScriptObject.transform(XScriptObje
ct.java:93)
	at
www.docs.samples.xscript.soap_getquote3_xsp.generate(soap_getquote3_xsp.
java:465)
    ...
	at java.lang.Thread.run(Thread.java:484)
org.apache.cocoon.ProcessingException: Error in creating Transform
Handler: java.lang.NullPointerException
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandle
r(XSLTProcessorImpl.java:243)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandle
r(XSLTProcessorImpl.java:163)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.transform(XSLTProces
sorImpl.java:258)
	at
org.apache.cocoon.components.xscript.XScriptObject.transform(XScriptObje
ct.java:93)
	at
www.docs.samples.xscript.soap_getquote3_xsp.generate(soap_getquote3_xsp.
java:465)
    ...
	at java.lang.Thread.run(Thread.java:484)
java.lang.NullPointerException
	at java.util.Hashtable.containsKey(Hashtable.java:299)
	at
org.apache.cocoon.components.store.MRUMemoryStore.containsKey(MRUMemoryS
tore.java:258)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTemplates(XSLTPro
cessorImpl.java:348)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandle
r(XSLTProcessorImpl.java:173)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandle
r(XSLTProcessorImpl.java:163)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.transform(XSLTProces
sorImpl.java:258)
	at
org.apache.cocoon.components.xscript.XScriptObject.transform(XScriptObje
ct.java:93)
	at
www.docs.samples.xscript.soap_getquote3_xsp.generate(soap_getquote3_xsp.
java:465)
    ...
	at java.lang.Thread.run(Thread.java:484)
java.lang.NullPointerException
	at java.util.Hashtable.containsKey(Hashtable.java:299)
	at
org.apache.cocoon.components.store.MRUMemoryStore.containsKey(MRUMemoryS
tore.java:258)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTemplates(XSLTPro
cessorImpl.java:348)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandle
r(XSLTProcessorImpl.java:173)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandle
r(XSLTProcessorImpl.java:163)
	at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.transform(XSLTProces
sorImpl.java:258)
	at
org.apache.cocoon.components.xscript.XScriptObject.transform(XScriptObje
ct.java:93)
	at
www.docs.samples.xscript.soap_getquote3_xsp.generate(soap_getquote3_xsp.
java:465)
    ...
	at java.lang.Thread.run(Thread.java:484)
DEBUG   (2002-01-17) 10:06.22:738   [core]
(/cocoon/xscript/soap-getquote3) tcpConnection-8080-3/LogKitLogger:
Retrieving a org.apache.cocoon.components.pipeline.CachingEventPipeline
from the pool



12. /cocoon/isyndicate/news.xml
    No news.


PS: At this time, /cocoon/sub/generror works ok for me... But lots of
other error pages result in hanging... That's strange.

PPS: Carten, try fresh checkout. All (sub)sitemaps have to compile.

Regards,
Vadim



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message