[Building Sakai] NPE when viewing shared portfolio
Berg, Alan
A.M.Berg at uva.nl
Wed Nov 10 10:32:28 PST 2010
Hi all,
In 2.7 and 2.8 a static code sweep has/is taking place which is very good at getting sources of NPE's in the source code. If you have Eclipse and your local version, it is well worth adding the Findbugs plugin and doing your own sweep. I believe we have caught 20-30 locations and about 120-130 potential locations in the code in total, but reviewing the Jira's should give you more specific details.
Alan
Alan Berg
QA Director - The Sakai Foundation
Senior Developer / Quality Assurance
Group Education and Research Services
Central Computer Services
University of Amsterdam
http://home.uva.nl/a.m.berg
________________________________
From: sakai-dev-bounces at collab.sakaiproject.org [sakai-dev-bounces at collab.sakaiproject.org] on behalf of David McPherson [dmcphers at vt.edu]
Sent: 10 November 2010 16:14
To: Sakai Dev
Subject: [Building Sakai] NPE when viewing shared portfolio
Hi,
I've been trying to track down a NPE we are getting when someone tries to view a shared portfolio. I can't find any other Jira's about this issue and I didn't want to make a new one if there's an existing one. We're running 2.6.2 with patches applied. Our kernel is 1.0.13 with a few customizations. The problem seems to stem from when the login helper tries to get the current session and returns null. If the user is already logged in and tries to view the shared portfolio, we get a different NPE. In both cases, the user is trying to view the portfolio by clicking on a link that was in an email that was sent to them. Here is what the url looks like:
https://epdev.scholar.vt.edu/osp-presentation-tool/viewPresentation.osp?id=359A3D710BBD452B49226D190F531D3F&sakai.tool.placement.id=d64f3254-4edf-4c67-bd5b-d786289b10c2
I can give more details but any help would be appreciated.
Thanks,
Dave
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David McPherson
Assistant Director, ePortfolio Initiatives
2220A Torgersen Hall
Learning Technologies
dmcphers at vt.edu<mailto:dmcphers at vt.edu>
540-231-8993
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20101110/67cd443f/attachment.html
More information about the sakai-dev
mailing list