[Building Sakai] sakai grade book exception

Ismail Naik ismail.n at in.uaeexchange.com
Wed Sep 10 01:11:16 PDT 2014


Greetings Team,

 

We are using sakai 2.9.3 and we had customized
(sakai-jldap-provider-2.9.3.jar )the code for ldap integration, till now
everything is fine,  users can able to login with their AD details. But we
got below exception when trying to access grade book with admin role the
same if we login with access role.

 

Whether this is LDAP problem or application problem, any assistance is
highly appreciable.

 

Find below the log:

 

 

Technical Details

This information will automatically be included in your bug report.

 

org.sakaiproject.portal.api.PortalHandlerException:
org.sakaiproject.tool.api.ToolException: javax.servlet.ServletException: An
exception occurred processing JSP page /overview.jsp at line 12

 

9:                            <%@ include file="/inc/appMenu.jspf"%>

10:            </t:aliasBean>

11: 

12:            <sakai:flowState bean="#{overviewBean}" />

13: 

14:                          <h2><h:outputText
value="#{msgs.appmenu_overview}"/></h2>

15: 

 

 

Stacktrace:

    at
org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPo
rtal.java:894)

caused by: org.sakaiproject.tool.api.ToolException:
javax.servlet.ServletException: An exception occurred processing JSP page
/overview.jsp at line 12

 

9:                            <%@ include file="/inc/appMenu.jspf"%>

10:            </t:aliasBean>

11: 

12:            <sakai:flowState bean="#{overviewBean}" />

13: 

14:                          <h2><h:outputText
value="#{msgs.appmenu_overview}"/></h2>

15: 

 

 

Stacktrace:

    at
org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCh
aronPortal.java:1483)

caused by: javax.servlet.ServletException: An exception occurred processing
JSP page /overview.jsp at line 12

 

9:                            <%@ include file="/inc/appMenu.jspf"%>

10:            </t:aliasBean>

11: 

12:            <sakai:flowState bean="#{overviewBean}" />

13: 

14:                          <h2><h:outputText
value="#{msgs.appmenu_overview}"/></h2>

15: 

 

 

Stacktrace:

    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:305)

caused by: javax.faces.FacesException: An exception occurred processing JSP
page /overview.jsp at line 12

 

9:                            <%@ include file="/inc/appMenu.jspf"%>

10:            </t:aliasBean>

11: 

12:            <sakai:flowState bean="#{overviewBean}" />

13: 

14:                          <h2><h:outputText
value="#{msgs.appmenu_overview}"/></h2>

15: 

 

 

Stacktrace:

    at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHand
lerImpl.java:211)

caused by: org.apache.jasper.JasperException: An exception occurred
processing JSP page /overview.jsp at line 12

 

9:                            <%@ include file="/inc/appMenu.jspf"%>

10:            </t:aliasBean>

11: 

12:            <sakai:flowState bean="#{overviewBean}" />

13: 

14:                          <h2><h:outputText
value="#{msgs.appmenu_overview}"/></h2>

15: 

 

 

Stacktrace:

    at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:4
70)

caused by: java.lang.RuntimeException: getUsers(): RuntimeException during
search eid = ally.antony]

    at
org.sakaiproject.user.impl.DbUserService$DbStorage.getUsersByIds(DbUserServi
ce.java:710)

caused by: java.lang.NullPointerException

    at
edu.amc.sakai.user.JLDAPDirectoryProvider.getCachedUserEntry(JLDAPDirectoryP
rovider.java:1228)

    at
edu.amc.sakai.user.JLDAPDirectoryProvider.getUsers(JLDAPDirectoryProvider.ja
va:665)

    at
org.sakaiproject.user.impl.DbUserService$DbStorage.getUsersByIds(DbUserServi
ce.java:710)

    at
org.sakaiproject.user.impl.BaseUserDirectoryService.getUsers(BaseUserDirecto
ryService.java:788)

    at
org.sakaiproject.authz.impl.SakaiSecurity.unlockUsers(SakaiSecurity.java:348
)

    at
org.sakaiproject.component.section.sakai.SectionAwarenessImpl.getSiteEnrollm
ents(SectionAwarenessImpl.java:177)

    at
org.sakaiproject.component.section.sakai.SectionAwarenessImpl.getSiteMembers
InRole(SectionAwarenessImpl.java:145)

    at
org.sakaiproject.component.gradebook.BaseHibernateManager.getAllStudentUids(
BaseHibernateManager.java:154)

    at
org.sakaiproject.tool.gradebook.business.impl.GradebookManagerHibernateImpl.
getAssignmentsAndCourseGradeWithStats(GradebookManagerHibernateImpl.java:152
5)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57
)

    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:43)

    at java.lang.reflect.Method.invoke(Method.java:616)

    at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopU
tils.java:307)

    at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(ReflectiveMethodInvocation.java:182)

    at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:149)

    at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(Tr
ansactionInterceptor.java:106)

    at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)

    at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
xy.java:204)

    at $Proxy108.getAssignmentsAndCourseGradeWithStats(null:-1)

    at
org.sakaiproject.tool.gradebook.ui.OverviewBean.init(OverviewBean.java:201)

    at
org.sakaiproject.tool.gradebook.ui.InitializableBean.startRenderResponse(Ini
tializableBean.java:69)

    at
org.sakaiproject.jsf.component.FlowState.encodeBegin(FlowState.java:131)

    at
javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:467)

    at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:320)

    at
org.apache.jsp.overview_jsp._jspx_meth_sakai_005fflowState_005f0(overview_js
p.java:1450)

Thanks & Regards

Ismail N. - IT Department

Xm Software Solutions Pvt Ltd | SKCL | CENTRAL SQUARE- 1

CIPET Road | Thiru-Vi-Ka  Industrial  Estate| Guindy | Chennai- 600032.

TEL: 044-30464899 | FAX: 044-30464861| 

Ext:613

 <mailto:ismail.n at in.uaeexchange.com> ismail.n at in.uaeexchange.com

 


Disclaimer: This communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance upon the information is strictly prohibited and is unlawful. If you have received this communication by error, please notify us immediately by responding to this email before deleting it from your system. UAE Exchange cannot be held responsible for the improper or incomplete transmission of information contained in this communication, or for any delay in its receipt. 

Warning: Internet communication cannot be guaranteed to be timely, secure, error-free or virus-free. It is the responsibility of the recipient to ensure that this email and its attachments, if any, are free from viruses. UAE Exchange doesn't accept liability for any damage that may result from viruses transmitted through this email.

Please be informed that as  per UAE Exchange Information Security policy, we will never request you to disclose your Account Number, Credit Card Information, User ID, Personal Identification Number (PIN), Telephone Identification Number (TIN), Password or any such information through e-mails or phone.

Any e-mail or written communication received by you, which appears to have been sent from UAE Exchange seeking your personal & confidential information, should not be answered but advised to UAE Exchange at info.sec at uaeexchange.com

For further assistance email us at info.sec at uaeexchange.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140910/3af9ab19/attachment.html 


More information about the sakai-dev mailing list