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

Andy Kriger akriger at greaterthanone.com
Mon Nov 1 19:52:10 CET 2004


I'm not sure I follow you. Two different kinds of XML files? When you
started again, did you remove all files or only your content sample? I have
the display and the editor parts working (so contentload/contentshow do
work) - it's the list collector that seems to be causing the problem, but
I'm not sure what exactly is causing the NPE.

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Marc Davenport
Sent: Monday, November 01, 2004 1:32 PM
To: 'The OpenCms mailing list'
Subject: RE: [opencms-dev] having problems listing form-based content

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.


_______________________________________________
This mail is send to you from the opencms-dev mailing list To change your
list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list