com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException

Atlassian JIRA | Jeff Skjonsby | 3 years ago
  1. 0

    When attempting to make a user repository public we're seeing this exception: {noformat} 2014-02-28 11:40:06,766 WARN [http-bio-7990-exec-1029] agatlab 700x34187x0 rt3fvr 172.19.154.74,127.0.0.1 "GET /projects/~agatlab/repos/file-cleanup/permissions HTTP/1.1" c.s.s.g.manager.ContributorsManager Repository access detected: file-cleanup 2014-02-28 11:40:06,766 WARN [http-bio-7990-exec-1029] agatlab 700x34187x0 rt3fvr 172.19.154.74,127.0.0.1 "GET /projects/~agatlab/repos/file-cleanup/permissions HTTP/1.1" c.s.s.g.manager.ContributorsManager Repository access detected: file-cleanup 2014-02-28 11:40:06,768 WARN [http-bio-7990-exec-1029] agatlab 700x34187x0 rt3fvr 172.19.154.74,127.0.0.1 "GET /projects/~agatlab/repos/file-cleanup/permissions HTTP/1.1" c.s.s.g.manager.ContributorsManager Repository access detected: file-cleanup 2014-02-28 11:40:06,789 ERROR [http-bio-7990-exec-1029] agatlab 700x34187x0 rt3fvr 172.19.154.74,127.0.0.1 "GET /projects/~agatlab/repos/file-cleanup/permissions HTTP/1.1" c.a.p.web.DefaultWebInterfaceManager Could not evaluate condition 'com.atlassian.stash.web.conditions.HasFormFragments@be76b96' for descriptor: com.atlassian.stash.stash-server-web-fragments:repository-settings-pull-requests (null) java.lang.NullPointerException: null 2014-02-28 11:40:07,198 ERROR [http-bio-7990-exec-1027] agatlab 700x34200x0 rt3fvr 172.19.154.74,127.0.0.1 "GET /users/agatlab/repos/file-cleanup/permissions/groups HTTP/1.1" c.a.s.r.e.UnhandledExceptionMapper Unhandled exception while processing REST call java.lang.NullPointerException: null 2014-02-28 11:40:14,205 WARN [http-bio-7990-exec-1030] 700x34210x0 172.19.222.124,127.0.0.1 "GET /plugins/servlet/streams HTTP/1.1" c.a.s.a.t.f.TrustedApplicationFilterAuthenticator Failed to login trusted application: jira:1842122 due to: com.atlassian.security.auth.trustedapps.InvalidCertificateException: Request not allowed from IP address: 127.0.0.1 2014-02-28 11:40:15,805 ERROR [http-bio-7990-exec-1021] agatlab 700x34212x0 rt3fvr 172.19.154.74,127.0.0.1 "PUT /rest/api/latest/projects/~AGATLAB/repos/file-cleanup HTTP/1.1" c.a.s.r.e.UnhandledExceptionMapper Unhandled exception while processing REST call java.lang.NullPointerException: null 2014-02-28 11:40:21,466 ERROR [http-bio-7990-exec-1022] agatlab 700x34213x0 rt3fvr 172.19.154.74,127.0.0.1 "GET /plugins/servlet/branch-permissions/~AGATLAB/file-cleanup HTTP/1.1" c.a.p.web.DefaultWebInterfaceManager Could not evaluate condition 'com.atlassian.stash.web.conditions.HasFormFragments@be76b96' for descriptor: com.atlassian.stash.stash-server-web-fragments:repository-settings-pull-requests (null) java.lang.NullPointerException: null 2014-02-28 11:40:21,845 ERROR [http-bio-7990-exec-1026] agatlab 700x34226x1 rt3fvr 172.19.154.74,127.0.0.1 "GET /rest/branch-permissions/latest/projects/~AGATLAB/repos/file-cleanup/permitted HTTP/1.1" c.a.p.s.DefaultServletModuleManager Unable to create filter com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149) ~[atlassian-util-concurrent-2.4.1.jar:na] at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112) ~[atlassian-util-concurrent-2.4.1.jar:na] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) [applinks-plugin-4.0.13_1392117060000.jar:na] at com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.doFilter(StashAuthenticationFilter.java:92) [StashAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doInsideSpringSecurityChain(BeforeLoginPluginAuthenticationFilter.java:111) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:77) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:100) [atlassian-trusted-apps-core-3.0.3.jar:na] at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:61) [atlassian-oauth-service-provider-plugin-1.9.1_1392117060000.jar:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doBeforeBeforeLoginFilters(BeforeLoginPluginAuthenticationFilter.java:89) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:75) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.request.DefaultRequestManager.doAsRequest(DefaultRequestManager.java:73) [stash-service-impl-2.11.2.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_45] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_45] ... 154 frames trimmed Caused by: java.lang.NullPointerException: null at org.apache.catalina.loader.WebappClassLoader.findResources(WebappClassLoader.java:1334) ~[na:na] at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:321) ~[atlassian-util-concurrent-2.4.1.jar:na] at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:143) ~[atlassian-util-concurrent-2.4.1.jar:na] ... 13 common frames omitted {noformat}

    Atlassian JIRA | 3 years ago | Jeff Skjonsby
    com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException
  2. 0

    When attempting to make a user repository public we're seeing this exception: {noformat} 2014-02-28 11:40:06,766 WARN [http-bio-7990-exec-1029] agatlab 700x34187x0 rt3fvr 172.19.154.74,127.0.0.1 "GET /projects/~agatlab/repos/file-cleanup/permissions HTTP/1.1" c.s.s.g.manager.ContributorsManager Repository access detected: file-cleanup 2014-02-28 11:40:06,766 WARN [http-bio-7990-exec-1029] agatlab 700x34187x0 rt3fvr 172.19.154.74,127.0.0.1 "GET /projects/~agatlab/repos/file-cleanup/permissions HTTP/1.1" c.s.s.g.manager.ContributorsManager Repository access detected: file-cleanup 2014-02-28 11:40:06,768 WARN [http-bio-7990-exec-1029] agatlab 700x34187x0 rt3fvr 172.19.154.74,127.0.0.1 "GET /projects/~agatlab/repos/file-cleanup/permissions HTTP/1.1" c.s.s.g.manager.ContributorsManager Repository access detected: file-cleanup 2014-02-28 11:40:06,789 ERROR [http-bio-7990-exec-1029] agatlab 700x34187x0 rt3fvr 172.19.154.74,127.0.0.1 "GET /projects/~agatlab/repos/file-cleanup/permissions HTTP/1.1" c.a.p.web.DefaultWebInterfaceManager Could not evaluate condition 'com.atlassian.stash.web.conditions.HasFormFragments@be76b96' for descriptor: com.atlassian.stash.stash-server-web-fragments:repository-settings-pull-requests (null) java.lang.NullPointerException: null 2014-02-28 11:40:07,198 ERROR [http-bio-7990-exec-1027] agatlab 700x34200x0 rt3fvr 172.19.154.74,127.0.0.1 "GET /users/agatlab/repos/file-cleanup/permissions/groups HTTP/1.1" c.a.s.r.e.UnhandledExceptionMapper Unhandled exception while processing REST call java.lang.NullPointerException: null 2014-02-28 11:40:14,205 WARN [http-bio-7990-exec-1030] 700x34210x0 172.19.222.124,127.0.0.1 "GET /plugins/servlet/streams HTTP/1.1" c.a.s.a.t.f.TrustedApplicationFilterAuthenticator Failed to login trusted application: jira:1842122 due to: com.atlassian.security.auth.trustedapps.InvalidCertificateException: Request not allowed from IP address: 127.0.0.1 2014-02-28 11:40:15,805 ERROR [http-bio-7990-exec-1021] agatlab 700x34212x0 rt3fvr 172.19.154.74,127.0.0.1 "PUT /rest/api/latest/projects/~AGATLAB/repos/file-cleanup HTTP/1.1" c.a.s.r.e.UnhandledExceptionMapper Unhandled exception while processing REST call java.lang.NullPointerException: null 2014-02-28 11:40:21,466 ERROR [http-bio-7990-exec-1022] agatlab 700x34213x0 rt3fvr 172.19.154.74,127.0.0.1 "GET /plugins/servlet/branch-permissions/~AGATLAB/file-cleanup HTTP/1.1" c.a.p.web.DefaultWebInterfaceManager Could not evaluate condition 'com.atlassian.stash.web.conditions.HasFormFragments@be76b96' for descriptor: com.atlassian.stash.stash-server-web-fragments:repository-settings-pull-requests (null) java.lang.NullPointerException: null 2014-02-28 11:40:21,845 ERROR [http-bio-7990-exec-1026] agatlab 700x34226x1 rt3fvr 172.19.154.74,127.0.0.1 "GET /rest/branch-permissions/latest/projects/~AGATLAB/repos/file-cleanup/permitted HTTP/1.1" c.a.p.s.DefaultServletModuleManager Unable to create filter com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149) ~[atlassian-util-concurrent-2.4.1.jar:na] at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112) ~[atlassian-util-concurrent-2.4.1.jar:na] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) [applinks-plugin-4.0.13_1392117060000.jar:na] at com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.doFilter(StashAuthenticationFilter.java:92) [StashAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doInsideSpringSecurityChain(BeforeLoginPluginAuthenticationFilter.java:111) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:77) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:100) [atlassian-trusted-apps-core-3.0.3.jar:na] at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:61) [atlassian-oauth-service-provider-plugin-1.9.1_1392117060000.jar:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doBeforeBeforeLoginFilters(BeforeLoginPluginAuthenticationFilter.java:89) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:75) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.request.DefaultRequestManager.doAsRequest(DefaultRequestManager.java:73) [stash-service-impl-2.11.2.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_45] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_45] ... 154 frames trimmed Caused by: java.lang.NullPointerException: null at org.apache.catalina.loader.WebappClassLoader.findResources(WebappClassLoader.java:1334) ~[na:na] at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:321) ~[atlassian-util-concurrent-2.4.1.jar:na] at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:143) ~[atlassian-util-concurrent-2.4.1.jar:na] ... 13 common frames omitted {noformat}

    Atlassian JIRA | 3 years ago | Jeff Skjonsby
    com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException
  3. 0

    GitHub comment 60#136318061

    GitHub | 1 year ago | magnlun
    com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Cannot create object because the plugin container is unavailable for bundle 'se.bjurr.prnfs.pull-request-notifier-for-stash'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NullPointerException after upgrading

    GitHub | 1 year ago | magnlun
    com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Cannot create object because the plugin container is unavailable for bundle 'se.bjurr.prnfs.pull-request-notifier-for-stash'
  6. 0

    jira REST Plugin The ResourceConfig instance does not contain any root resource classes

    Stack Overflow | 3 years ago | bershadskiy
    com.atlassian.util.concurrent.LazyReference$InitializationException: com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.atlassian.util.concurrent.LazyReference$InitializationException

      java.lang.NullPointerException

      at com.atlassian.util.concurrent.LazyReference.getInterruptibly()
    2. com.atlassian.util
      LazyReference.get
      1. com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)[atlassian-util-concurrent-2.4.1.jar:na]
      2. com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112)[atlassian-util-concurrent-2.4.1.jar:na]
      2 frames
    3. com.atlassian.applinks
      ContextFilter.doFilter
      1. com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25)[applinks-plugin-4.0.13_1392117060000.jar:na]
      1 frame
    4. com.atlassian.stash
      BeforeLoginPluginAuthenticationFilter.doFilter
      1. com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.doFilter(StashAuthenticationFilter.java:92)[StashAuthenticationFilter.class:na]
      2. com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doInsideSpringSecurityChain(BeforeLoginPluginAuthenticationFilter.java:111)[BeforeLoginPluginAuthenticationFilter.class:na]
      3. com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:77)[BeforeLoginPluginAuthenticationFilter.class:na]
      3 frames
    5. com.atlassian.security
      TrustedApplicationsFilter.doFilter
      1. com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:100)[atlassian-trusted-apps-core-3.0.3.jar:na]
      1 frame
    6. com.atlassian.oauth
      OAuthFilter.doFilter
      1. com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:61)[atlassian-oauth-service-provider-plugin-1.9.1_1392117060000.jar:na]
      1 frame
    7. com.atlassian.stash
      DefaultRequestManager.doAsRequest
      1. com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doBeforeBeforeLoginFilters(BeforeLoginPluginAuthenticationFilter.java:89)[BeforeLoginPluginAuthenticationFilter.class:na]
      2. com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:75)[BeforeLoginPluginAuthenticationFilter.class:na]
      3. com.atlassian.stash.internal.request.DefaultRequestManager.doAsRequest(DefaultRequestManager.java:73)[stash-service-impl-2.11.2.jar:na]
      3 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_45]
      2. java.lang.Thread.run(Thread.java:744)[na:1.7.0_45]
      2 frames