Environment
Novell
ZENworks 10 Configuration Management
Situation
ERROR:"java.lang.NullPointerException"
When
attempting to add a User Source Context where the server is running
eDirectory on OES2, a java.lang.NullPointerException
occurs.
Resolution
This is fixed in
version 10.0.1 - see KB 3486285 "Updates to ZENworks 10
Configuration Management" which can be found athttps://www.novell.com/support
Additional Information
This is an
extract from zcc.log:
07 Aug
2007 13:23:11 ============== Exception (begin)
===========================
07 Aug 2007 13:23:11 Exception occured
java.lang.NullPointerException
at
com.novell.zenworks.datamodel.session.jndi.ldap.LdapAuthoritativeSourceSession.get(LdapAuthoritativeSourceSession.java:617)
at
com.novell.zenworks.datamodel.services.authsources.AuthoritativeSourceServiceImpl.get(AuthoritativeSourceServiceImpl.java:187)
at
com.novell.zenworks.admin.controls.DataModelView.setCurrentFolder(DataModelView.java:230)
at
com.novell.zenworks.admin.controls.DataModelView.objectLink_MoveDown(DataModelView.java:885)
at sun.reflect.GeneratedMethodAccessor748.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.novell.web.controls.WebControl.fireEvent(WebControl.java:1975)
at
com.novell.web.controls.BasePostbackControl.fireCommand(BasePostbackControl.java:462)
at
com.novell.web.controls.ImageButton.raisePostBackEvent(ImageButton.java:237)
at com.novell.web.controls.Page.raisePostBackEvent(Page.java:862)
at com.novell.web.controls.Page.raisePostBackEvents(Page.java:849)
at com.novell.web.controls.Page.internalProcessRequest(Page.java:581)
at com.novell.web.controls.Page.processRequest(Page.java:525)
at com.novell.web.controls.PageTag.doEndTag(PageTag.java:83)
at
org.apache.jsp.jsp.core.controls.AjaxPage_jsp._jspService(AjaxPage_jsp.java:64)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:364)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at com.novell.web.NJWCServlet.serviceImpl(NJWCServlet.java:82)
at com.novell.zenworks.admin.NRMServlet.service(NRMServlet.java:176)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at
com.novell.web.controls.AjaxPostBackHandler.service(AjaxPostBackHandler.java:39)
at com.novell.web.ajax.AjaxServlet.service(AjaxServlet.java:79)
at
com.novell.zenworks.admin.ZENworksAjaxServlet.service(ZENworksAjaxServlet.java:55)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
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
com.novell.zenworks.tomcat.ZENRequestValve.invoke(ZENRequestValve.java:979)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
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:685)
at java.lang.Thread.run(Thread.java:595)
07 Aug 2007 13:23:11
===========================
07 Aug 2007 13:23:11 Exception occured
java.lang.NullPointerException
at
com.novell.zenworks.datamodel.session.jndi.ldap.LdapAuthoritativeSourceSession.get(LdapAuthoritativeSourceSession.java:617)
at
com.novell.zenworks.datamodel.services.authsources.AuthoritativeSourceServiceImpl.get(AuthoritativeSourceServiceImpl.java:187)
at
com.novell.zenworks.admin.controls.DataModelView.setCurrentFolder(DataModelView.java:230)
at
com.novell.zenworks.admin.controls.DataModelView.objectLink_MoveDown(DataModelView.java:885)
at sun.reflect.GeneratedMethodAccessor748.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.novell.web.controls.WebControl.fireEvent(WebControl.java:1975)
at
com.novell.web.controls.BasePostbackControl.fireCommand(BasePostbackControl.java:462)
at
com.novell.web.controls.ImageButton.raisePostBackEvent(ImageButton.java:237)
at com.novell.web.controls.Page.raisePostBackEvent(Page.java:862)
at com.novell.web.controls.Page.raisePostBackEvents(Page.java:849)
at com.novell.web.controls.Page.internalProcessRequest(Page.java:581)
at com.novell.web.controls.Page.processRequest(Page.java:525)
at com.novell.web.controls.PageTag.doEndTag(PageTag.java:83)
at
org.apache.jsp.jsp.core.controls.AjaxPage_jsp._jspService(AjaxPage_jsp.java:64)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:364)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at com.novell.web.NJWCServlet.serviceImpl(NJWCServlet.java:82)
at com.novell.zenworks.admin.NRMServlet.service(NRMServlet.java:176)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at
com.novell.web.controls.AjaxPostBackHandler.service(AjaxPostBackHandler.java:39)
at com.novell.web.ajax.AjaxServlet.service(AjaxServlet.java:79)
at
com.novell.zenworks.admin.ZENworksAjaxServlet.service(ZENworksAjaxServlet.java:55)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
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
com.novell.zenworks.tomcat.ZENRequestValve.invoke(ZENRequestValve.java:979)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
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:685)
at java.lang.Thread.run(Thread.java:595)
07 Aug 2007 13:23:11
Exception
Info:
07 Aug 2007 13:23:11 Class....... java.lang.NullPointerException
07 Aug 2007 13:23:11 Message..... null
07 Aug 2007 13:23:11 Logged at... Messages............312
07 Aug 2007 13:23:11 Class....... java.lang.NullPointerException
07 Aug 2007 13:23:11 Message..... null
07 Aug 2007 13:23:11 Logged at... Messages............312