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

NullPointerException when packaging IPA

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: xcode-plugin
    • Labels:
      None
    • Environment:
      XCode plugin 2.08
      Jenkins 2.60
      Xcode 9.3
    • Similar Issues:

      Description

      [iOS_HETTestTool] $ /usr/bin/xcodebuild -exportArchive -archivePath /Users/Admin/Documents/workspace/iOS_HETTestTool/build/Release-iphoneos/HETTestTool.xcarchive -exportPath /Users/Admin/Documents/Output/HETTestTool -exportOptionsPlist /Users/Admin/Documents/Output/HETTestTool/enterprise2F46R5UK38ExportOptions.plist
      2018-11-02 10:30:16.324 xcodebuild[9310:33474424] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/36/v_wn9hdd6g157hxt_dhkf6sw0000gn/T/HETTestTool_2018-11-02_10-30-16.323.xcdistributionlogs'.

      Exported HETTestTool.xcarchive to: /Users/Admin/Documents/Output/HETTestTool

        • EXPORT SUCCEEDED **

      Archiving dSYM
      ERROR: Build step failed with exception
      java.lang.NullPointerException
      at java.util.ArrayList.addAll(ArrayList.java:577)
      at au.com.rayh.XCodeBuilder._perform(XCodeBuilder.java:1980)
      at au.com.rayh.XCodeBuilder.perform(XCodeBuilder.java:1028)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:735)
      at hudson.model.Build$BuildExecution.build(Build.java:206)
      at hudson.model.Build$BuildExecution.doRun(Build.java:163)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490)
      at hudson.model.Run.execute(Run.java:1735)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:405)
      Build step 'Xcode' marked build as failure
      Finished: FAILURE

        Attachments

          Activity

          Hide
          kazuhidet Kazuhide Takahashi added a comment - - edited

          L welkiner
          Fixed a bug that abnormally ends when there is no file in the buildPlatform directory when dSYMs is archived.
          There is a snapshot of the plug-in that fixed in the following places, so will you try it with this?
          If this is not a problem I will try to merge it with the next(2.0.10?) release.
          https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fxcode-plugin/detail/PR-99/1/artifacts

          Show
          kazuhidet Kazuhide Takahashi added a comment - - edited L welkiner Fixed a bug that abnormally ends when there is no file in the buildPlatform directory when dSYMs is archived. There is a snapshot of the plug-in that fixed in the following places, so will you try it with this? If this is not a problem I will try to merge it with the next(2.0.10?) release. https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fxcode-plugin/detail/PR-99/1/artifacts
          Hide
          kazuhidet Kazuhide Takahashi added a comment -

          fix dSYMs generation.

          Show
          kazuhidet Kazuhide Takahashi added a comment - fix dSYMs generation.
          Hide
          kazuhidet Kazuhide Takahashi added a comment -

          Release at 2.0.10.

          Show
          kazuhidet Kazuhide Takahashi added a comment - Release at 2.0.10.

            People

            • Assignee:
              kazuhidet Kazuhide Takahashi
              Reporter:
              welkiner L welkiner
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: