Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by sandeepm, 1 year ago
via Atlassian JIRA by sandeepm, 2 years ago
java.lang.NullPointerException: 	at com.atlassian.crowd.integration.directory.connector.LDAPPropertiesMapper.getSingleAttribute(LDAPPropertiesMapper.java:297)	at com.atlassian.crowd.integration.directory.connector.LDAPPropertiesMapper.getUsername(LDAPPropertiesMapper.java:363)	at com.atlassian.crowd.integration.directory.connector.SpringLDAPConnector.setAttributes(SpringLDAPConnector.java:116)	at com.atlassian.crowd.model.directory.DirectoryInstanceLoader.getDirectory(DirectoryInstanceLoader.java:42)	at com.atlassian.crowd.model.directory.Directory.getImplementation(Directory.java:80)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:517)	at ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:931)	at ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:53)	at ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:121)	at com.opensymphony.xwork.util.OgnlValueStack$ObjectAccessor.getProperty(OgnlValueStack.java:57)	at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1643)	at ognl.ASTProperty.getValueBody(ASTProperty.java:92)	at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)	at ognl.SimpleNode.getValue(SimpleNode.java:210)	at ognl.ASTChain.getValueBody(ASTChain.java:109)	at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)	at ognl.SimpleNode.getValue(SimpleNode.java:210)	at ognl.Ognl.getValue(Ognl.java:333)	at com.opensymphony.xwork.util.OgnlUtil.getValue(OgnlUtil.java:196)	at com.opensymphony.xwork.util.OgnlValueStack.findValue(OgnlValueStack.java:258)	at com.opensymphony.webwork.components.Property.start(Property.java:131)	at com.opensymphony.webwork.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:34)	at org.apache.jsp.console.secure.directory.view_005fconnector_jsp._jspx_meth_ww_005fproperty_005f14(view_005fconnector_jsp.java:1438)	at org.apache.jsp.console.secure.directory.view_005fconnector_jsp._jspx_meth_ww_005fparam_005f7(view_005fconnector_jsp.java:1408)	at org.apache.jsp.console.secure.directory.view_005fconnector_jsp._jspx_meth_ww_005finclude_005f0(view_005fconnector_jsp.java:1347)	at org.apache.jsp.console.secure.directory.view_005fconnector_jsp._jspService(view_005fconnector_jsp.java:260)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:189)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:687)	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.opensymphony.webwork.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:114)	at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:143)	at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:313)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:208)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)	at com.atlassian.crowd.console.interceptor.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:111)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)	at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)	at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:273)	at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)	at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.atlassian.crowd.integration.http.VerifyTokenFilter.doFilter(VerifyTokenFilter.java:152)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:55)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:33)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)