Dear,

Just a small question, testing:
When I get:
java.lang.NullPointerException
        at
org.apache.cocoon.stringtemplate.StringTemplateGenerator.constructCacheKey(StringTemplateGenerator.java:75)

I notice that StringTemplateGenerator has two constructors: one with a
'source' argument, and one without.
The one without source argument is called.
Does this make sense? Am I making a mistake in the sitemap?
Here's the code:
  <map:match pattern="testcases/{name}.st">
      <map:generate src="testcases/{map:name}.st"
type="string-template"/>
       <map:serialize type="xhtml"/>
  </map:match>

Thanks,
Jos

Reply via email to