java.lang.NullPointerException

Atlassian JIRA | Dmitry Paramzin [Ninjas] | 7 months ago
  1. 0

    The following can be seen in tests when bamboo cannot retrieve project by key by some reason: {code} 696 > PUT https://test-ma0rr03-atslats-batch-1kwen.jira-dev.com:443/builds/rest/applinks/1.0/entitylink/com.atlassian.applinks.api.application.bamboo.BambooProjectEntityType/ELP?os_authType=basic&os_username=admin&os_password=admin&reciprocate=false 696 > Content-Type: application/json {"applicationId":"98677f4d-9c3b-30d2-8159-ddea6b29d08b","key":"ELP","name":"Entity Linked Project","typeId":"confluence.space"} . Backdoor PUT in 334ms /builds/rest/applinks/1.0/entitylink/com.atlassian.applinks.api.application.bamboo.BambooProjectEntityType/ELP May 24, 2016 2:11:20 PM com.sun.jersey.api.client.filter.LoggingFilter log INFO: 696 * Client in-bound response 696 < 500 696 < Server: nginx 696 < Date: Tue, 24 May 2016 14:11:20 GMT 696 < Content-Type: application/xml 696 < Transfer-Encoding: chunked 696 < Connection: keep-alive 696 < X-ASEN: SEN-2864386 696 < Set-Cookie: JSESSIONID=08C1B9DFFD60DC6F7413F346DF37932B; Path=/builds/; Secure; HttpOnly 696 < Set-Cookie: studio.crowd.tokenkey=""; Domain=.test-ma0rr03-atslats-batch-1kwen.jira-dev.com; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly 696 < Set-Cookie: studio.crowd.tokenkey=0Vgk7w89YRHdGOW5kXOiAg00; Domain=.test-ma0rr03-atslats-batch-1kwen.jira-dev.com; Path=/; Secure; HttpOnly 696 < X-Seraph-LoginReason: OUT 696 < X-Seraph-LoginReason: OK 696 < X-Content-Type-Options: nosniff 696 < Vary: Accept 696 < <?xml version="1.0" encoding="UTF-8" standalone="yes"?><status><status-code>500</status-code><stack-trace>java.lang.NullPointerException at com.atlassian.bamboo.security.applinks.BambooHostApplication.toEntityReference(BambooHostApplication.java:126) at com.atlassian.bamboo.security.applinks.BambooHostApplication.toEntityReference(BambooHostApplication.java:136) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) at com.sun.proxy.$Proxy231.toEntityReference(Unknown Source) {code} *Expected Result* 404 response with understandable explanation

    Atlassian JIRA | 7 months ago | Dmitry Paramzin [Ninjas]
    java.lang.NullPointerException
  2. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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. java.lang.NullPointerException

      No message provided

      at com.atlassian.bamboo.security.applinks.BambooHostApplication.toEntityReference()
    2. com.atlassian.bamboo
      BambooHostApplication.toEntityReference
      1. com.atlassian.bamboo.security.applinks.BambooHostApplication.toEntityReference(BambooHostApplication.java:126)
      2. com.atlassian.bamboo.security.applinks.BambooHostApplication.toEntityReference(BambooHostApplication.java:136)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    4. com.atlassian.plugin
      ContextClassLoaderSettingInvocationHandler.invoke
      1. com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
      1 frame
    5. com.sun.proxy
      $Proxy231.toEntityReference
      1. com.sun.proxy.$Proxy231.toEntityReference(Unknown Source)
      1 frame