Uploaded image for project: 'Contrib: Yaft'
  1. Contrib: Yaft
  2. YAFT-53

Yaft giving error when student tries to publish

    Details

    • Type: Bug
    • Status: OPEN
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 10.x
    • Fix Version/s: None
    • Component/s: Yaft
    • Labels:
      None
    • Environment:
      sakai 2.8

      Description

      We got two problems
      1. when the student session is active and tries to publish, it gives You must supply some content/ subject. See the error below:

      org.sakaiproject.portal.api.PortalHandlerException:
      >java.lang.IllegalArgumentException: You must supply some content.
      > at
      >org.sakaiproject.portal.charon.handlers.ToolHandler.doPost(ToolHandler.
      >jav
      >a:73)
      >caused by: java.lang.IllegalArgumentException: You must supply some
      >content.
      > at
      >org.sakaiproject.yaft.tool.YaftTool.doMessagesPost(YaftTool.java:905)
      > at org.sakaiproject.yaft.tool.YaftTool.doPost(YaftTool.java:565)
      > at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
      > at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      > at
      >org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
      >ati
      >onFilterChain.java:269)
      > at
      >org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
      >ter
      >Chain.java:188)
      > at
      >org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:598)
      > at
      >org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
      >ati
      >onFilterChain.java:215)
      > at
      >org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
      >ter
      >Chain.java:188)
      > at
      >org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispat
      >che
      >r.java:659)
      > at
      >org.apache.catalina.core.ApplicationDispatcher.processRequest(Applicati
      >onD

      2. The student is loosing his session while working Yaft. But I am not sure where the session is going lost. see the error below:

      stack trace:

      org.sakaiproject.portal.api.PortalHandlerException: java.lang.NullPointerException
      at org.sakaiproject.portal.charon.handlers.ToolHandler.doPost(ToolHandler.java:73)
      caused by: java.lang.NullPointerException
      at org.sakaiproject.login.tool.LoginTool.doPost(LoginTool.java:448)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
      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 org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:598)
      ;
      ;
      ;
      : QueryString:null
      : RemoteAddress:41.221.159.83
      : RemoteHost:41.221.159.83
      : RemotePort:-1
      : Requested URL:https://my.unisa.ac.za/portal/tool/8b3e12c3-7b45-4bed-9b7f-5f62ffbc8f31/messages
      : Scheme:https
      : ServerName:my.unisa.ac.za
      : Headers:
      : Header:accept:text/html, application/xhtml+xml, /
      : Header:referer:https://my.unisa.ac.za/yaft-tool/yaft.html?state=forums&siteId=EUP1501-13-S1-390T&placementId=8b3e12c3-7b45-4bed-9b7f-5f62ffbc8f31&language=en&country=US&skin=unisa&editor=FCKeditor
      : Header:Accept-Language:en-ZW
      : Header:user-agent:Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
      : Header:content-type:multipart/form-data; boundary=---------------------------7dd31a4202e4
      : Header:Accept-Encoding:gzip, deflate
      : Header:host:my.unisa.ac.za

      thank you

      regards
      Vijay
      Unisa

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                a.fish@lancaster.ac.uk Adrian Fish
                Reporter:
                vijaykumar vijaykumar sadupally
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Git Source Code