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

NumberFormatException in AssignmentComparator

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.5.2
    • Component/s: Assignments
    • Labels:
      None

      Description

      usage-session: 37346898-f624-463a-8e6a-ef8a8264ffea
      stack-trace-digest: DD62D3A4B4D6D4A18E3448B999E6023C35AEBB26
      sakai-version: 2.5
      service-version: [r42462-r5044]
      app-server: vula2a
      user-agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)
      browser-id: Win-InternetExplorer
      IP: 165.145.234.137
      request-path: /portal/tool/4611ece2-2cca-439b-b816-ad66e1a866d7
      time: 26-Mar-2008 11:19:38

      stack trace:

      org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:891)
      caused by: org.sakaiproject.tool.api.ToolException
      at org.sakaiproject.cheftool.ToolServlet.doGet(ToolServlet.java:227)
      caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      caused by: java.lang.NumberFormatException: For input string: "No Grade"
      at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1224)
      at java.lang.Double.valueOf(Double.java:447)
      at java.lang.Double.<init>(Double.java:539)
      at org.sakaiproject.assignment.tool.AssignmentAction$AssignmentComparator.compare(AssignmentAction.java:8096)
      at java.util.Arrays.mergeSort(Arrays.java:1284)
      at java.util.Arrays.mergeSort(Arrays.java:1295)
      at java.util.Arrays.mergeSort(Arrays.java:1295)
      at java.util.Arrays.mergeSort(Arrays.java:1295)
      at java.util.Arrays.mergeSort(Arrays.java:1295)
      at java.util.Arrays.mergeSort(Arrays.java:1295)
      at java.util.Arrays.sort(Arrays.java:1223)
      at java.util.Collections.sort(Collections.java:159)
      at org.sakaiproject.assignment.tool.AssignmentAction.sizeResources(AssignmentAction.java:8649)
      at org.sakaiproject.cheftool.PagedResourceActionII.prepPage(PagedResourceActionII.java:268)
      at org.sakaiproject.assignment.tool.AssignmentAction.build_instructor_report_submissions(AssignmentAction.java:2365)
      at org.sakaiproject.assignment.tool.AssignmentAction.buildMainPanelContext(AssignmentAction.java:827)
      at sun.reflect.GeneratedMethodAccessor26090.invoke(null:-1)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.sakaiproject.cheftool.VelocityPortletPaneledAction.toolModeDispatch(VelocityPortletPaneledAction.java:392)
      at org.sakaiproject.cheftool.ToolServlet.doGet(ToolServlet.java:227)
      at org.sakaiproject.cheftool.VelocityPortletPaneledAction.doGet(VelocityPortletPaneledAction.java:1005)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at org.sakaiproject.vm.ComponentServlet.service(ComponentServlet.java:56)
      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: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:691)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
      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:1343)
      at org.sakaiproject.portal.charon.handlers.ToolHandler.doTool(ToolHandler.java:163)
      at org.sakaiproject.portal.charon.handlers.ToolHandler.doGet(ToolHandler.java:86)
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:891)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      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:210)
      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:151)
      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:685)
      at java.lang.Thread.run(Thread.java:595)

      Tool Placement:
      No Placement

      Request:
      : AuthType:null
      : CharEncoding:UTF-8
      : ContentLength:0
      : ContentType:null
      : ContextPath:/portal
      : LocalAddress:null
      : LocalName:vula.uct.ac.za
      : LocalPort:443
      : Method:GET
      : PathInfo:/tool/4611ece2-2cca-439b-b816-ad66e1a866d7
      : Protocol:HTTP/1.1
      : QueryString:panel=Main
      : RemoteAddress:165.145.234.137
      : RemoteHost:165.145.234.137
      : RemotePort:-1
      : Requested URL:https://vula.uct.ac.za/portal/tool/4611ece2-2cca-439b-b816-ad66e1a866d7
      : Scheme:https
      : ServerName:vula.uct.ac.za
      : Headers:
      : Header:accept:image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, /
      : Header:referer:https://vula.uct.ac.za/portal/site/1620e2be-ae60-408c-94fb-5d4c02a71c16/page/6da32cf8-3453-4151-9845-4370963b7b90
      : Header:accept-language:en-gb
      : Header:UA-CPU:x86
      : Header:accept-encoding:gzip, deflate
      : Header:user-agent:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)
      : Header:host:vula.uct.ac.za
      : Header:connection:Keep-Alive
      : Header:cookie:--censored--
      : Header:content-length:0
      : Parameters:
      : Parameter:panel:0:Main
      : Attributes:
      : Attribute:tool.url.manager:org.sakaiproject.portal.util.ToolURLManagerImpl@b96dd8f
      : Attribute:sakai.session:org.sakaiproject.tool.impl.SessionComponent$MySession@a6125b35
      : Attribute:sakai.html.head.css.base:<link href="/library/skin/tool_base.css" type="text/css" rel="stylesheet" media="all" />

      : Attribute:sakai.character.encoding.done:sakai.character.encoding.done
      : 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/default/tool.css" type="text/css" rel="stylesheet" media="all" />
      <script type="text/javascript" language="JavaScript" src="/library/js/headscripts.js"></script>

      : Attribute:sakai.html.body.onload:setMainFrameHeight('Main4611ece2x2ccax439bxb816xad66e1a866d7');setFocus(focus_path);
      : Attribute:sakai.filtered:sakai.filtered
      : Attribute:sakai.html.head.css.skin:<link href="/library/skin/default/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/default/tool.css" type="text/css" rel="stylesheet" media="all" />

      Session:
      : Created:1206514171785
      : LastAccess:1206523178579
      : MaxInactive:3600
      : Attributes:
      : Attribute:portalskin:defaultskin

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    smarquard Stephen Marquard
                    Reporter:
                    smarquard Stephen Marquard
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    1 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration