[Building Sakai] Assignments | Grade | Grade blows up

Zhen Qian zqian at umich.edu
Tue Sep 13 07:15:10 PDT 2011


Jon:

Could you please attach the whole stack trace here? Especially the lines after "caused by: java.lang.NullPointerException".

Thanks,

- Zhen
On Sep 13, 2011, at 9:56 AM, Wheat, Jon wrote:

> Hey guys,
> I have an instructor attempting to grade an assignment.  Assignments | Grade (under the assignment) | Grade (under a student) - and gets "the error" screen.
> When I as admin go in – it works fine.
> When I become that instructor I get the error.  There are two instructors in this course, and happens with both of them.
> 
> This is the full error from catalina.out -
> 
> 
> 2011-09-13 09:49:09,345  WARN http-443-Processor253 org.sakaiproject.authz.impl.DbAuthzGroupService - isAllowed(): called with no realms: lock: asn.read user: 4008ff50-dd0d-4d0c-aa3a-fb95dade1d04
> 2011-09-13 09:49:09,412 ERROR http-443-Processor253 org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/sakai-assignment-tool].[sakai.assignment.grades] - Servlet.service() for servlet sakai.assignment.grades threw exception
> java.lang.NullPointerException
> 2011-09-13 09:49:09,417  WARN http-443-Processor253 org.sakaiproject.portal.util.ErrorReporter - Bug Report bug-id: 7218b6f4-0cb0-4c15-9b20-8e65c60558ff user: 4008ff50-dd0d-4d0c-aa3a-fb95dade1d04 usage-session: e6734b79-80a7-4928-b693-2b0047ef77db time: Sep 13, 2011 09:49:09 user comment: null stack trace
> org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException
>     at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:768)
> caused by: org.sakaiproject.tool.api.ToolException
>     at org.sakaiproject.cheftool.ToolServlet.doGet(ToolServlet.java:236)
> caused by: java.lang.reflect.InvocationTargetException
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> caused by: java.lang.NullPointerException
> 
> Tool Placement:
> No Placement
> 
> Request:
> :    AuthType:null
> :    CharEncoding:UTF-8
> :    ContentLength:-1
> :    ContentType:null
> :    ContextPath:/portal
> :    LocalAddress:153.42.16.194
> :    LocalName:153.42.16.194
> :    LocalPort:443
> :    Method:GET
> :    PathInfo:/tool/6f7fa5eb-c9bc-4dc0-8f0b-355f18320e26
> :    Protocol:HTTP/1.1
> :    QueryString:panel=Main
> :    RemoteAddress:153.42.49.217
> :    RemoteHost:153.42.49.217
> :    RemotePort:57684
> :    Requested URL:https://sakai.messiah.edu/portal/tool/6f7fa5eb-c9bc-4dc0-8f0b-355f18320e26
> :    Scheme:https
> :    ServerName:sakai.messiah.edu
> :    Headers:
> :        Header:host:sakai.messiah.edu
> :        Header:user-agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0) Gecko/20100101 Firefox/6.0
> :        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:connection:keep-alive
> :        Header:referer:https://sakai.messiah.edu/portal/tool/6f7fa5eb-c9bc-4dc0-8f0b-355f18320e26?panel=Main
> :        Header:cookie:---censored---
> :    Parameters:
> :        Parameter:panel:0:Main
> :    Attributes:
> :        Attribute:sakai.character.encoding.done:sakai.character.encoding.done
> :        Attribute:tool.url.manager:org.sakaiproject.portal.util.ToolURLManagerImpl at 1d71332
> :        Attribute:sakai.html.body.onload:setMainFrameHeight('Main6f7fa5ebxc9bcx4dc0x8f0bx355f18320e26');setFocus(focus_path);
> :        Attribute:javax.servlet.request.key_size:128
> :        Attribute:sakai.filtered:sakai.filtered
> :        Attribute:sakai.html.head.css:<link href="/library/skin/tool_base.css" type="text/css" rel="stylesheet" media="all" />
> <link href="/library/skin/vision/tool.css" type="text/css" rel="stylesheet" media="all" />
> 
> :        Attribute:sakai.session:org.sakaiproject.tool.impl.MySession at 71f2d769
> :        Attribute:javax.servlet.request.ssl_session:4e6f59a5d6740bb5f9624ece8c66ad18b754193051955533b3a0e4d970353daa
> :        Attribute:sakai.html.head.css.skin:<link href="/library/skin/vision/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.html.head:<link href="/library/skin/tool_base.css" type="text/css" rel="stylesheet" media="all" />
> <link href="/library/skin/vision/tool.css" type="text/css" rel="stylesheet" media="all" />
> <script type="text/javascript" language="JavaScript" src="/library/js/headscripts.js"></script>
> 
> :        Attribute:javax.servlet.request.cipher_suite:TLS_DHE_RSA_WITH_AES_128_CBC_SHA
> :        Attribute:sakai.html.head.css.base:<link href="/library/skin/tool_base.css" type="text/css" rel="stylesheet" media="all" />
> 
> Session:
> :    Created:1315921433854
> :    LastAccess:1315921749415
> :    MaxInactive:7200
> :    Attributes:
> :        Attribute:portalskin:defaultskin
> 
> 2011-09-13 09:49:09,417  WARN http-443-Processor253 org.sakaiproject.email.impl.BasicEmailService - send: javax.mail.internet.AddressException: Illegal address in string ``''
> 
> _______________________________________________
> 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/20110913/9973e991/attachment.html 


More information about the sakai-dev mailing list