Sakai
  1. Sakai
  2. SAK-19201

NPE thrown on first use of Evaluations tool

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.7.3 [tentative]
    • Component/s: OSP: Other
    • Labels:
      None
    • Environment:
      Demo 2.8.x
    • Previous Issue Keys:

      Description

      The first time you start up a fresh Sakai Demo.
      Create a user
      Add a course site as that user including Evaluations
      Click on the Evaluation link then a bug report is shown over an NPE.

      Pressing the tool reset button then the tool works.
      If I was to guess, this feels like a lazy init issue.

      Log:

      2010-09-22 13:25:16,721 ERROR http-8080-Processor20 org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/osp-matrix-tool].[osp.evaluation] - Servlet.service() for servlet osp.evaluation threw exception
      java.lang.NullPointerException
      2010-09-22 13:25:16,747 WARN http-8080-Processor20 org.sakaiproject.portal.util.ErrorReporter - Bug Report bug-id: 1972b03b-b763-4824-85b2-9286cfbcc3ea user: 9950ee64-0447-4429-96cb-afc31afc4fcd usage-session: 374c2c45-8171-40a2-a8dd-ebf181478e5c time: Sep 22, 2010 13:25:16 user comment: null stack trace
      org.sakaiproject.portal.api.PortalHandlerException: java.lang.NullPointerException
          at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:841)
      caused by: java.lang.NullPointerException

      Tool Placement:
      No Placement

      Request:
      : AuthType:null
      : CharEncoding:UTF-8
      : ContentLength:-1
      : ContentType:null
      : ContextPath:/portal
      : LocalAddress:0:0:0:0:0:0:0:1
      : LocalName:0:0:0:0:0:0:0:1
      : LocalPort:8080
      : Method:GET
      : PathInfo:/tool/1df3df2b-651f-4760-8dc9-302cb0ba7949
      : Protocol:HTTP/1.1
      : QueryString:panel=Main
      : RemoteAddress:0:0:0:0:0:0:0:1
      : RemoteHost:0:0:0:0:0:0:0:1
      : RemotePort:45974
      : Requested URL:http://localhost:8080/portal/tool/1df3df2b-651f-4760-8dc9-302cb0ba7949
      : Scheme:http
      : ServerName:localhost
      : Headers:
      : Header:host:localhost:8080
      : Header:user-agent:Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10) Gecko/20100915 Ubuntu/10.04 (lucid) Firefox/3.6.10
      : Header:accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
      : Header:accept-language:en-us,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:115
      : Header:connection:keep-alive
      : Header:referer:http://localhost:8080/portal/site/3bb25351-1379-4f60-88a5-4b174d52c07d/page/b0c0168e-7c84-4feb-9271-b7d9c6ea0b0a
      : Header:cookie:---censored---
      : Parameters:
      : Parameter:panel:0:Main
      : Attributes:
      : Attribute:sakai.html.head.css.skin:<link href="/library/skin/default/tool.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.character.encoding.done:sakai.character.encoding.done
      : Attribute:tool.url.manager:org.sakaiproject.portal.util.ToolURLManagerImpl@1d8c9ab
      : Attribute:sakai.html.body.onload:setMainFrameHeight('Main1df3df2bx651fx4760x8dc9x302cb0ba7949');setFocus(focus_path);
      : 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.filtered:sakai.filtered
      : Attribute:sakai.html.head.css.base:<link href="/library/skin/tool_base.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" />

      : Attribute:sakai.session:org.sakaiproject.tool.impl.MySession@f22e69e
      Session:
      : Created:1285154304550
      : LastAccess:1285154716742
      : MaxInactive:3600
      : Attributes:
      : Attribute:portalskin:defaultskin

        Activity

        Hide
        Alan Berg added a comment -
        I have seen the same pattern for the Matrices tool.
        Show
        Alan Berg added a comment - I have seen the same pattern for the Matrices tool.
        David Horwitz made changes -
        Field Original Value New Value
        Fix Version/s 2.8.0-a02 [tentative] [ 11977 ]
        Fix Version/s 2.8.0-a01 [ 11671 ]
        Anthony Whyte made changes -
        Fix Version/s 2.8.0-a03 [ 12062 ]
        Fix Version/s 2.8.0-a02 [ 11977 ]
        Anthony Whyte made changes -
        Fix Version/s 2.8.0-a04 [ 12087 ]
        Fix Version/s 2.8.0-a03 [ 12062 ]
        Anthony Whyte made changes -
        Fix Version/s 2.8.0-b01 [ 12134 ]
        Fix Version/s 2.8.0-a04 [ 12087 ]
        Anthony Whyte made changes -
        Fix Version/s 2.8.0-b02 [ 12164 ]
        Fix Version/s 2.8.0-b01 [ 12134 ]
        Hide
        Alan Berg added a comment -
        This is an inconsistent issue that is difficult to reproduce. It feels like a race condition.
        Show
        Alan Berg added a comment - This is an inconsistent issue that is difficult to reproduce. It feels like a race condition.
        Anthony Whyte made changes -
        Fix Version/s 2.8.0-b03 [ 12191 ]
        Fix Version/s 2.8.0-b02 [ 12164 ]
        Hide
        Chris Maurer added a comment -
        OSP team discussed and we are downgrading to Minor.
        Show
        Chris Maurer added a comment - OSP team discussed and we are downgrading to Minor.
        Chris Maurer made changes -
        Priority Critical [ 2 ] Minor [ 4 ]
        Anthony Whyte made changes -
        Fix Version/s 2.8.0-b04 [ 12230 ]
        Fix Version/s 2.8.0-b03 [ 12191 ]
        Anthony Whyte made changes -
        Fix Version/s 2.8.0-rc01 [ 12251 ]
        Fix Version/s 2.8.0-b04 [ 12230 ]
        Anthony Whyte made changes -
        Fix Version/s 2.8.0-rc01 [ 12277 ]
        Fix Version/s 2.8.0-b05 [ 12251 ]
        Anthony Whyte made changes -
        Fix Version/s 2.8.0-rc02 [ 12297 ]
        Fix Version/s 2.8.0-rc01 [ 12277 ]
        Anthony Whyte made changes -
        Fix Version/s 2.8.1 [ 12264 ]
        Fix Version/s 2.8.0-rc02 [ 12297 ]
        Jean-François Lévêque made changes -
        Affects Version/s 2.8.0 [ 12277 ]
        Affects Version/s 2.8.x [ 11978 ]
        Anthony Whyte made changes -
        Fix Version/s 2.7.3 [tentative] [ 12472 ]
        Fix Version/s 2.8.1 [ 12264 ]
        Aaron Zeckoski made changes -
        Workflow jira [ 62325 ] Sakai CLE workflow [ 87891 ]

          People

          • Assignee:
            OSP Jira Team
            Reporter:
            Alan Berg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: