[opencms-dev] error when load contentload refer another file

Khởi Nguyễn Văn mailancuctruc88 at gmail.com
Wed Jan 18 16:23:57 CET 2012


hi all,

I'am using opencms version 6.2.1

when I load contentload refer another file.

code:

<cms:contentload collector="singleFile"
param="/cwt-extras/en/offers/offer1.html" editable="true">
       <cms:contentcheck ifexists="validitydateto">
</cms:contentcheck>
</cms:contentload>

it don't understand "<cms:contentload collector="singleFile"
param="/cwt-extras/en/offers/offer1.html" editable="true">",

so show error:

java.lang.NullPointerException
	at org.opencms.jsp.CmsJspTagContentCheck.contentCheckTagAction(CmsJspTagContentCheck.java:98)
	at org.opencms.jsp.CmsJspTagContentCheck.doStartTag(CmsJspTagContentCheck.java:151)
	at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_carlsonwagonlit_extra.templates.cwtExtrasHomePage_jsp._jspx_meth_cms_contentcheck_2(org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_carlsonwagonlit_extra.templates.cwtExtrasHomePage_jsp:504)
	at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_carlsonwagonlit_extra.templates.cwtExtrasHomePage_jsp._jspx_meth_cms_contentload_1(org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_carlsonwagonlit_extra.templates.cwtExtrasHomePage_jsp:476)
	at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_carlsonwagonlit_extra.templates.cwtExtrasHomePage_jsp._jspx_meth_cms_contentloop_0(org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_carlsonwagonlit_extra.templates.cwtExtrasHomePage_jsp:387)
	at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_carlsonwagonlit_extra.templates.cwtExtrasHomePage_jsp._jspx_meth_cms_contentcheck_1(org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_carlsonwagonlit_extra.templates.cwtExtrasHomePage_jsp:351)
	at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_carlsonwagonlit_extra.templates.cwtExtrasHomePage_jsp._jspx_meth_cms_contentload_0(org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_carlsonwagonlit_extra.templates.cwtExtrasHomePage_jsp:257)
	at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_carlsonwagonlit_extra.templates.cwtExtrasHomePage_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_carlsonwagonlit_extra.templates.cwtExtrasHomePage_jsp:139)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)



please, help me,

Thank all very much!

-- 
Best Regards,
------------------------
Nguyen Van Khoi
Sutrix Media - Developer
Mobile: 0976.593.588
Skype: vankhoiqn2003
Yahoo: vankhoiqn2003
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20120118/61b59765/attachment.htm>


More information about the opencms-dev mailing list