Uploaded image for project: 'PUBLIC - Liferay Social Office Community Edition'
  1. PUBLIC - Liferay Social Office Community Edition
  2. SOS-726

error in so-hook when adding category in message board

    Details

    • Liferay Contributor's Agreement:
      Accept

      Description

      I dont know if this is an so issue or liferay portal, but its giving error in message boards. Thanks

      Stacktrace:
      at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErro rHandler.java:92)
      at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher .java:330)
      at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java :439)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:356)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)
      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext .java:592)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:328)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3 13)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain. doFilter(InvokerFilterChain.java:72)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFil ter(InvokerFilter.java:68)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp atcher.java:646)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD ispatcher.java:551)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis patcher.java:488)

      22:32:22,317 ERROR [IncludeTag:426] Current URL /web/socoada/forums?p_p_id=19&p_ p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1 generates exception: Unable to compile class for JSP:

      An error occurred at line: 159 in the jsp file: /html/portlet/message_boards/vie w_category_default.so-hook.jsp
      MBMessageFlagLocalServiceUtil cannot be resolved
      156:
      157: message = message.toEscapedModel();
      158:
      159: boolean readThread = MBMessageFlagLocalServiceUtil.hasReadFlag(t hemeDisplay.getUserId(), thread);
      160:
      161: row.setBold(!readThread);
      162: row.setObject(new Object[]

      {message, threadSubscriptionClassPKs} );


      An error occurred at line: 254 in the jsp file: /html/portlet/message_boards/vie w_category_default.so-hook.jsp
      MBMessageFlagLocalServiceUtil cannot be resolved
      251: </div>
      252:
      253: <c:choose>
      254: <c:when test="<%= MBMessageFlagLocalServiceUtil. hasQuestionFlag(message.getMessageId()) %>">
      255: <div class="result-data">
      256: <liferay-ui:message key="waiting -for-an-answer" />
      257: </div>


      An error occurred at line: 259 in the jsp file: /html/portlet/message_boards/vie w_category_default.so-hook.jsp
      MBMessageFlagLocalServiceUtil cannot be resolved
      256: <liferay-ui:message key="waiting -for-an-answer" />
      257: </div>
      258: </c:when>
      259: <c:when test="<%= MBMessageFlagLocalServiceUtil. hasAnswerFlag(message.getMessageId()) %>">
      260: <div class="result-data">
      261: <liferay-ui:message key="resolve d" />
      262: </div>


      Stacktrace:
      22:32:22,322 ERROR [IncludeTag:154] org.apache.jasper.JasperException: Unable to compile class for JSP:

      An error occurred at line: 159 in the jsp file: /html/portlet/message_boards/vie w_category_default.so-hook.jsp
      MBMessageFlagLocalServiceUtil cannot be resolved
      156:
      157: message = message.toEscapedModel();
      158:
      159: boolean readThread = MBMessageFlagLocalServiceUtil.hasReadFlag(t hemeDisplay.getUserId(), thread);
      160:
      161: row.setBold(!readThread);
      162: row.setObject(new Object[] {message, threadSubscriptionClassPKs}

      );

      An error occurred at line: 254 in the jsp file: /html/portlet/message_boards/vie w_category_default.so-hook.jsp
      MBMessageFlagLocalServiceUtil cannot be resolved
      251: </div>
      252:
      253: <c:choose>
      254: <c:when test="<%= MBMessageFlagLocalServiceUtil. hasQuestionFlag(message.getMessageId()) %>">
      255: <div class="result-data">
      256: <liferay-ui:message key="waiting -for-an-answer" />
      257: </div>

      An error occurred at line: 259 in the jsp file: /html/portlet/message_boards/vie w_category_default.so-hook.jsp
      MBMessageFlagLocalServiceUtil cannot be resolved
      256: <liferay-ui:message key="waiting -for-an-answer" />
      257: </div>
      258: </c:when>
      259: <c:when test="<%= MBMessageFlagLocalServiceUtil. hasAnswerFlag(message.getMessageId()) %>">
      260: <div class="result-data">
      261: <liferay-ui:message key="resolve d" />
      262: </div>

      Stacktrace:
      at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErro rHandler.java:92)
      at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher .java:330)
      at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java :439)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:356)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)
      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext .java:592)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:328)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3 13)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain. doFilter(InvokerFilterChain.java:72)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFil ter(InvokerFilter.java:68)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp atcher.java:646)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD ispatcher.java:551)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis patcher.java:488)

      22:32:24,895 ERROR [IncludeTag:426] Current URL /web/socoada/forums/-/message_bo ards/category/10712 generates exception: org.apache.jasper.JasperException: Unab le to load class for JSP
      22:32:24,899 ERROR [IncludeTag:154] java.lang.ClassNotFoundException: org.apache .jsp.html.portlet.message_005fboards.view_005fcategory_005fdefault_so_002dhook_j sp
      at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
      at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:13 4)
      at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66 )
      at org.apache.jasper.JspCompilationContext.load(JspCompilationContext.ja va:628)
      at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrap per.java:149)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:340)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3 13)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain. doFilter(InvokerFilterChain.java:72)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFil ter(InvokerFilter.java:68)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp atcher.java:646)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD ispatcher.java:551)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis patcher.java:488)
      at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:323)

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            gleon Gabriel Leon (Inactive)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              8 years, 47 weeks, 4 days ago

                Packages

                Version Package
                --Sprint - 07/12
                2.0.2 CE GA1