cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars Huttar <lars_hut...@sil.org>
Subject Re: c3: null pointer exception in ResponseHeaderCollector.isModifiedResponse
Date Tue, 27 Mar 2012 18:47:39 GMT
Thorsten wrote,

> Hmm, did actually somebody tried c3 on win before?
>
> I just downloaded the file on a pet project I have and it works 
> without any prob on linux.
>
> So let us do the clean routine: cd $c3_home svn up mvn clean install 
> cd /c3/theParent mvn clean install cd ethnologue-17-pub/ mvn jetty:run
>
> Does the error persists? I can remember i came in contact with 
> DataStore, when I created a jms based pipe and did not enter a c3 
> context, but this is not your case at all.
>

I don't actually have a $c3_home envt variable - maybe that was just 
shorthand? I did a svn up in c:\Program Files\Apache Software 
Foundation\c3, which is *a* place that I installed C3. I may have 
installed it in more than one place, and if so, I don't know which place 
is the relevant one. Is there any way to find out? I also did mvn clean 
install in that directory.

Then I went to theParent (which is not under the folder where I did svn 
up) and did
mvn clean install
cd ethnologue-17-pub
mvn jetty:run

Yes, the error persists. I get this in the cocoon.log:

...
testValue=generator/languages-in-country/country_id/77/source, 
result={0=generator/languages-in-country/country_id/77/source}
2012-03-27 13:45:49,095 DEBUG 2096075@qtp-28812627-1 
org.apache.cocoon.sitemap.node.AbstractSitemapNode - 
GenerateNode(src=generators/languages-in-country.xml, 
type=url).invoke(/generator/languages-in-country/country_id/77/source)
2012-03-27 13:45:49,104 DEBUG 2096075@qtp-28812627-1 
org.apache.cocoon.pipeline.AbstractPipeline - Adding component 
XMLGenerator(hashCode=29276140 
internalGenerator=URLGenerator(hashCode=25975631 
source=file:/C:/Users/HuttarL/Documents/work/c3/theParent/ethnologue-17-pub/src/main/resources/COB-INF/generators/languages-in-country.xml))

to pipeline [CachingPipeline(hashCode=1899350 components=[])].
2012-03-27 13:45:49,105 DEBUG 2096075@qtp-28812627-1 
org.apache.cocoon.sitemap.node.AbstractSitemapNode - 
SerializeNode(type=xml).invoke(/generator/languages-in-country/country_id/77/source)
2012-03-27 13:45:49,132 DEBUG 2096075@qtp-28812627-1 
org.apache.cocoon.pipeline.AbstractPipeline - Adding component 
XMLSerializer(hashCode=27928091) to pipeline 
[CachingPipeline(hashCode=1899350 
components=[XMLGenerator(hashCode=29276140 
internalGenerator=URLGenerator(hashCode=25975631 
source=file:/C:/Users/HuttarL/Documents/work/c3/theParent/ethnologue-17-pub/src/main/resources/COB-INF/generators/languages-in-country.xml))])].
2012-03-27 13:45:49,133 INFO  2096075@qtp-28812627-1 
org.apache.cocoon.servlet.RequestProcessor - Sitemap execution for 
/generator/languages-in-country/country_id/77/source took 69.72587 ms.
2012-03-27 13:45:49,138 ERROR 2096075@qtp-28812627-1 
org.apache.cocoon.servlet.XMLSitemapServlet - Cocoon can't process the 
request.
java.lang.NullPointerException: null
     at 
org.apache.cocoon.servlet.collector.ResponseHeaderCollector.isModifiedResponse(ResponseHeaderCollector.java:176)

~[cocoon-servlet-3.0.0-beta-1-SNAPSHOT.jar:3.0.0-beta-1-SNAPSHOT]
     at 
org.apache.cocoon.servlet.RequestProcessor.sendSitemapResponse(RequestProcessor.java:354)

~[cocoon-servlet-3.0.0-beta-1-SNAPSHOT.jar:3.0.0-beta-1-SNAPSHOT]
...

Thanks for any help.

Lars


Mime
View raw message