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

NPE during "Package IPA" step of xcode plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • xcp-ci-plugin
    • None
    • Jenkins 2.7.1 xcode plugin 2.0.0 xcode 7.0.1

      I was testing our ios builds after upgrading from xcode plugin 1.4.11 to 2.0.0. the build worked under 1.4.11. we are running xcode 7.0.1. 

      I added a value for the Development Team ID

      I added a value for the "export method". It had defaulted to ad-hoc but I changed it to enterprise.

      Those were the only build configuration changes I made. Other settings are:

      clena before build

      custom xcodebuild arguments: PROVISIONING_PROFILE=$PROVISIONING_PROFILE PRODUCT_BUNDLE_IDENTIFIER=com.disruptorbeam.StarTrekTimelines-Ent PRODUCT_NAME=StarTrekTimelines-Ent

      ending log is:

      13:17:59 export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/jenkins/.rvm/bin"13:17:59 /usr/bin/touch -c /Users/jenkins/test-jenkins/workspace/Dick-STT-test-iOS/client/Builds/Game/ios/Timelines/build/Release-iphoneos/StarTrekTimelines-Ent.app.dSYM*13:17:59* 13:18:00 ** ARCHIVE SUCCEEDED **13:18:00 13:18:00 Cleaning up previously generated .ipa files*13:18:00* Cleaning up previously generated .dSYM.zip files*13:18:00* Packaging IPA*13:18:00* ERROR: Build step failed with exception*13:18:00* 
      java.lang.NullPointerException 
      13:18:00 at 
      hudson.FilePath.mkdirs(FilePath.java:2944)
      13:18:00 at 
      hudson.FilePath.access$800(FilePath.java:195)
      13:18:00 at 
      hudson.FilePath$37.invoke(FilePath.java:1932)
      13:18:00 at 
      hudson.FilePath$37.invoke(FilePath.java:1929)
      13:18:00 at 
      hudson.FilePath$FileCallableWrapper.call(FilePath.java:2772)
      13:18:00 at 
      hudson.remoting.UserRequest.perform(UserRequest.java:153)
      13:18:00 at 
      hudson.remoting.UserRequest.perform(UserRequest.java:50)
      13:18:00 at 
      hudson.remoting.Request$2.run(Request.java:332)
      13:18:00 at 
      hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      13:18:00 at 
      java.util.concurrent.FutureTask.run(FutureTask.java:266)
      13:18:00 at 
      java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      13:18:00 at 
      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      13:18:00 at 
      java.lang.Thread.run(Thread.java:748)
      13:18:00 at ......remote call to stt-osx-vm2-test(Native Method)13:18:00 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)13:18:00 at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)13:18:00 at hudson.remoting.Channel.call(Channel.java:781)13:18:00 at hudson.FilePath.act(FilePath.java:1007)13:18:00 at hudson.FilePath.act(FilePath.java:996)13:18:00 at hudson.FilePath.write(FilePath.java:1929)13:18:00 at au.com.rayh.XCodeBuilder._perform(XCodeBuilder.java:713)13:18:00 at au.com.rayh.XCodeBuilder.perform(XCodeBuilder.java:287)13:18:00 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)13:18:00 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)13:18:00 at hudson.model.Build$BuildExecution.build(Build.java:205)13:18:00 at hudson.model.Build$BuildExecution.doRun(Build.java:162)13:18:00 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)13:18:00 at hudson.model.Run.execute(Run.java:1741)13:18:00 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)13:18:00 at hudson.model.ResourceController.execute(ResourceController.java:98)13:18:00 at hudson.model.Executor.run(Executor.java:410)13:18:00 Build step 'Xcode' marked build as failure

            joaori João Ribeiro
            rginga Richard Ginga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: