[Building Sakai] sakai grade book exception

Ismail Naik ismail.n at in.uaeexchange.com
Wed Sep 10 22:54:26 PDT 2014


Greetings Sam,

 

Attached custom JLDAP code.

 

We observed one more point

 

1.       We couldn’t see the participants list for the site when trying to edit the site details and can’t able to change the role of the users.

 

We are getting exception when trying to access grade book with “admin” role the same is working fine if we login with “access” role.

 

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

 

From: Sam Ottenhoff [mailto:ottenhoff at longsight.com] 
Sent: 10 September 2014 19:08
To: Ismail Naik
Cc: Developers Sakai-Dev; arunkumar.vr at in.uaeexchange.com
Subject: Re: [Building Sakai] sakai grade book exception

 

Please share your custom JLDAP code.

 

On Wed, Sep 10, 2014 at 4:11 AM, Ismail Naik <ismail.n at in.uaeexchange.com> wrote:

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(SkinnableCharonPortal.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(SkinnableCharonPortal.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(ApplicationFilterChain.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(JspViewHandlerImpl.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:470)

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

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

caused by: java.lang.NullPointerException

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

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

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

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

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

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

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

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

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

    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(AopUtils.java:307)

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

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

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

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

    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.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(InitializableBean.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_jsp.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. 


_______________________________________________
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/20140911/16c3b7d0/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: JLDAPDirectoryProvider.java
Type: application/octet-stream
Size: 32302 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140911/16c3b7d0/attachment.obj 


More information about the sakai-dev mailing list