1 Reply Latest reply on Oct 28, 2005 2:44 AM by Boleslaw Dawidowicz

    Problem with deletion operation in portal forums

    ashok hament Newbie

      I have installed Jboss Portal 2.0 final. Successfully configured with oracle database. Also placed portal-forums.sar in deploy folder which is also configured with database. All tables for forums were created.
      All oprtaions in forums are working except deletion. On deletion of post it show the error.

      javax.servlet.ServletException: An error occured during the action request : null
      org.jboss.portal.core.servlet.CoreServlet.render(CoreServlet.java:174)
      org.jboss.portal.server.servlet.AbstractMainServlet.invoke(AbstractMainServlet.java:81)
      org.jboss.portal.server.servlet.AbstractMainServlet.doGet(AbstractMainServlet.java:71)
      org.jboss.portal.server.servlet.AbstractMainServlet.doPost(AbstractMainServlet.java:62)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      org.jboss.portal.core.servlet.TransactionFilter.doFilter(TransactionFilter.java:79)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)


      root cause
      java.lang.NullPointerException
      org.jboss.portlet.forums.ForumsPortlet.posting(ForumsPortlet.java:880)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:324)
      org.jboss.portlet.JBossPortlet.doDispatch(JBossPortlet.java:140)
      org.jboss.portlet.JBossPortlet.processAction(JBossPortlet.java:96)


      After that no operation is working, even edit operation that was already worked fine.