[Building Sakai] Gradebook random behaviour issue

Wagner, Michelle R. wagnermr at iupui.edu
Fri Apr 24 04:59:36 PDT 2009


Hi Gopal,
I have seen this exception when you have the gradebook tool in your site, but the corresponding data for that gradebook does not exist in the database.  So, for instance, the following query would return no results (enter your site id as the param):
select * from GB_GRADEBOOK_T where GRADEBOOK_UID = :siteId

For example, this occurs on my development instance when I drop my gradebook data and then go to a site that I had previously added the gradebook tool to.  In this scenario, it is fixed by removing the gradebook tool from your site and then re-adding it via Site Info.  I'm not sure if this your problem, but maybe it can help you rule something out!

Have a great day,
Michelle


On 4/24/09 2:59 AM, "Gopal Patil" <patil.gopal.a at gmail.com> wrote:

Hello All,
When I use grade book tool from existing murcury site it works fine.
But when i adds gradebook in my own site then if i click on it then it throughs following exception why its is so??
could any one please help me.

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
RROR: Request made for inaccessible gradebookUid=citationsAdmin (2009-04-24 12:22:53,171 http-8080-Processor25_org.sakaiproje
t.tool.gradebook.ui.GradebookBean)
RROR: Servlet.service() for servlet jsp threw exception (2009-04-24 12:22:58,093 http-8080-Processor25_org.apache.catalina.co <http://http-8080-Processor25_org.apache.catalina.co>
e.ContainerBase.[Catalina].[localhost].[/sakai-gradebook-tool].[jsp])
avax.servlet.jsp.el.ELException: An error occurred while getting property "userAbleToEditAssessments" from an instance of cla
s org.sakaiproject.tool.gradebook.ui.OverviewBean
       at org.apache.commons.el.Logger.logError(Logger.java:484)
       at org.apache.commons.el.Logger.logError(Logger.java:588)
       at org.apache.commons.el.ArraySuffix.evaluate(ArraySuffix.java:318)
       at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
       at org.apache.commons.el.BinaryOperatorExpression.evaluate(BinaryOperatorExpression.java:166).
.
.
.
.
       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:619)
RROR: Servlet.service() for servlet Faces Servlet threw exception (2009-04-24 12:23:02,343 http-8080-Processor25_org.apache.c
talina.core.ContainerBase.[Catalina].[localhost].[/sakai-gradebook-tool].[Faces Servlet])
avax.servlet.jsp.el.ELException: An error occurred while getting property "userAbleToEditAssessments" from an instance of cla
s org.sakaiproject.tool.gradebook.ui.OverviewBean
       at org.apache.commons.el.Logger.logError(Logger.java:484)
       at org.apache.commons.el.Logger.logError(Logger.java:588)
       at org.apache.commons.el.ArraySuffix.evaluate(ArraySuffix.java:318)
.
.
.
       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
       at java.lang.Thread.run(Thread.java:619)
ARN: Bug Report user: admin usage-session: f6446dae-dba2-40df-bcdd-ec4193063b1f time: Apr 24, 2009 12:23:10 user comment: nul
 stack trace
rg.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: Cannot get value for expression '
{bean.pageName ne 'gradebookSetup' && bean.userAbleToEditAssessments}'
   at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:891)
aused by: org.sakaiproject.tool.api.ToolException: Cannot get value for expression '#{bean.pageName ne 'gradebookSetup' && be
n.userAbleToEditAssessments}'
   at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1346)
aused by: javax.servlet.ServletException: Cannot get value for expression '#{bean.pageName ne 'gradebookSetup' && bean.userAb
eToEditAssessments}'
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
aused by: javax.faces.FacesException: Cannot get value for expression '#{bean.pageName ne 'gradebookSetup' && bean.userAbleTo
ditAssessments}'
   at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:211)
aused by: org.apache.jasper.JasperException: Cannot get value for expression '#{bean.pageName ne 'gradebookSetup' && bean.use
AbleToEditAssessments}'
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
aused by: javax.faces.el.EvaluationException: Cannot get value for expression '#{bean.pageName ne 'gradebookSetup' && bean.us <http://bean.us>
rAbleToEditAssessments}'
   at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:1078)
aused by: javax.servlet.jsp.el.ELException: An error occurred while getting property "userAbleToEditAssessments" from an inst
nce of class org.sakaiproject.tool.gradebook.ui.OverviewBean
   at org.apache.commons.el.Logger.logError(Logger.java:484)
.
.
.
.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------




Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090424/ce87b82b/attachment.html 


More information about the sakai-dev mailing list