[Deploying Sakai] Add participant throws exception

Norman Danner ndanner at wesleyan.edu
Wed Sep 2 17:02:35 PDT 2009


I've recently installed the Sakai 2.6 binary distribution.  On my Mac,
everything seems to work fine.  But when I install on a linux system,
I have problems.  Specifically, I can log in as admin and create a new
Project worksite without problems.  However, when I navigate to the new
worksite, select Site Info, and then "Add participants," I get a
NullPointerException; the error messages as reported in catalina.out
are below.  Since I don't have this problem on my Mac, I suspect this
is not a bug, but rather a problem with my configuration.  If anyone
has any ideas (or if I should be sending this to a different list),
I'd be grateful to hear them.

Platform:

OS: Linux (I have this problem on a RedHat Enterprise Linux 5 system and
     on a Debian unstable, both of which are up-to-date).
Java:  1.5.0_19.
Tomcat:  5.5.28.

JAVA_OPTS=-server -XX:+UseParallelGC -Xmx1024m -XX:MaxNewSize=256m - 
XX:MaxPermSize=256m -Dsakai.home=/opt/sakai-2.6/sakai - 
Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false

BTW, I get the same errors when I do this in the supplied mercury  
worksite.
Here are the error lines from catalina.out:

Sep 2, 2009 6:52:36 PM org.sakaiproject.portal.util.ErrorReporter  
logAndMail
WARNING: Bug Report bug-id: fb64065f-5951-443f-8914-f7c8b28b4827 user:  
admin usage-session: 0e12b9ba-c6e9-4038-bd54-2fefa1c7f949 time: Sep 2,  
2009 18:52:36 user comment: null stack trace
org.sakaiproject.portal.api.PortalHandlerException:  
java.lang.NullPointerException
     at  
org 
.sakaiproject 
.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java: 
768)
caused by: java.lang.NullPointerException
     at org.sakaiproject.tool.impl.ActiveToolComponent 
$MyActiveTool.help(ActiveToolComponent.java:545)
     at  
org.sakaiproject.cheftool.ToolServlet.sendToHelper(ToolServlet.java:652)
     at org.sakaiproject.cheftool.ToolServlet.doGet(ToolServlet.java: 
212)
     at  
org 
.sakaiproject 
.cheftool 
.VelocityPortletPaneledAction.doGet(VelocityPortletPaneledAction.java: 
1014)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
     at  
org.sakaiproject.vm.ComponentServlet.service(ComponentServlet.java:56)
     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:565)
     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:364)
     at  
org 
.apache 
.catalina 
.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
     at org.sakaiproject.tool.impl.ActiveToolComponent 
$MyActiveTool.forward(ActiveToolComponent.java:475)
     at  
org 
.sakaiproject 
.portal 
.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java: 
1216)
     at  
org 
.sakaiproject 
.portal.charon.handlers.ToolHandler.doTool(ToolHandler.java:188)
     at  
org 
.sakaiproject 
.portal.charon.handlers.ToolHandler.doGet(ToolHandler.java:93)
     at  
org 
.sakaiproject 
.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java: 
768)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
     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:616)
     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: 
873)
     at org.apache.coyote.http11.Http11BaseProtocol 
$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
     at  
org 
.apache 
.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
     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:595)

Tool Placement:
No Placement

Request:
:    AuthType:null
:    CharEncoding:UTF-8
:    ContentLength:-1
:    ContentType:null
:    ContextPath:/portal
:    LocalAddress:129.133.8.19
:    LocalName:129.133.8.19
:    LocalPort:1707
:    Method:GET
:    PathInfo:/tool/mercury-1010/sakai-site-manage-participant- 
helper.helper
:    Protocol:HTTP/1.1
:    QueryString:null
:    RemoteAddress:69.182.189.174
:    RemoteHost:69.182.189.174
:    RemotePort:49441
:    Requested URL:http://kurtz.cs.wesleyan.edu:1707/portal/tool/mercury-1010/sakai-site-manage-participant-helper.helper
:    Scheme:http
:    ServerName:kurtz.cs.wesleyan.edu
:    Headers:
:        Header:host:kurtz.cs.wesleyan.edu:1707
:        Header:user-agent:Mozilla/5.0 (Macintosh; U; PPC Mac OS X  
Mach-O; en; rv:1.8.1.23) Gecko/20090815 Camino/1.6.9 (like Firefox/ 
2.0.0.23)
:        Header:accept:text/xml,application/xml,application/xhtml 
+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
:        Header:accept-language:en- 
US 
,en 
;q 
= 
0.9 
,ja;q=0.8,fr;q=0.7,de;q=0.6,es;q=0.5,it;q=0.4,nl;q=0.3,sv;q=0.2,nb;q=0.1
:        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:referer:http://kurtz.cs.wesleyan.edu:1707/portal/tool/mercury-1010?panel=Main
:        Header:cookie:---censored---
:    Parameters:
:    Attributes:
:         
Attribute:tool 
.url.manager:org.sakaiproject.portal.util.ToolURLManagerImpl at 1905345
:         
Attribute:sakai.session:org.sakaiproject.tool.impl.SessionComponent 
$MySession at ab8f03d2
:        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('Mainmercuryx1010');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:1251931739778
:    LastAccess:1251931956994
:    MaxInactive:3600
:    Attributes:
:        Attribute:portalskin:defaultskin

Sep 2, 2009 6:52:36 PM org.sakaiproject.email.impl.BasicEmailService  
send
WARNING: send: javax.mail.internet.AddressException: Illegal address  
in string ``''
Sep 2, 2009 6:53:25 PM org.sakaiproject.email.impl.BaseDigestService  
sendDigests
INFO: Preparing to send the mail digests for  
20090902040000000]20090903040000000

-- 
Norman Danner                                       ndanner at wesleyan.edu
Assoc. Prof. of Computer Science         http://ndanner.web.wesleyan.edu
Dep't of Mathematics and Computer Science
Wesleyan University



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1637 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/production/attachments/20090902/52aa0f90/attachment.bin 


More information about the production mailing list