[opencms-dev] having problems listing form-based content

Andy Kriger akriger at greaterthanone.com
Mon Nov 1 18:41:27 CET 2004


I am setting up form-based content entry following the directions here
http://mail.opencms.org/pipermail/opencms-dev/2004q4/013609.html

Here is my list file:
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
<cms:contentload collector="allInFolder"
param="/gto/article_${number}.html|11" editable="false">
<h3><cms:contentshow element="Title" /></h3>
</cms:contentload>

And here is the error 
java.lang.NullPointerException at
org.opencms.file.CmsRequestContext.getSitePath(CmsRequestContext.java:329)
at org.opencms.file.CmsObject.getSitePath(CmsObject.java:1207) at
org.opencms.jsp.CmsJspTagContentLoad.doLoadNextFile(CmsJspTagContentLoad.jav
a:164) at
org.opencms.jsp.CmsJspTagContentLoad.doStartTag(CmsJspTagContentLoad.java:24
1) at
_jsp._WEB_22dINF._jsp._offline._sites._default._gto._article_22dlist__jsp._j
spService(_article_22dlist__jsp.java:38) 

I have the same problem in the xmlcontent demo page. Is anyone else seeing
similar behavior? Have you found a fix or a workaround?

My system:
Java 1.4.2
Resin 3.0.8
OpenCMS 6a2
MySQL 3.23.58

Thanks,
andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20041101/3df0d5c2/attachment.htm>


More information about the opencms-dev mailing list