<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
    I tried to create a site including news and FAQs.(OpenCms 6 neta 3
and r1)<br>
<br>
    I have a news.html page using templateOne. This page has "Center
Layout" attribute set to "List of news articles" and is included into
navigation. This page is on the same level as my index.html on my site.
<br>
    The news articles are made in /sites/mysite/modules/news/news-00x
of type "news".<br>
<br>
    The system sucessfully list the news when i see the page news.html
but when i press on the title of one news article i get a
NullPointerException.<br>
<br>
    The full exception is :<br>
<pre>java.lang.NullPointerException
        at org.opencms.xml.A_CmsXmlDocument.getBookmarkName(A_CmsXmlDocument.java:115)
        at org.opencms.xml.A_CmsXmlDocument.getBookmark(A_CmsXmlDocument.java:520)
        at org.opencms.xml.A_CmsXmlDocument.getValueInternal(A_CmsXmlDocument.java:594)
        at org.opencms.xml.A_CmsXmlDocument.getStringValue(A_CmsXmlDocument.java:240)
        at org.opencms.loader.CmsXmlContentLoader.service(CmsXmlContentLoader.java:230)
        at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:323)
        at org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.java:211)
        at org.opencms.jsp.CmsJspTagInclude.doEndTag(CmsJspTagInclude.java:345)
        at org.apache.jsp.detail_0002dnews_html_jsp._jspService(detail_0002dnews_html_jsp.java:407)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:575)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:498)
        at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:385)
        at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:163)
        at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:421)
        at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:323)
        at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:453)
        at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:398)
        at org.opencms.loader.CmsXmlContentLoader.load(CmsXmlContentLoader.java:207)
        at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:674)
        at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1310)
        at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:115)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:711)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:687)


        at java.lang.Thread.run(Thread.java:534)
</pre>
<br>
Requested resource is <b>/modules/news/news_001<br>
</b>OpenCms version :<b> </b><b>6.0 RC 1 Corrin<br>
</b>OpenCms context: <b>/opencms/opencms</b><br>
<br>
Any ideea what can I do ?<br>
<br>
Thanx a lot.<br>
<br>
Regards<br>
    Marius<br>
<br>
<pre class="moz-signature" cols="72">
-- 
Let your workings remain a mystery.
Just show people the results,
        Lao-Tsu,Tao Te Ching</pre>
</body>
</html>