java.lang.RuntimeException

java.lang.NullPointerException

Solutions on the web11663

  • via Terracotta by acs, 1 year ago
    java.lang.NullPointerException
  • via Coderanch by Andrew Cane, 7 months ago
    java.lang.NullPointerException
  • via Coderanch by Michael Battersby, 7 months ago
    java.lang.NullPointerException
  • Stack trace

    • java.lang.RuntimeException: java.lang.NullPointerException at com.atlassian.studio.common.util.Functions.attempt(Functions.java:50) at com.atlassian.studio.jira.license.StudioLicenseUserUtilImpl.getAllUsers(StudioLicenseUserUtilImpl.java:489) at sun.reflect.GeneratedMethodAccessor1914.invoke(Unknown Source) 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:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy705.getAllUsers(Unknown Source) at com.atlassian.agmp.openid.users.mgmt.jira.UserServiceImpl.getAllUsernames(UserServiceImpl.java:106) at com.atlassian.agmp.integration.jira.poller.impl.UserSynchronizerImpl.process(UserSynchronizerImpl.java:57) at com.atlassian.agmp.integration.jira.poller.impl.UserSynchronizerImpl.process(UserSynchronizerImpl.java:47) at com.atlassian.agmp.integration.jira.poller.impl.SyncJobImpl.process(SyncJobImpl.java:177) at com.atlassian.agmp.integration.jira.poller.impl.SyncJobImpl.run(SyncJobImpl.java:117) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NullPointerException at com.opensymphony.user.User.<init>(User.java:52) at com.opensymphony.user.UserManager$Type$1.create(UserManager.java:47) at com.opensymphony.user.UserManager$Type$1.create(UserManager.java:45) at com.opensymphony.user.UserManager.buildEntity(UserManager.java:295) at com.opensymphony.user.UserManager.getEntities(UserManager.java:248) at com.opensymphony.user.UserManager.getUsers(UserManager.java:165) at com.atlassian.jira.user.util.DefaultUserManager.getAllUsers(DefaultUserManager.java:68) at sun.reflect.GeneratedMethodAccessor1432.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.jira.ProxyAdapter$ProxiedComponentInvocationHandler.invoke(ProxyAdapter.java:167) at $Proxy91.getAllUsers(Unknown Source) at sun.reflect.GeneratedMethodAccessor1432.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at $Proxy366.getAllUsers(Unknown Source) at sun.reflect.GeneratedMethodAccessor1432.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:150) at $Proxy366.getAllUsers(Unknown Source) at com.atlassian.jira.user.util.UserUtilImpl.getAllUsers(UserUtilImpl.java:522) at com.atlassian.studio.jira.license.StudioLicenseUserUtilImpl.doGetAllUsers(StudioLicenseUserUtilImpl.java:483) at com.atlassian.studio.jira.license.StudioLicenseUserUtilImpl.access$000(StudioLicenseUserUtilImpl.java:56) at com.atlassian.studio.jira.license.StudioLicenseUserUtilImpl$1.get(StudioLicenseUserUtilImpl.java:493) at com.atlassian.studio.jira.license.StudioLicenseUserUtilImpl$1.get(StudioLicenseUserUtilImpl.java:490) at com.atlassian.studio.common.util.Functions.attempt(Functions.java:39) ... 34 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.