java.lang.IllegalArgumentException: You must supply some content.

Sakai JIRA | vijaykumar sadupally | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    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

    Sakai JIRA | 4 years ago | vijaykumar sadupally
    java.lang.IllegalArgumentException: You must supply some content.
  2. 0

    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

    Sakai JIRA | 4 years ago | vijaykumar sadupally
    java.lang.IllegalArgumentException: You must supply some content.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      You must supply some content.

      at org.sakaiproject.yaft.tool.YaftTool.doMessagesPost()
    2. org.sakaiproject.yaft
      YaftTool.doPost
      1. org.sakaiproject.yaft.tool.YaftTool.doMessagesPost(YaftTool.java:905)
      2. org.sakaiproject.yaft.tool.YaftTool.doPost(YaftTool.java:565)
      2 frames
    3. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      2 frames
    4. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      2 frames
    5. Sakai Component Manager
      RequestFilter.doFilter
      1. org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:598)
      1 frame
    6. Glassfish Core
      ApplicationDispatcher.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:659)
      3 frames