Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-38631

NullPointerException when packaging IPA (XCode plugin 1.4.11 & Jenkins 2.23)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • xcode-plugin
    • None
    • XCode plugin 1.4.11
      Jenkins 2.23
      Xcode 7.3.1

      When packaging an IPA file I get a NullPointerException
      Packaging IPA
      $ /usr/libexec/PlistBuddy -c "Print :CFBundleVersion" /Users/jenkins/workspace/...../<MyApp>.app/Info.plist
      Packaging <MyApp>.app => /Users/jenkins/workspace/...../<MyApp>.ipa
      ERROR: Build step failed with exception
      java.lang.NullPointerException
      at au.com.rayh.XCodeBuilder.perform(XCodeBuilder.java:738)
      at org.jenkinsci.plugins.conditionalbuildstep.BuilderChain.perform(BuilderChain.java:71)
      at org.jenkins_ci.plugins.run_condition.BuildStepRunner$2.run(BuildStepRunner.java:110)
      at org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail.conditionalRun(BuildStepRunner.java:154)
      at org.jenkins_ci.plugins.run_condition.BuildStepRunner.perform(BuildStepRunner.java:105)
      at org.jenkinsci.plugins.conditionalbuildstep.ConditionalBuilder.perform(ConditionalBuilder.java:133)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      at hudson.model.Build$BuildExecution.build(Build.java:205)
      at hudson.model.Build$BuildExecution.doRun(Build.java:162)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
      at hudson.model.Run.execute(Run.java:1720)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:404)

            Unassigned Unassigned
            ifedorov Ivan Fedorov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: