njava.lang.NullPointerException

Atlassian JIRA | Andreas Knecht | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    This started happening when a gadget on JDOG tries to make a call to JBAC after JBAC was upgraded to 3.1-m1 last week. Not sure what's going on, but I'm pretty sure Bamboo shouldn't throw a NPE. Raised it as a blocker 'cause we need these gadgets to work to figure out who broke the build! {noformat} throw 1; < don't be evil' >{"https://jira.bamboo.atlassian.com/rest/api/1.0/currentUser?cacheBuster=1300657914211":{"headers":{},"body":"<html>\r\n<head>\r\n <title>Internal server error<\/title>\r\n <meta name=\"decorator\" content=\"install\" /> \r\n<\/head>\r\n\r\n<body>\r\n <h1>Internal server error<\/h1>\r\n\r\n\r\n <h4>Go to...<\/h4>\r\n <ul>\r\n <li><a href=\"/\">Site Homepage<\/a><\/li>\r\n <\/ul>\r\n A system error has occurred - our apologies!\r\n <p>\r\n Please create a problem report on our <b>support system<\/b> at <a href=\"https://support.atlassian.com/secure/CreateIssue.jspa?pid=10060&issuetype=1\">http://support.atlassian.com<\/a> with the following information:\r\n <ol class=\"standard\">\r\n <li>a description of your problem and what you were doing at the time it occurred\r\n <li>cut &amp; paste the error and system information found below\r\n <li>attach the <strong>atlassian-bamboo.log<\/strong> log file found in your application home.\r\n <\/ol>\r\n We will respond as promptly as possible.<br/>Thank you!\r\n <\/p>\r\n\r\n <p>\r\n <b>Version:<\/b> 3.1-m1<br>\r\n <b>Build:<\/b> 2403<br>\r\n <b>Build Date:<\/b> 10 Mar 2011\r\n <\/p>\r\n\r\n <h4>Request Information:<\/h4>\r\n <ul class=\"standard\">\r\n <li>Request URL: https://jira.bamboo.atlassian.com/500.action<\/li>\r\n <li>Scheme: https<\/li>\r\n <li>Server: jira.bamboo.atlassian.com<\/li>\r\n <li>Port: 443<\/li>\r\n <li>URI: /500.action<\/li>\r\n <li>Context Path: <\/li>\r\n <li>Servlet Path: /500.action<\/li>\r\n <li>Path Info: <\/li>\r\n <li>Query String: cacheBuster=1300657914211<\/li>\r\n <\/ul>\r\n\r\n\r\n <p>\r\n <b>Stack Trace:<\/b>\r\n<pre>\r\njava.lang.NullPointerException\n\tat com.atlassian.bamboo.security.trustedapplications.BambooTrustedApplicationUtils.convert(BambooTrustedApplicationUtils.java:25)\n\tat com.atlassian.bamboo.security.trustedapplications.BambooTrustedApplicationsManager.getTrustedApplication(BambooTrustedApplicationsManager.java:38)\n\tat com.atlassian.security.auth.trustedapps.filter.TrustedApplicationFilterAuthenticator.authenticate(TrustedApplicationFilterAuthenticator.java:86)\n\tat com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.authenticate(TrustedApplicationsFilter.java:113)\n\tat com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:95)\n\tat com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)\n\tat com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)\n\tat com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)\n\tat com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:40)\n\tat com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)\n\tat com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)\n\tat com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)\n\tat com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)\n\tat org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170)\n\tat com.atlassian.bamboo.persistence.BambooSessionInViewFilter.doFilterInternal(BambooSessionInViewFilter.java:31)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)\n\tat com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)\n\tat com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)\n\tat com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)\n\tat org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)\n\tat org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)\n\tat org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)\n\tat org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)\n\tat org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)\n\tat org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)\n\tat org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)\n\tat java.lang.Thread.run(Thread.java:619)\n\r\n<\/pre>\r\n <\/p>\r\n<\/body>\r\n<\/html>","rc":500}} {noformat}

    Atlassian JIRA | 6 years ago | Andreas Knecht
    njava.lang.NullPointerException
  2. 0

    This started happening when a gadget on JDOG tries to make a call to JBAC after JBAC was upgraded to 3.1-m1 last week. Not sure what's going on, but I'm pretty sure Bamboo shouldn't throw a NPE. Raised it as a blocker 'cause we need these gadgets to work to figure out who broke the build! {noformat} throw 1; < don't be evil' >{"https://jira.bamboo.atlassian.com/rest/api/1.0/currentUser?cacheBuster=1300657914211":{"headers":{},"body":"<html>\r\n<head>\r\n <title>Internal server error<\/title>\r\n <meta name=\"decorator\" content=\"install\" /> \r\n<\/head>\r\n\r\n<body>\r\n <h1>Internal server error<\/h1>\r\n\r\n\r\n <h4>Go to...<\/h4>\r\n <ul>\r\n <li><a href=\"/\">Site Homepage<\/a><\/li>\r\n <\/ul>\r\n A system error has occurred - our apologies!\r\n <p>\r\n Please create a problem report on our <b>support system<\/b> at <a href=\"https://support.atlassian.com/secure/CreateIssue.jspa?pid=10060&issuetype=1\">http://support.atlassian.com<\/a> with the following information:\r\n <ol class=\"standard\">\r\n <li>a description of your problem and what you were doing at the time it occurred\r\n <li>cut &amp; paste the error and system information found below\r\n <li>attach the <strong>atlassian-bamboo.log<\/strong> log file found in your application home.\r\n <\/ol>\r\n We will respond as promptly as possible.<br/>Thank you!\r\n <\/p>\r\n\r\n <p>\r\n <b>Version:<\/b> 3.1-m1<br>\r\n <b>Build:<\/b> 2403<br>\r\n <b>Build Date:<\/b> 10 Mar 2011\r\n <\/p>\r\n\r\n <h4>Request Information:<\/h4>\r\n <ul class=\"standard\">\r\n <li>Request URL: https://jira.bamboo.atlassian.com/500.action<\/li>\r\n <li>Scheme: https<\/li>\r\n <li>Server: jira.bamboo.atlassian.com<\/li>\r\n <li>Port: 443<\/li>\r\n <li>URI: /500.action<\/li>\r\n <li>Context Path: <\/li>\r\n <li>Servlet Path: /500.action<\/li>\r\n <li>Path Info: <\/li>\r\n <li>Query String: cacheBuster=1300657914211<\/li>\r\n <\/ul>\r\n\r\n\r\n <p>\r\n <b>Stack Trace:<\/b>\r\n<pre>\r\njava.lang.NullPointerException\n\tat com.atlassian.bamboo.security.trustedapplications.BambooTrustedApplicationUtils.convert(BambooTrustedApplicationUtils.java:25)\n\tat com.atlassian.bamboo.security.trustedapplications.BambooTrustedApplicationsManager.getTrustedApplication(BambooTrustedApplicationsManager.java:38)\n\tat com.atlassian.security.auth.trustedapps.filter.TrustedApplicationFilterAuthenticator.authenticate(TrustedApplicationFilterAuthenticator.java:86)\n\tat com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.authenticate(TrustedApplicationsFilter.java:113)\n\tat com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:95)\n\tat com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)\n\tat com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)\n\tat com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)\n\tat com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:40)\n\tat com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)\n\tat com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)\n\tat com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)\n\tat com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)\n\tat org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170)\n\tat com.atlassian.bamboo.persistence.BambooSessionInViewFilter.doFilterInternal(BambooSessionInViewFilter.java:31)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)\n\tat com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)\n\tat com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)\n\tat com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)\n\tat org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)\n\tat org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)\n\tat org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)\n\tat org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)\n\tat org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)\n\tat org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)\n\tat org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)\n\tat java.lang.Thread.run(Thread.java:619)\n\r\n<\/pre>\r\n <\/p>\r\n<\/body>\r\n<\/html>","rc":500}} {noformat}

    Atlassian JIRA | 6 years ago | Andreas Knecht
    njava.lang.NullPointerException

    Root Cause Analysis

    1. njava.lang.NullPointerException

      No message provided

      at com.atlassian.bamboo.security.trustedapplications.BambooTrustedApplicationUtils.convert()
    2. com.atlassian.bamboo
      BambooTrustedApplicationsManager.getTrustedApplication
      1. com.atlassian.bamboo.security.trustedapplications.BambooTrustedApplicationUtils.convert(BambooTrustedApplicationUtils.java:25)
      2. com.atlassian.bamboo.security.trustedapplications.BambooTrustedApplicationsManager.getTrustedApplication(BambooTrustedApplicationsManager.java:38)
      2 frames
    3. com.atlassian.security
      TrustedApplicationsFilter.doFilter
      1. com.atlassian.security.auth.trustedapps.filter.TrustedApplicationFilterAuthenticator.authenticate(TrustedApplicationFilterAuthenticator.java:86)
      2. com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.authenticate(TrustedApplicationsFilter.java:113)
      3. com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:95)
      3 frames
    4. com.atlassian.plugin
      DelegatingPluginFilter$1.doFilter
      1. com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)
      2. com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)
      3. com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)
      3 frames
    5. com.atlassian.plugins
      RestSeraphFilter.doFilter
      1. com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:40)
      1 frame
    6. com.atlassian.plugin
      ServletFilterModuleContainerFilter.doFilter
      1. com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)
      2. com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)
      3. com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)
      4. com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)
      4 frames
    7. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      2 frames
    8. Hibernate
      OpenSessionInViewFilter.doFilterInternal
      1. org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170)
      1 frame
    9. com.atlassian.bamboo
      BambooSessionInViewFilter.doFilterInternal
      1. com.atlassian.bamboo.persistence.BambooSessionInViewFilter.doFilterInternal(BambooSessionInViewFilter.java:31)
      1 frame
    10. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
      1 frame
    11. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      2 frames
    12. com.atlassian.plugin
      ServletFilterModuleContainerFilter.doFilter
      1. com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
      2. com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)
      3. com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)
      3 frames
    13. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      2 frames
    14. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
      2 frames
    15. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
      8 frames
    16. Embedded GlassFish Web
      ChannelSocket$SocketConnection.runIt
      1. org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
      2. org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
      3. org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
      4. org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
      5. org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
      5 frames
    17. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
      1 frame