I have the BulletinBoard plugin installed into Xwiki to use as a forum. The
forum works fine if it is accessed directly. However, I have a page in the
Xwiki that includes a menu and a particular section of the forum. I can see
content, I am just unable to add new topics via the page that contains a
menu. When accessing the forum directly under the same section I am able to
add new topics. The problem is that the site navigational menu must be
included so this "middle man" page is necessary.
The page that includes references to the menu and the forum section is
written as:
(% style="margin-top: -2em;" %)
(((
|(% style="vertical-align: top; position: relative; top: -1.0em; left:
-0.4em; border:0;" %)(((
{{include document="CTAs.Menu"/}}
)))|(% style="width: 100%; border-width: medium; border-style: none;
border-color: -moz-use-text-color; vertical-align: top;" %)(((
(% style="margin-top: -0.7em; margin-left: -0.25em" %)
(((
{{include document="BulletinBoard.CTAENS" context="new"/}}
)))
)))
)))
Where CTAs.Menu is the menu I need to include and the BullentinBoard.CTAENS
is the section of the forum I need to display.
The page displays fine, however the link "Add new topic" is not functional.
The error that seems to be generated due to this action is....
012-08-21 12:32:33,548 [/xwiki/bin/view/CTAs/ens_forum] ERROR
rnal.DefaultObservationManager - Fail to send event
[org.xwiki.observation.event.ActionExecutionEvent@373aa5] to listener
[com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl@110bc5c]
java.lang.NullPointerException
at
com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.onEvent(XWikiStatsServiceImpl.java:190)
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:278)
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:247)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:316)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:775)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:704)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:897)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:662)
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Unable-to-add-new-topics-under-Xwiki-Bull…
Sent from the XWiki- Dev mailing list archive at
Nabble.com.