java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • [JIRA] (JENKINS-38792) Xcode plugin crash
    via by tomihote...@o2active.cz (JIRA),
  • After upgrading to 1.4, none of my build configurations functioned. Each of them failed with an NPE in the same location: [Package_CM_1_2] $ /usr/bin/xcodebuild -version Xcode 5.0 Build version 5A1412 Fetching marketing version number (CFBundleShortVersionString) from project. [Package_CM_1_2] $ /usr/bin/agvtool mvers -terse1 No marketing version found (CFBundleShortVersionString). Marketing version (CFBundleShortVersionString) found in project configuration: . Fetching technical version number (CFBundleVersion) from project. [Package_CM_1_2] $ /usr/bin/agvtool vers -terse No marketing version found (CFBundleVersion) Technical version (CFBundleVersion) found in project configuration: . Marketing version (CFBundleShortVersionString) used by Jenkins to produce the IPA: Technical version (CFBundleVersion) used by Jenkins to produce the IPA: Cleaning build directory: /Development/Jenkins/workspace/Package_CM_1_2/build/Release-iphoneos [Package_CM_1_2] $ /usr/bin/security list-keychains -s /Users/buildbot/Library/Keychains/BuildBotCodeSigner.keychain [Package_CM_1_2] $ /usr/bin/security default-keychain -d user -s /Users/buildbot/Library/Keychains/BuildBotCodeSigner.keychain [Package_CM_1_2] $ /usr/bin/security unlock-keychain -p ******** /Users/buildbot/Library/Keychains/BuildBotCodeSigner.keychain [Package_CM_1_2] $ /usr/bin/security show-keychain-info /Users/buildbot/Library/Keychains/BuildBotCodeSigner.keychain Keychain "/Users/buildbot/Library/Keychains/BuildBotCodeSigner.keychain" lock-on-sleep timeout=300s =========================================================== == Available provisioning profiles [Package_CM_1_2] $ /usr/bin/security find-identity -p codesigning -v 1) ***** "****" 2) ***** "****" 3) ***** "****" 3 valid identities found == Available SDKs [Package_CM_1_2] $ /usr/bin/xcodebuild -showsdks OS X SDKs: OS X 10.8 -sdk macosx10.8 iOS SDKs: iOS 7.0 -sdk iphoneos7.0 iOS Simulator SDKs: Simulator - iOS 6.1 -sdk iphonesimulator6.1 Simulator - iOS 7.0 -sdk iphonesimulator7.0 == Available schemes [Package_CM_1_2] $ /usr/bin/xcodebuild -list Information about project "CartographicaMobile": Targets: CartographicaMobile CartoMobileTests Build Configurations: Debug Coverage Release Distribution If no build configuration is specified and -scheme is not passed then "Release" is used. Schemes: CartoMobile CartoMobile-Distribution CartoMobileUnitTests =========================================================== FATAL: null java.lang.NullPointerException at au.com.rayh.XCodeBuilder.perform(XCodeBuilder.java:489) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:567) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246)
    via by Gaige Paulsen,
  • After upgrading to 1.4, none of my build configurations functioned. Each of them failed with an NPE in the same location: [Package_CM_1_2] $ /usr/bin/xcodebuild -version Xcode 5.0 Build version 5A1412 Fetching marketing version number (CFBundleShortVersionString) from project. [Package_CM_1_2] $ /usr/bin/agvtool mvers -terse1 No marketing version found (CFBundleShortVersionString). Marketing version (CFBundleShortVersionString) found in project configuration: . Fetching technical version number (CFBundleVersion) from project. [Package_CM_1_2] $ /usr/bin/agvtool vers -terse No marketing version found (CFBundleVersion) Technical version (CFBundleVersion) found in project configuration: . Marketing version (CFBundleShortVersionString) used by Jenkins to produce the IPA: Technical version (CFBundleVersion) used by Jenkins to produce the IPA: Cleaning build directory: /Development/Jenkins/workspace/Package_CM_1_2/build/Release-iphoneos [Package_CM_1_2] $ /usr/bin/security list-keychains -s /Users/buildbot/Library/Keychains/BuildBotCodeSigner.keychain [Package_CM_1_2] $ /usr/bin/security default-keychain -d user -s /Users/buildbot/Library/Keychains/BuildBotCodeSigner.keychain [Package_CM_1_2] $ /usr/bin/security unlock-keychain -p ******** /Users/buildbot/Library/Keychains/BuildBotCodeSigner.keychain [Package_CM_1_2] $ /usr/bin/security show-keychain-info /Users/buildbot/Library/Keychains/BuildBotCodeSigner.keychain Keychain "/Users/buildbot/Library/Keychains/BuildBotCodeSigner.keychain" lock-on-sleep timeout=300s =========================================================== == Available provisioning profiles [Package_CM_1_2] $ /usr/bin/security find-identity -p codesigning -v 1) ***** "****" 2) ***** "****" 3) ***** "****" 3 valid identities found == Available SDKs [Package_CM_1_2] $ /usr/bin/xcodebuild -showsdks OS X SDKs: OS X 10.8 -sdk macosx10.8 iOS SDKs: iOS 7.0 -sdk iphoneos7.0 iOS Simulator SDKs: Simulator - iOS 6.1 -sdk iphonesimulator6.1 Simulator - iOS 7.0 -sdk iphonesimulator7.0 == Available schemes [Package_CM_1_2] $ /usr/bin/xcodebuild -list Information about project "CartographicaMobile": Targets: CartographicaMobile CartoMobileTests Build Configurations: Debug Coverage Release Distribution If no build configuration is specified and -scheme is not passed then "Release" is used. Schemes: CartoMobile CartoMobile-Distribution CartoMobileUnitTests =========================================================== FATAL: null java.lang.NullPointerException at au.com.rayh.XCodeBuilder.perform(XCodeBuilder.java:489) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:567) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246)
    via by Gaige Paulsen,
    • java.lang.NullPointerException at au.com.rayh.XCodeBuilder.perform(XCodeBuilder.java:738) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) 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:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410)
    No Bugmate found.