xcode 2.0 NPE

21 views
Skip to first unread message

Richard Ginga

unread,
Aug 21, 2017, 12:14:07 PM8/21/17
to jenkins...@googlegroups.com
I am testing ios builds on xcode 2.0 after upgrading from 1.4.11. the build worked under 1.4.11 but I get an NPE in FilePath.mkdirs as below. I don't know what to make of this error (jenkins 2.7.1)

10:05:40 ** ARCHIVE SUCCEEDED **
10:05:40 
10:05:40 Cleaning up previously generated .ipa files
10:05:40 Cleaning up previously generated .dSYM.zip files
10:05:40 Packaging IPA
10:05:40 ERROR: Build step failed with exception
10:05:40 java.lang.NullPointerException
10:05:40 	at hudson.FilePath.mkdirs(FilePath.java:2944)
10:05:40 	at hudson.FilePath.access$800(FilePath.java:195)
10:05:40 	at hudson.FilePath$37.invoke(FilePath.java:1932)
10:05:40 	at hudson.FilePath$37.invoke(FilePath.java:1929)
10:05:40 	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2772)
10:05:40 	at hudson.remoting.UserRequest.perform(UserRequest.java:153)
10:05:40 	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
10:05:40 	at hudson.remoting.Request$2.run(Request.java:332)
10:05:40 	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
10:05:40 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
10:05:40 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
10:05:40 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
10:05:40 	at java.lang.Thread.run(Thread.java:748)
10:05:40 	at ......remote call to stt-osx-vm2-test(Native Method)
10:05:40 	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
10:05:40 	at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
10:05:40 	at hudson.remoting.Channel.call(Channel.java:781)
10:05:40 	at hudson.FilePath.act(FilePath.java:1007)
10:05:40 	at hudson.FilePath.act(FilePath.java:996)
10:05:40 	at hudson.FilePath.write(FilePath.java:1929)
10:05:40 	at au.com.rayh.XCodeBuilder._perform(XCodeBuilder.java:713)
10:05:40 	at au.com.rayh.XCodeBuilder.perform(XCodeBuilder.java:287)
10:05:40 	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
10:05:40 	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
10:05:40 	at hudson.model.Build$BuildExecution.build(Build.java:205)
10:05:40 	at hudson.model.Build$BuildExecution.doRun(Build.java:162)
10:05:40 	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
10:05:40 	at hudson.model.Run.execute(Run.java:1741)
10:05:40 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
10:05:40 	at hudson.model.ResourceController.execute(ResourceController.java:98)
10:05:40 	at hudson.model.Executor.run(Executor.java:410)
10:05:40 Build step 'Xcode' marked build as failure

--
Dick Ginga
Build Engineer

Arnaud Héritier

unread,
Aug 21, 2017, 1:02:46 PM8/21/17
to jenkins...@googlegroups.com
Could you report an issue in Jira


Seems to be related to the plist when packaging the IPA...

It's probably due to a configuration change. In the issue please describe which settings you defined in your build

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAL3PpaVwxqy3%3D0T_NMU0dOtZt%2Bq5AUQDbum5HeX_B4fJqD%3Dv2Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



--
-----
Arnaud Héritier
Mail/GTalk: aheritier AT gmail DOT com
Twitter/Skype : aheritier

Richard Ginga

unread,
Aug 21, 2017, 1:52:04 PM8/21/17
to jenkins...@googlegroups.com

Richard Ginga

unread,
Aug 21, 2017, 2:11:13 PM8/21/17
to jenkins...@googlegroups.com
no wait, that is not mine. do you see one from me?

Richard Ginga

unread,
Aug 21, 2017, 2:12:45 PM8/21/17
to jenkins...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages