[opencms-dev] having problems listing form-based content
Marc Davenport
mdavenport at endeca.com
Mon Nov 1 19:31:51 CET 2004
I did have a similar problem when I was setting up a demo for myself. I
found that I had two different kinds of xml files. I had an original, and
then when I was having problems I started over again. See if this your
problem..
Marc Davenport
-----Original Message-----
From: Andy Kriger [mailto:akriger at greaterthanone.com]
Sent: Monday, November 01, 2004 12:41 PM
To: 'The OpenCms mailing list'
Subject: [opencms-dev] having problems listing form-based content
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
This email message and any attachments are confidential to Endeca. If you
are not the intended recipient, please notify Endeca immediately -- by
replying to this message or by sending an email to: legal at endeca.com -- and
destroy all copies of this message and any attachments. Thank you.
More information about the opencms-dev
mailing list