Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-13318

java.lang.NullPointerException in Bamboo iOS, Cocoa and Xcode Support Plugin ver 1.8

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Highest
    • 5.10.0
    • 4.4.4
    • Xcode, iOS and Cocoa

    Description

      We are using Bamboo version 4.4.4 for our CI. We are currently evaluating SOASTA TouchTest automation tool and we are trying to streamline building an iOS IPA file via following this tutorial http://cdn.soasta.com/productresource/download/SOASTA_TouchTest_Bamboo_iOS_Tutorial.pdf but we are blocked by a defect in the Bamboo iOS, Cocoa and Xcode Support Plugin ver 1.8

      We noticed that Bamboo iOS, Cocoa and Xcode Support Plugin version 2.0 does not work with Bamboo 4.4.4 so we downgraded to Bamboo iOS, Cocoa and Xcode Support Plugin version 1.8. Now we are getting this null pointer exception when we are running the IPA build

      java.lang.NullPointerException
      at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
      at java.util.regex.Matcher.reset(Matcher.java:291)
      at java.util.regex.Matcher.<init>(Matcher.java:211)
      at java.util.regex.Pattern.matcher(Pattern.java:888)
      at com.atlassian.bamboo.util.BambooStringUtils$3.apply(BambooStringUtils.java:465)
      at com.atlassian.bamboo.util.BambooStringUtils$3.apply(BambooStringUtils.java:458)
      at com.google.common.collect.Lists$TransformingRandomAccessList.get(Lists.java:451)
      at java.util.AbstractList$Itr.next(AbstractList.java:345)
      at java.util.AbstractCollection.toArray(AbstractCollection.java:124)
      at java.util.LinkedList.addAll(LinkedList.java:269)
      at java.util.LinkedList.addAll(LinkedList.java:247)
      at com.atlassian.bamboo.process.ExternalProcessBuilder.command(ExternalProcessBuilder.java:59)
      at com.atlassian.bamboo.process.ProcessServiceImpl.createProcess(ProcessServiceImpl.java:131)
      at com.atlassian.bamboo.process.ProcessServiceImpl.executeProcess(ProcessServiceImpl.java:180)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      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 $Proxy206.executeProcess(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      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:154)
      at $Proxy206.executeProcess(Unknown Source)
      at com.atlassian.bamboo.plugins.xcode.build.XCodeTaskType.execute(XCodeTaskType.java:88)
      at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:187)
      at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:93)
      at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:87)
      at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:206)
      at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103)
      at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:111)
      at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52)
      at java.lang.Thread.run(Thread.java:619)
      Please note that the iOS target builds properly from within xCode IDE and we are having this issue when we try building through Bamboo via this plugin.

      I searched online and found this https://jira.atlassian.com/browse/BAM-12317 and I made sure that the commit comment is not empty!

      Please advise

      Attachments

        Issue Links

          Activity

            People

              mkleint mkleint (Inactive)
              6d4ebb975b0e Salem Artin
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: