[Building Sakai] Error when Reply All on Messages tool is used.

Bryan Holladay holladay at longsight.com
Thu May 30 06:16:07 PDT 2013


Francois,

Thanks for the patch and the jira.  I've reviewed it and applied it to the
trunk and 3.0.x branches (we are not updating the 2.8.x branch anymore).
 Since this is your first patch to the msgcntr branch and I want to
encourage all new contributers, I went ahead and did a little more work
than normal to get this patch in.  For any future patches, could you do the
following:

-Msgcntr is an "indy" project, so it has it's own jira tag:  MSGCNTR  All
messages and forums tickets should be created under this tag.
-When you find a bug, check that you can recreate the bug on trunk.  There
are several QA servers for this, you can use:
http://nightly2.sakaiproject.org:8082/portal  (username: admin, password:
admin)
-If you can reproduce it in trunk, create the jira
-If you want to supply a patch, write your patch for the trunk branch and
attach the patch to the jira like you did.
-You do not need to change the "fix version" or set the status to
"resolved" for the jira, that will be taken care by the project leads.
 This can cause the ticket to get lost by filtering out the "resolved"
tickets.
-Feel free to email the list like you just did to get someone to apply your
patch, because it's easy to miss these patches

These guidelines are pretty much universal for all of Sakai.  Once again,
thank you for your patch and I'm looking forward to any additional patches
you may have!

Thanks,
Bryan



On Thu, May 30, 2013 at 7:13 AM, Francois Campbell <
francois at opencollab.co.za> wrote:

> Good Day
>
> We created a patch for the above issue. It is attached to the following
> JIRA.
>
> https://jira.sakaiproject.org/browse/SAK-23660
>
>
> On 22 May 2013 17:45, Francois Campbell <francois at opencollab.co.za> wrote:
>
>> Good Day.
>>
>> Environment
>> Centos 6
>> Mysql 5.5
>> tomcat 5.5
>> SAKAI 2.8.2
>>
>> When a user attempts to do the messages tool they receive the error below:
>> Messages tool > sent messages > Reply to All > Preview or send
>>
>>
>> "*org.sakaiproject.portal.api.PortalHandlerException:
>> org.sakaiproject.tool.api.ToolException:
>> #{PrivateMessagesTool.processPvtMsgPreviewReplyAll}:
>> javax.faces.el.EvaluationException: java.lang.IllegalStateException: User
>> replyrecipientaddtmp == null!*
>>
>> *    at org.sakaiproject.portal.charon.handlers.ToolHandler.doPost(ToolHandler.java:73)
>> caused by: org.sakaiproject.tool.api.ToolException: #{PrivateMessagesTool.processPvtMsgPreviewReplyAll}: javax.faces.el.EvaluationException: java.lang.IllegalStateException: User replyrecipientaddtmp == null!
>>     at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1429)
>> caused by: javax.servlet.ServletException: #{PrivateMessagesTool.processPvtMsgPreviewReplyAll}: javax.faces.el.EvaluationException: java.lang.IllegalStateException: User replyrecipientaddtmp == null!
>>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>> caused by: javax.faces.FacesException: #{PrivateMessagesTool.processPvtMsgPreviewReplyAll}: javax.faces.el.EvaluationException: java.lang.IllegalStateException: User replyrecipientaddtmp == null!
>>     at javax.faces.component.UICommand.broadcast(UICommand.java:312)
>> caused by: javax.faces.el.EvaluationException: java.lang.IllegalStateException: User replyrecipientaddtmp == null!
>>     at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
>> caused by: java.lang.IllegalStateException: User replyrecipientaddtmp == null!
>>     at org.sakaiproject.tool.messageforums.PrivateMessagesTool.processPvtMsgReplyAllSendHelper(PrivateMessagesTool.java:2910)
>>     at org.sakaiproject.tool.messageforums.PrivateMessagesTool.processPvtMsgPreviewReplyAll(PrivateMessagesTool.java:2769)
>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>     at java.lang.reflect.Method.invoke(Method.java:597)
>>     at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
>>     at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
>>     at javax.faces.component.UICommand.broadcast(UICommand.java:312)
>>     at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
>>     at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
>>     at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
>>     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
>>     at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
>>     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
>>     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)
>>     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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:659)
>>     at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:457)
>>     at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:395)
>>     at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:311)
>>     at org.sakaiproject.tool.messageforums.MessageForumsFilePickerServlet.dispatch(MessageForumsFilePickerServlet.java:166)
>>     at org.sakaiproject.jsf.util.JsfTool.doPost(JsfTool.java:256)
>>     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)
>>     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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:659)
>>     at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:457)
>>     at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:359)
>>     at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:311)
>>     at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:511)
>>     at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1429)
>>     at org.sakaiproject.portal.charon.handlers.ToolHandler.doTool(ToolHandler.java:204)
>>     at org.sakaiproject.portal.charon.handlers.ToolHandler.doGet(ToolHandler.java:96)
>>     at org.sakaiproject.portal.charon.handlers.ToolHandler.doPost(ToolHandler.java:73)
>>     at org.sakaiproject.portal.charon.SkinnableCharonPortal.doPost(SkinnableCharonPortal.java:1224)
>>     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:659)
>>     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.coyote.http11.Http11Processor.process(Http11Processor.java:881)
>>     at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:674)
>>     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:541)
>>     at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>>     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>>     at java.lang.Thread.run(Thread.java:662)
>>
>>
>> user: admin
>>
>> usage-session: b3117c81-fcc1-4405-926d-2e93f38279e1
>>  *
>>
>> *time: May 22, 2013 17:40:53*"
>>
>>
>> We have checked our sakai_users tables and ensured that all users have an
>> email address.
>> Has anyone experienced/resolved  this issue?
>>
>> --
>> *Francois Campbell*
>>  Java Developer
>>  *opencollab*
>>  *Tel*: +27 21 970 4000 | *Fax*: +27 21 914 3098
>>  *Mobile*: 083 273 3530
>>  *Web*: www.opencollab.co.za
>>
>
>
>
> --
> *Francois Campbell*
>  Java Developer
>  *opencollab*
>  *Tel*: +27 21 970 4000 | *Fax*: +27 21 914 3098
>  *Mobile*: 083 273 3530
>  *Web*: www.opencollab.co.za
>
> ------------------------------
> See OpenCollab email disclaimer at http://www.opencollab.co.**
> za/email-disclaimer <http://www.opencollab.co.za/email-disclaimer>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130530/e0cd6276/attachment.html 


More information about the sakai-dev mailing list