Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.8
-
None
-
None
-
Operating System: other
Platform: Other
-
34084
Description
Recording Daniel Fagerstrom's bugreport from
http://article.gmane.org/gmane.text.xml.cocoon.devel/48531
Reformatted and made a bit more readable for dev@'s convenience :)
--------
The tests works except for
org/apache/cocoon/transformation/I18NTransformerTestCase.xtest which reports
that it passes but deliver a number of NPEs depending on that it doen't find
resource://org/apache/cocoon/transformation/i18n-messages_sv.xml
resource://org/apache/cocoon/transformation/i18n-messages_sv_SE.xml
using locale: sv_SE
Obviously I should provide a Swedish translation ;)
Clecked through the main samples and samples for (authentication-fw, asciiart,
batik, bsf, chaperon, fop, forms, html, itext, ifor, linkrewriter, lucene, poi,
profiler, session-fw, stx, velocity, xmldb, xsp (except phyton) and have found
the following problems:
- URL
http://localhost:8888/samples/blocks/bsf/generator/helloGroovyMarkup.gysamples/blocks/bsf/generator/helloGroovyMarkup.gy
java.lang.NullPointerException
org.apache.cocoon.ProcessingException: BSFException in
ScriptGenerator.generate(): org.apache.bsf.BSFException: exception from Groovy:
java.lang.RuntimeException: java.lang.NullPointerException
-o0o-
- URL http://localhost:8888/samples/blocks/html/googlenews
gets a 403 (Forbidden) at http://news.google.com/news?ned=us&topic=t
-o0o-
- URL http://localhost:8888/samples/blocks/lucene/findIt2?queryString=cocoon
gave org.apache.cocoon.ProcessingException: IOException in search:
java.io.IOException: /tmp/Jetty__8888__/cocoon-files/index2 not a directory
-o0o-
- URL http://localhost:8888/samples/blocks/xmldb/browse/
for build/webapp/samples/blocks/xmldb/xmldb2samples.xsl I get
javax.xml.transform.TransformerException: ElemTemplateElement-fel: head line 89.
-o0o-
- URL http://localhost:8888/samples/blocks/xsp/soap/temperature
Exception from service object: Connection refused
-o0o-
- URL http://localhost:8888/samples/blocks/forms/form2simpleXML.flow
resource://org/apache/cocoon/forms/flow/javascript/Form.js", line 203, Cannot
set value of field "data.drinks" with an object of type java.lang.String
-o0o-
- URL http://localhost:8888/samples/blocks/forms/v2/example
Validation rule "value-count" cannot be used with strings, error at
file:build/webapp/samples/blocks/forms/v2/form1.xml:115:38
http://article.gmane.org/gmane.text.xml.cocoon.devel/48531
Reformatted and made a bit more readable for dev@'s convenience :)
--------
The tests works except for
org/apache/cocoon/transformation/I18NTransformerTestCase.xtest which reports
that it passes but deliver a number of NPEs depending on that it doen't find
resource://org/apache/cocoon/transformation/i18n-messages_sv.xml
resource://org/apache/cocoon/transformation/i18n-messages_sv_SE.xml
using locale: sv_SE
Obviously I should provide a Swedish translation ;)
Clecked through the main samples and samples for (authentication-fw, asciiart,
batik, bsf, chaperon, fop, forms, html, itext, ifor, linkrewriter, lucene, poi,
profiler, session-fw, stx, velocity, xmldb, xsp (except phyton) and have found
the following problems:
- URL
http://localhost:8888/samples/blocks/bsf/generator/helloGroovyMarkup.gysamples/blocks/bsf/generator/helloGroovyMarkup.gy
java.lang.NullPointerException
org.apache.cocoon.ProcessingException: BSFException in
ScriptGenerator.generate(): org.apache.bsf.BSFException: exception from Groovy:
java.lang.RuntimeException: java.lang.NullPointerException
-o0o-
- URL http://localhost:8888/samples/blocks/html/googlenews
gets a 403 (Forbidden) at http://news.google.com/news?ned=us&topic=t
-o0o-
- URL http://localhost:8888/samples/blocks/lucene/findIt2?queryString=cocoon
gave org.apache.cocoon.ProcessingException: IOException in search:
java.io.IOException: /tmp/Jetty__8888__/cocoon-files/index2 not a directory
-o0o-
- URL http://localhost:8888/samples/blocks/xmldb/browse/
for build/webapp/samples/blocks/xmldb/xmldb2samples.xsl I get
javax.xml.transform.TransformerException: ElemTemplateElement-fel: head line 89.
-o0o-
- URL http://localhost:8888/samples/blocks/xsp/soap/temperature
Exception from service object: Connection refused
-o0o-
- URL http://localhost:8888/samples/blocks/forms/form2simpleXML.flow
resource://org/apache/cocoon/forms/flow/javascript/Form.js", line 203, Cannot
set value of field "data.drinks" with an object of type java.lang.String
-o0o-
- URL http://localhost:8888/samples/blocks/forms/v2/example
Validation rule "value-count" cannot be used with strings, error at
file:build/webapp/samples/blocks/forms/v2/form1.xml:115:38