Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-28623

Error loading users in site in Report

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.0
    • Fix Version/s: 2.5.6
    • Component/s: Sitestats
    • Labels:
      None
    • Previous Issue Keys:
      STAT-87

      Description

      trunk r50469.

      Reports / What = Visit, When = All, Who = Custom.

      Sometimes comes up with some users listed twice in the list, sometimes produces the error below.

      usage-session: 3d53b972-e1da-40c1-ac91-7bc9928eff7c
      stack-trace-digest: 73CF2A93E8C82CBC0FEF5413E0B9B26E66601D24
      sakai-version: 2.5
      service-version: [r48601-r5603]
      app-server: emergea
      user-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-ZA; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
      browser-id: Win-Mozilla
      IP: 137.158.97.181
      request-path: /portal/tool/81adca45-4259-4c10-b4ba-139c4a679497/reports
      time: 2008/07/28 12:48:13

      stack trace:

      org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: Exception while invoking expression #

      {ReportsBean.processLoadUsers}
      at org.sakaiproject.portal.charon.handlers.ToolHandler.doPost(ToolHandler.java:65)
      caused by: org.sakaiproject.tool.api.ToolException: Exception while invoking expression #{ReportsBean.processLoadUsers}

      at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1209)
      caused by: javax.servlet.ServletException: Exception while invoking expression #

      {ReportsBean.processLoadUsers}
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{ReportsBean.processLoadUsers}

      at javax.faces.component.UICommand.broadcast(UICommand.java:89)
      caused by: java.lang.ArrayIndexOutOfBoundsException
      at java.lang.System.arraycopy(Native Method)
      at java.util.ArrayList.ensureCapacity(ArrayList.java:170)
      at java.util.ArrayList.add(ArrayList.java:351)
      at org.sakaiproject.sitestats.tool.bean.ReportsBean.processLoadUsers(ReportsBean.java:372)
      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:585)
      at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:132)
      at javax.faces.component.UICommand.broadcast(UICommand.java:89)
      at org.ajax4jsf.framework.ajax.AjaxActionComponent.broadcast(AjaxActionComponent.java:55)
      at org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:180)
      at org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:158)
      at org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewRoot.java:346)
      at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)
      at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)
      at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
      at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:555)
      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:679)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at org.sakaiproject.jsf.util.JsfTool.dispatch(JsfTool.java:221)
      at org.sakaiproject.jsf.util.JsfTool.doPost(JsfTool.java:256)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:364)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:459)
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1209)
      at org.sakaiproject.portal.charon.handlers.ToolHandler.doTool(ToolHandler.java:165)
      at org.sakaiproject.portal.charon.handlers.ToolHandler.doGet(ToolHandler.java:88)
      at org.sakaiproject.portal.charon.handlers.ToolHandler.doPost(ToolHandler.java:65)
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doPost(SkinnableCharonPortal.java:1052)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      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:592)
      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:174)
      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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
      at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
      at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
      at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      at java.lang.Thread.run(Thread.java:595)

      Tool Placement:
      No Placement

      Request:
      : AuthType:null
      : CharEncoding:UTF-8
      : ContentLength:747
      : ContentType:application/x-www-form-urlencoded; charset=UTF-8
      : ContextPath:/portal
      : LocalAddress:null
      : LocalName:emerge2008.net
      : LocalPort:80
      : Method:POST
      : PathInfo:/tool/81adca45-4259-4c10-b4ba-139c4a679497/reports
      : Protocol:HTTP/1.1
      : QueryString:null
      : RemoteAddress:137.158.97.181
      : RemoteHost:137.158.97.181
      : RemotePort:-1
      : Requested URL:http://emerge2008.net/portal/tool/81adca45-4259-4c10-b4ba-139c4a679497/reports
      : Scheme:http
      : ServerName:emerge2008.net
      : Headers:
      : Header:host:emerge2008.net
      : Header:user-agent:Mozilla/5.0 (Windows; U; Windows NT 5.1; en-ZA; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
      : Header:accept:text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
      : Header:Accept-Language:en-za,en;q=0.5
      : Header:Accept-Encoding:gzip,deflate
      : Header:Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.7
      : Header:Keep-Alive:300
      : Header:connection:keep-alive
      : Header:content-type:application/x-www-form-urlencoded; charset=UTF-8
      : Header:referer:http://emerge2008.net/portal/tool/81adca45-4259-4c10-b4ba-139c4a679497/reports
      : Header:content-length:747
      : Header:cookie:--censored--
      : Header:pragma:no-cache
      : Header:Cache-Control:no-cache
      : Parameters:
      : Parameter:reportsForm:_idcl:0:
      : Parameter:reportsForm:what-resourcesAction:0:new
      : Parameter:reportsForm_SUBMIT:0:1
      : Parameter:AJAXREQUEST:0:_viewRoot
      : Parameter:javax.faces.ViewState:0:rO0ABXVyABNbTGphdmEubGFuZy5PYmplY3Q7kM5YnxBzKWwCAAB4cAAAAAN0AAE5cHQAFi9zaXRlc3RhdHMvcmVwb3J0cy5qc3A=
      : Parameter:reportsForm:link_hidden:0:
      : Parameter:reportsForm:when-custom-from_time:0:12:00:00 AM
      : Parameter:reportsForm:when-custom-from_date:0:07/27/2008
      : Parameter:reportsForm:what-events-by:0:what-events-bytool
      : Parameter:reportsForm:when:0:when-all
      : Parameter:reportsForm:who-role-select:0:hosts
      : Parameter:reportsForm:who:0:who-all
      : Parameter:reportsForm:when-custom-to_time:0:12:48:09 PM
      : Parameter:reportsForm:when-custom-to_date:0:07/28/2008
      : Parameter:reportsForm:_idJsp78:0:reportsForm:_idJsp78
      : Parameter:reportsForm:who-groups-select:0:54a57ffe-96c1-4373-bb16-940ee9402386
      : Parameter:reportsForm:what:0:what-visits
      : Attributes:
      : Attribute:tool.url.manager:org.sakaiproject.portal.util.ToolURLManagerImpl@147455d
      : Attribute:sakai.session:org.sakaiproject.tool.impl.SessionComponent$MySession@2a92651e
      : Attribute:sakai.html.head.css.base:<link href="/library/skin/tool_base.css" type="text/css" rel="stylesheet" media="all" />

      : Attribute:sakai.html.head.js:<script type="text/javascript" language="JavaScript" src="/library/js/headscripts.js"></script>

      : Attribute:sakai.html.head:<link href="/library/skin/tool_base.css" type="text/css" rel="stylesheet" media="all" />
      <link href="/library/skin/emerge2008/tool.css" type="text/css" rel="stylesheet" media="all" />
      <script type="text/javascript" language="JavaScript" src="/library/js/headscripts.js"></script>

      : Attribute:sakai.request.native.url:sakai.request.native.url
      : Attribute:sakai.html.body.onload:setMainFrameHeight('Main81adca45x4259x4c10xb4bax139c4a679497');setFocus(focus_path);
      : Attribute:sakai.filtered:sakai.filtered
      : Attribute:sakai.html.head.css.skin:<link href="/library/skin/emerge2008/tool.css" type="text/css" rel="stylesheet" media="all" />

      : Attribute:sakai.html.head.css:<link href="/library/skin/tool_base.css" type="text/css" rel="stylesheet" media="all" />
      <link href="/library/skin/emerge2008/tool.css" type="text/css" rel="stylesheet" media="all" />

      Session:
      : Created:1217241845951
      : LastAccess:1217242093685
      : MaxInactive:3600
      : Attributes:
      : Attribute:portalskin:defaultskin

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                nfernandes Nuno Fernandes (Inactive)
                Reporter:
                smarquard Stephen Marquard
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration