You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Carsten Ziegeler <cz...@s-und-n.de> on 2002/01/17 12:46:09 UTC

Samples not working!!!!!! (RE: TODOs for the next release)

Hi Team,

I'm a little bit disappointed, after I did a quick test of our samples:

> 3.) Test, if all included examples work and  either fix them or move
>     them into scratchpad.
> 

Examples not working on my machine:
- Tutorial (subsitemap not compiled)
- Search (subsitemap not compiled)
- Sources (subsitemap not compiled) 
- Web Apps/Protected Area (subsitemap not compiled)
- Web Apps/Session State (hangs)
- Static Samples/Entity Resolution (ISOnum.pen not found)
- Static Samples/SVG (not valid SVG?)
- Deli Quick Start (Error)
- Deli HTML (Empty Page)

After this annoying list, I didn't test the dynamic samples anymore.

Please, if you change something in the core of cocoon try at least some
of the samples afterwards! Otherwise we end up in a mess of not working
pages and don't know what the reason for it is.

So please, help and make the samples work again!

Carsten

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


Re: Javascript and initial impressions Re: Samples not working!!!!!!(RE: TODOs for the next release)

Posted by "Piroumian, Konstantin" <KP...@flagship.ru>.
> Just my opinion.  I feel it is unwise to put javascript on a front page
> where one would gather an initial impression of a product or project.
> The issue being this is a very likely point of failure (no matter how
> simple the javascript is someone will make a browser that breaks it).
> While rollover images are a cool effect, I'd suggest removing javascript
> from at least the front page.  This way at least the first impression
> will be nice (just before their browser breaks on the second page with
> javascript :-p).

It'd be much better to have simple text labels instead of images and achive
rollover effect with CSS.

>
> Just my opinion.
>
> -Andy
>
> On Thu, 2002-01-17 at 09:43, Nicola Ken Barozzi wrote:
> > Since I always keep javascript error reporting to the max, for me the
> > tutorial page gives me javascript errors on the rollover stuff. Also the
> > links on the left are not correct and the fonts are not right. Since it
> > doesn't seem like a tutorial to me, and the examples are basically the
same
> > as the database ones, should we keep it?
> > --
> > Nicola Ken Barozzi                 xml-cocoon@nicolaken.com
> >
> > These are the days of miracle and wonder...
> >           ...so don't cry baby, don't cry...
> >                                                   Paul Simon
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
> --
> www.superlinksoftware.com
> www.sourceforge.net/projects/poi - port of Excel format to java
> http://developer.java.sun.com/developer/bugParade/bugs/4487555.html
> - fix java generics!
>
>
> The avalanche has already started. It is too late for the pebbles to
> vote.
> -Ambassador Kosh
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>

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


Re: Javascript and initial impressions Re: Samples not working!!!!!!(RE: TODOs for the next release)

Posted by Stefano Mazzocchi <st...@apache.org>.
"Andrew C. Oliver" wrote:
> 
> Just my opinion.  I feel it is unwise to put javascript on a front page
> where one would gather an initial impression of a product or project.
> The issue being this is a very likely point of failure (no matter how
> simple the javascript is someone will make a browser that breaks it).
> While rollover images are a cool effect, I'd suggest removing javascript
> from at least the front page.  This way at least the first impression
> will be nice (just before their browser breaks on the second page with
> javascript :-p).
> 
> Just my opinion.

I totally agree.

Let's aim to *max* compatibility. Means: all browsers!! and I really
mean it!

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<st...@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------



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


Javascript and initial impressions Re: Samples not working!!!!!! (RE: TODOs for the next release)

Posted by "Andrew C. Oliver" <ac...@nc.rr.com>.
Just my opinion.  I feel it is unwise to put javascript on a front page
where one would gather an initial impression of a product or project. 
The issue being this is a very likely point of failure (no matter how
simple the javascript is someone will make a browser that breaks it).
While rollover images are a cool effect, I'd suggest removing javascript
from at least the front page.  This way at least the first impression
will be nice (just before their browser breaks on the second page with
javascript :-p).  

Just my opinion.

-Andy

On Thu, 2002-01-17 at 09:43, Nicola Ken Barozzi wrote:
> Since I always keep javascript error reporting to the max, for me the
> tutorial page gives me javascript errors on the rollover stuff. Also the
> links on the left are not correct and the fonts are not right. Since it
> doesn't seem like a tutorial to me, and the examples are basically the same
> as the database ones, should we keep it?
> --
> Nicola Ken Barozzi                 xml-cocoon@nicolaken.com
> 
> These are the days of miracle and wonder...
>           ...so don't cry baby, don't cry...
>                                                   Paul Simon
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 
-- 
www.superlinksoftware.com
www.sourceforge.net/projects/poi - port of Excel format to java
http://developer.java.sun.com/developer/bugParade/bugs/4487555.html 
			- fix java generics!


The avalanche has already started. It is too late for the pebbles to
vote.
-Ambassador Kosh


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


Re: Samples not working!!!!!! (RE: TODOs for the next release)

Posted by Nicola Ken Barozzi <ba...@nicolaken.com>.
Since I always keep javascript error reporting to the max, for me the
tutorial page gives me javascript errors on the rollover stuff. Also the
links on the left are not correct and the fonts are not right. Since it
doesn't seem like a tutorial to me, and the examples are basically the same
as the database ones, should we keep it?
--
Nicola Ken Barozzi                 xml-cocoon@nicolaken.com

These are the days of miracle and wonder...
          ...so don't cry baby, don't cry...
                                                  Paul Simon


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


Re: Samples not working!!!!!! (RE: TODOs for the next release)

Posted by Nicola Ken Barozzi <ba...@nicolaken.com>.
----- Original Message ----- 
From: "Vadim Gritsenko" <va...@verizon.net>
To: <co...@xml.apache.org>
Sent: Thursday, January 17, 2002 2:39 PM
Subject: RE: Samples not working!!!!!! (RE: TODOs for the next release)


> Add one more:
>   - /cocoon/sub/generror hangs!!!

It's working for me. I just did a clean checkout.
Are others having the same error?

--
Nicola Ken Barozzi                 xml-cocoon@nicolaken.com

These are the days of miracle and wonder...
          ...so don't cry baby, don't cry...
                                                  Paul Simon


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


RE: List of issues with samples (RE: Samples not working!!!!!!)

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Piroumian, Konstantin [mailto:KPiroumian@flagship.ru]
> 
> > All,
> >
> > Please take a look at following list of not working samples and
let's
> > make it empty.
> ...
> >
> >
> > 3. /cocoon/i18n/simple.xml
> >    translations/messages*.xml files got corrupted by ant!!!
> >    Output of this example is corrupted also because of this.
> 
> This happened before and was fixed by turning off filtering of i18n
> dictionary files, but now as I can see this happens even with
filtering
> turned off.
> 

Can you investigate this (and come up with the solution?)?

> > 6. /cocoon/jsp/hello, /cocoon/jsp/welcome.htm
> >    Error page:
> >    Original exception : java.lang.ClassNotFoundException:
> > org.apache.jasper.servlet.JspServlet
> >    (under Resin)
> >
> 
> JSPEngine is configured in cocoon.xconf. Maybe it'll be better to show
an
> error page telling to configure it for a particular, non-Tomcat,
server?

Do you know configuration for Resin?

Thanks,
Vadim



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


Re: List of issues with samples (RE: Samples not working!!!!!!)

Posted by "Piroumian, Konstantin" <KP...@flagship.ru>.
> All,
>
> Please take a look at following list of not working samples and let's
> make it empty.
...
>
>
> 3. /cocoon/i18n/simple.xml
>    translations/messages*.xml files got corrupted by ant!!!
>    Output of this example is corrupted also because of this.

This happened before and was fixed by turning off filtering of i18n
dictionary files, but now as I can see this happens even with filtering
turned off.

>

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

JSPEngine is configured in cocoon.xconf. Maybe it'll be better to show an
error page telling to configure it for a particular, non-Tomcat, server?

Regards,
    Konstantin Piroumian

>
>
> Regards,
> Vadim
>



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


RE: List of issues with samples (RE: Samples not working!!!!!!)

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Nicola Ken Barozzi [mailto:barozzi@nicolaken.com]
> 
> ----- Original Message -----
> From: "Vadim Gritsenko" <va...@verizon.net>
> To: <co...@xml.apache.org>
> Sent: Thursday, January 17, 2002 4:12 PM
> Subject: List of issues with samples (RE: Samples not working!!!!!!)
> 
> 
> > PS: At this time, /cocoon/sub/generror works ok for me... But lots
of
> > other error pages result in hanging... That's strange.
> 
> Could you please specify some reproducible test cases that fail?
> Seems I'm unable to reproduce the failings.

Good news! It's not container, it's not Cocoon, it is 3rd party app. I
have WebWasher installed (to kill nasty pop-up(-under) ads) - it was
causing hangings of the IE :) 

Now I always get error page on time for all these non-working samples.


> What does happen to me is that on many links in the subsitemap example
I
> have to click twice to get the page sometimes.
> I don't know if it's my browser or Cocoon, but incomprehensible for me
> nevertheless.

Never seen this (yet?).

Vadim


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


Re: List of issues with samples (RE: Samples not working!!!!!!)

Posted by Nicola Ken Barozzi <ba...@nicolaken.com>.
----- Original Message -----
From: "Vadim Gritsenko" <va...@verizon.net>
To: <co...@xml.apache.org>
Sent: Thursday, January 17, 2002 4:12 PM
Subject: List of issues with samples (RE: Samples not working!!!!!!)


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

Could you please specify some reproducible test cases that fail?
Seems I'm unable to reproduce the failings.

What does happen to me is that on many links in the subsitemap example I
have to click twice to get the page sometimes.
I don't know if it's my browser or Cocoon, but incomprehensible for me
nevertheless.
--
Nicola Ken Barozzi                 xml-cocoon@nicolaken.com

These are the days of miracle and wonder...
          ...so don't cry baby, don't cry...
                                                  Paul Simon


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


Re: List of issues with samples (RE: Samples not working!!!!!!)

Posted by Patrick Reuter <pa...@isst.fhg.de>.
Hi,

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



<map:generate type="html" src="http://www.yahoo.com">
	<map:parameter name="xpath" 
value="/html/body/center/table[1]/tr/td/table[2]"/>
</map:generate>

You have to change the xpath value.
This should work now. (But I forgot which part of the Yahoo! page it was 
initially ;-))


patrick


 



-- 
------------------------------------------------------------------------
Patrick Reuter                Fraunhofer ISST
Diplom-Wirtschaftsingenieur   Abteilung Software Engineering

                               Mollstrasse 1
                               D-10178 Berlin

Telefon +49 (0)30/24306-482   E-Mail patrick.reuter@isst.fhg.de
Fax     +49 (0)30/24306-599   Internet www.isst.fhg.de
------------------------------------------------------------------------


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


Re: List of issues with samples (RE: Samples not working!!!!!!)

Posted by Berin Loritsch <bl...@apache.org>.
Patrick Reuter wrote:

> Hi,
> 
> 
> 5. /cocoon/yahoo
>    Shows empty page. Seems Yahoo! changed its frontpage.
> 
> 
> 
> <map:generate type="html" src="http://www.yahoo.com">
>     <map:parameter name="xpath" 
> value="/html/body/center/table[1]/tr/td/table[2]"/>
> </map:generate>
> 
> You have to change the xpath value.
> This should work now. (But I forgot which part of the Yahoo! page it was 
> initially ;-))


This also underscores the need for a semantic web--and how poorly
HTML accomplishes the need!




-- 

"They that give up essential liberty to obtain a little temporary safety
  deserve neither liberty nor safety."
                 - Benjamin Franklin


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


RE: List of issues with samples (RE: Samples not working!!!!!!)

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Patrick Reuter [mailto:patrick.reuter@gmx.de]
> 
> 5. /cocoon/yahoo
>     Shows empty page. Seems Yahoo! changed its frontpage.
> 
> <map:generate type="html" src="http://www.yahoo.com">
>      <map:parameter name="xpath"
> value="/html/body/center/table[1]/tr/td/table[2]"/>
> </map:generate>
> 
> You have to change the xpath value.
> This should work now. (But I forgot which part of the Yahoo! page it
was
> initially ;-))

Thanks! It looks good.

Vadim


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


Re: List of issues with samples (RE: Samples not working!!!!!!)

Posted by Patrick Reuter <pa...@gmx.de>.
Hi,


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



<map:generate type="html" src="http://www.yahoo.com">
     <map:parameter name="xpath" 
value="/html/body/center/table[1]/tr/td/table[2]"/>
</map:generate>

You have to change the xpath value.
This should work now. (But I forgot which part of the Yahoo! page it was 
initially ;-))


patrick





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


List of issues with samples (RE: Samples not working!!!!!!)

Posted by Vadim Gritsenko <va...@verizon.net>.
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


RE: Samples not working!!!!!! (RE: TODOs for the next release)

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Carsten Ziegeler [mailto:cziegeler@s-und-n.de]
> 
> Hi Team,
> 
> I'm a little bit disappointed, after I did a quick test of our
samples:
> 
> > 3.) Test, if all included examples work and  either fix them or move
> >     them into scratchpad.
> >
> 
> Examples not working on my machine:
> - Tutorial (subsitemap not compiled)
> - Search (subsitemap not compiled)
> - Sources (subsitemap not compiled)
> - Web Apps/Protected Area (subsitemap not compiled)

All subsitemaps are compiling here. Something wrong is in between...


> - Web Apps/Session State (hangs)
> - Static Samples/Entity Resolution (ISOnum.pen not found)
> - Static Samples/SVG (not valid SVG?)

These are working.


> - Deli Quick Start (Error)
> - Deli HTML (Empty Page)

Deli HTML throws an XSLT exception (can not convert STRING to NODE or
similar).

Add one more:
  - /cocoon/sub/generror hangs!!!

> 
> After this annoying list, I didn't test the dynamic samples anymore.

Have  them working here.

> Please, if you change something in the core of cocoon try at least
some
> of the samples afterwards! Otherwise we end up in a mess of not
working
> pages and don't know what the reason for it is.

I will test samples today again, from the scratch.

Vadim


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