java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • If Crowd is started with a valid license which does not have a maintenance expiry date, it refuses to start and throws a NPE: {noformat} java.lang.NullPointerException @400000005163152e33f1a15c at com.atlassian.crowd.manager.license.CrowdLicenseManagerImpl.isBuildWithinMaintenancePeriod(CrowdLicenseManagerImpl.java:262) @400000005163152e33f1a544 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) @400000005163152e33f1d80c at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) @400000005163152e33f1dbf4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000005163152e33f1dfdc at java.lang.reflect.Method.invoke(Method.java:597) @400000005163152e33f1e3c4 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) @400000005163152e33f1eb94 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) @400000005163152e33f1ef7c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) @400000005163152e33f1f364 at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16) @400000005163152e33f20ad4 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) @400000005163152e33f20ebc at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) @400000005163152e33f212a4 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) @400000005163152e33f23d9c at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) @400000005163152e33f24184 at $Proxy16.isBuildWithinMaintenancePeriod(Unknown Source) @400000005163152e33f2456c at com.atlassian.crowd.console.listener.StartupListener.isLicenseValid(StartupListener.java:214) @400000005163152e33f24954 at com.atlassian.crowd.console.listener.StartupListener.contextInitialized(StartupListener.java:58) @400000005163152e33f25124 at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205) {noformat}
    via by Diego Berrueta,
    • java.lang.NullPointerException at com.atlassian.crowd.manager.license.CrowdLicenseManagerImpl.isBuildWithinMaintenancePeriod(CrowdLicenseManagerImpl.java:262) 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:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy16.isBuildWithinMaintenancePeriod(Unknown Source) at com.atlassian.crowd.console.listener.StartupListener.isLicenseValid(StartupListener.java:214) at com.atlassian.crowd.console.listener.StartupListener.contextInitialized(StartupListener.java:58) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)
    No Bugmate found.