java.lang.NullPointerException

Atlassian JIRA | Nick Mason [Atlassian] | 5 months ago
  1. 0

    h3. Steps to reproduce # Go to Admin > Image configurations # Put a valid AMI ID in, don't select anything in the Instance Type field # Click Save h3. Expected results Bamboo warns that Instance Type is required. h3. Actual results Bamboo returns an Internal Server Error page with a null pointer exception: {code:none} java.lang.NullPointerException at com.atlassian.bamboo.util.BambooIterables.stream(BambooIterables.java:160) at com.atlassian.bamboo.agent.elastic.server.ElasticImageConfigurationImpl.toString(ElasticImageConfigurationImpl.java:167) at com.atlassian.bamboo.agent.elastic.server.ElasticImageConfigurationImpl.setInstanceTypes(ElasticImageConfigurationImpl.java:161) at com.atlassian.bamboo.ww2.actions.admin.elastic.ConfigureElasticImageConfiguration.setElasticImageConfigurationProperties(ConfigureElasticImageConfiguration.java:328) at com.atlassian.bamboo.ww2.actions.admin.elastic.ConfigureElasticImageConfiguration.createElasticImageConfiguration(ConfigureElasticImageConfiguration.java:295) at com.atlassian.bamboo.ww2.actions.admin.elastic.ConfigureElasticImageConfiguration.create(ConfigureElasticImageConfiguration.java:186) 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.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450) at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252) at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:168) at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.validateWorkflow(BambooWorkflowInterceptor.java:54) at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.access$000(BambooWorkflowInterceptor.java:16) at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor$1.call(BambooWorkflowInterceptor.java:33) at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor$1.call(BambooWorkflowInterceptor.java:29) at com.atlassian.bamboo.util.BambooProfilingUtils.withUtilTimerStack(BambooProfilingUtils.java:39) at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.doIntercept(BambooWorkflowInterceptor.java:28) [...] {code}

    Atlassian JIRA | 5 months ago | Nick Mason [Atlassian]
    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.util.BambooIterables.stream()
    2. com.atlassian.bamboo
      ConfigureElasticImageConfiguration.create
      1. com.atlassian.bamboo.util.BambooIterables.stream(BambooIterables.java:160)
      2. com.atlassian.bamboo.agent.elastic.server.ElasticImageConfigurationImpl.toString(ElasticImageConfigurationImpl.java:167)
      3. com.atlassian.bamboo.agent.elastic.server.ElasticImageConfigurationImpl.setInstanceTypes(ElasticImageConfigurationImpl.java:161)
      4. com.atlassian.bamboo.ww2.actions.admin.elastic.ConfigureElasticImageConfiguration.setElasticImageConfigurationProperties(ConfigureElasticImageConfiguration.java:328)
      5. com.atlassian.bamboo.ww2.actions.admin.elastic.ConfigureElasticImageConfiguration.createElasticImageConfiguration(ConfigureElasticImageConfiguration.java:295)
      6. com.atlassian.bamboo.ww2.actions.admin.elastic.ConfigureElasticImageConfiguration.create(ConfigureElasticImageConfiguration.java:186)
      6 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. XWork
      DefaultWorkflowInterceptor.doIntercept
      1. com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450)
      2. com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289)
      3. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252)
      4. com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:168)
      4 frames
    5. com.atlassian.bamboo
      BambooWorkflowInterceptor.doIntercept
      1. com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.validateWorkflow(BambooWorkflowInterceptor.java:54)
      2. com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.access$000(BambooWorkflowInterceptor.java:16)
      3. com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor$1.call(BambooWorkflowInterceptor.java:33)
      4. com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor$1.call(BambooWorkflowInterceptor.java:29)
      5. com.atlassian.bamboo.util.BambooProfilingUtils.withUtilTimerStack(BambooProfilingUtils.java:39)
      6. com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.doIntercept(BambooWorkflowInterceptor.java:28)
      6 frames