[JIRA] (JENKINS-42564) App cannot be copy to Jenkins Master in HockeyApp 1.2.2 (Error: java.lang.NullPointerException)
Title: Message Title Mez Pahlan closed an issue as Won't Fix Appears to be an issue with how the path is specified by the end user. GLOB patterns aren't absolute but relative to the workspace. Jenkins / JENKINS-42564 App cannot be copy to Jenkins Master in HockeyApp 1.2.2 (Error: java.lang.NullPointerException) Change By: Mez Pahlan Status: Open Closed Resolution: Won't Fix Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-42564) App cannot be copy to Jenkins Master in HockeyApp 1.2.2 (Error: java.lang.NullPointerException)
Title: Message Title Marslo Jiao updated an issue Jenkins / JENKINS-42564 App cannot be copy to Jenkins Master in HockeyApp 1.2.2 (Error: java.lang.NullPointerException) Change By: Marslo Jiao * Jenkins Master : # of executors: 0 * Build app succeed and also can be archived. The HockeyApp Path:_*App File (.ipa, .app.zip, .apk)*: *app/build/outputs/apk/xxx-$\{BUILD_NUMBER}-$\{BuildType}.apk*_Upload Error:_Uploading to HockeyApp..._ _/tmp/jtf7699425629259393086.tmp/xxx-14-debug.apk_ _java.lang.NullPointerException_ _at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011)_ _at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006)_ _at org.apache.http.impl.client.BasicCredentialsProvider.setCredentials(BasicCredentialsProvider.java:61)_ _at hockeyapp.HockeyappRecorder.createPreconfiguredHttpClient(HockeyappRecorder.java:165)_ _at hockeyapp.HockeyappRecorder.performForApplication(HockeyappRecorder.java:252)_ _at hockeyapp.HockeyappRecorder.perform(HockeyappRecorder.java:204)_ _at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)_ _at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)_ _at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)_ _at hudson.model.Build$BuildExecution.post2(Build.java:185)_ _at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)_ _at hudson.model.Run.execute(Run.java:1753)_ _at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)_ _at hudson.model.ResourceController.execute(ResourceController.java:98)_ _at hudson.model.Executor.run(Executor.java:404)_ I've checked the Jenkins Master, and there's no folder like /_tmp_/jtf*.tmp folderBut When I downgrade the HockeyApp plugin to [1.2.1|http://ftp.icm.edu.pl/packages/jenkins/plugins/hockeyapp/1.2.1/hockeyapp.hpi], the application can be uploaded succeed with the exact same configuration. And the file can be found at JenkinsMarslo: _/tmp/jft*._tmp folder also._ _---_The second attempted:Change the *_App File (.ipa, .app.zip, .apk)_*: *_{color:#ff}**/**{color}/xxx-17-$\{BUILD_TYPE}.apk_*Error:_Uploading to HockeyApp..._ _No IPA/APK found to upload in: **/**/xxx-17-$\{BUILD_TYPE}.apk_ —The third attempted:Change the *__App File (.ipa, .app.zip, .apk): {color:#ff}$\{WORKSPACE}{color}/app/build/outputs/apk/xxx-$\{BUILD_NUMBER}-$\{BuildType}.apk__*Error:_Uploading to HockeyApp..._ _java.io.IOException: remote file operation failed: /home/salve/workspace/-job at hudson.remoting.Channel@b31cdf8:slave: java.io.IOException: Expecting Ant GLOB pattern, but saw '/home/slave/workspace/-job/app/build/outputs/apk/xxx-13-debug.apk'. See [http://ant.apache.org/manual/Types/fileset.html] for syntax_ _at hudson.FilePath.act(FilePath.java:992)_ _at hudson.FilePath.act(FilePath.java:974)_ _at hudson.FilePath.list(FilePath.java:1719)_ _at hudson.FilePath.list(FilePath.java:1704)_ _at hudson.FilePath.list(FilePath.java:1690)_ _at
[JIRA] (JENKINS-42564) App cannot be copy to Jenkins Master in HockeyApp 1.2.2 (Error: java.lang.NullPointerException)
Title: Message Title Marslo Jiao updated an issue Jenkins / JENKINS-42564 App cannot be copy to Jenkins Master in HockeyApp 1.2.2 (Error: java.lang.NullPointerException) Change By: Marslo Jiao Jenkins Master # of executors: 0Build app succeed and also can be archived. The HockeyApp Path:_*App File (.ipa, .app.zip, .apk)*: *app/build/outputs/apk/xxx-$\{BUILD_NUMBER}-$\{BuildType}.apk*_Upload Error:_Uploading to HockeyApp..._ _/tmp/jtf7699425629259393086.tmp/xxx-14-debug.apk_ _java.lang.NullPointerException_ _at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011)_ _at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006)_ _at org.apache.http.impl.client.BasicCredentialsProvider.setCredentials(BasicCredentialsProvider.java:61)_ _at hockeyapp.HockeyappRecorder.createPreconfiguredHttpClient(HockeyappRecorder.java:165)_ _at hockeyapp.HockeyappRecorder.performForApplication(HockeyappRecorder.java:252)_ _at hockeyapp.HockeyappRecorder.perform(HockeyappRecorder.java:204)_ _at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)_ _at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)_ _at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)_ _at hudson.model.Build$BuildExecution.post2(Build.java:185)_ _at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)_ _at hudson.model.Run.execute(Run.java:1753)_ _at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)_ _at hudson.model.ResourceController.execute(ResourceController.java:98)_ _at hudson.model.Executor.run(Executor.java:404)_ I've checked the Jenkins Master, and there's no folder like /_tmp_/jtf*.tmp folderBut When I downgrade the HockeyApp plugin to [1.2.1|http://ftp.icm.edu.pl/packages/jenkins/plugins/hockeyapp/1.2.1/hockeyapp.hpi], the application can be uploaded succeed with the exact same configuration. And the file can be found at JenkinsMarslo: _/tmp/jft*._tmp folder also._ _---_The second attempted:Change the *_App File (.ipa, .app.zip, .apk)_*: *_{color:#ff}**/**{color}/xxx-17-$\{BUILD_TYPE}.apk_*Error:_Uploading to HockeyApp..._ _No IPA/APK found to upload in: **/**/ Copd xxx -17-$\{BUILD_TYPE}.apk_ --- — The third attempted:Change the *__App File (.ipa, .app.zip, .apk): {color:#ff}$\{WORKSPACE}{color}/app/build/outputs/apk/xxx-$\{BUILD_NUMBER}-$\{BuildType}.apk__*Error:_Uploading to HockeyApp..._ _java.io.IOException: remote file operation failed: /home/salve/workspace/-job at hudson.remoting.Channel@b31cdf8:slave: java.io.IOException: Expecting Ant GLOB pattern, but saw '/home/slave/workspace/-job/app/build/outputs/apk/xxx-13-debug.apk'. See [http://ant.apache.org/manual/Types/fileset.html] for syntax_ _at hudson.FilePath.act(FilePath.java:992)_ _at hudson.FilePath.act(FilePath.java:974)_ _at hudson.FilePath.list(FilePath.java:1719)_ _at hudson.FilePath.list(FilePath.java:1704)_ _at hudson.FilePath.list(FilePath.java:1690)_ _at
[JIRA] (JENKINS-42564) App cannot be copy to Jenkins Master in HockeyApp 1.2.2 (Error: java.lang.NullPointerException)
Title: Message Title Marslo Jiao updated an issue Jenkins / JENKINS-42564 App cannot be copy to Jenkins Master in HockeyApp 1.2.2 (Error: java.lang.NullPointerException) Change By: Marslo Jiao Jenkins Master # of executors: 0Build app succeed and also can be archived. The HockeyApp Path:_*App File (.ipa, .app.zip, .apk)*: *app/build/outputs/apk/xxx-$\{BUILD_NUMBER}-$\{BuildType}.apk*_Upload Error:_Uploading to HockeyApp..._ _/tmp/jtf7699425629259393086.tmp/xxx-14-debug.apk_ _java.lang.NullPointerException_ _at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011)_ _at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006)_ _at org.apache.http.impl.client.BasicCredentialsProvider.setCredentials(BasicCredentialsProvider.java:61)_ _at hockeyapp.HockeyappRecorder.createPreconfiguredHttpClient(HockeyappRecorder.java:165)_ _at hockeyapp.HockeyappRecorder.performForApplication(HockeyappRecorder.java:252)_ _at hockeyapp.HockeyappRecorder.perform(HockeyappRecorder.java:204)_ _at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)_ _at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)_ _at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)_ _at hudson.model.Build$BuildExecution.post2(Build.java:185)_ _at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)_ _at hudson.model.Run.execute(Run.java:1753)_ _at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)_ _at hudson.model.ResourceController.execute(ResourceController.java:98)_ _at hudson.model.Executor.run(Executor.java:404)_ I've checked the Jenkins Master, and there's no folder like _ /_tmp_/jtf*.tmp ._ folder But When I downgrade the HockeyApp plugin to [1.2.1|http://ftp.icm.edu.pl/packages/jenkins/plugins/hockeyapp/1.2.1/hockeyapp.hpi], the application can be uploaded succeed with the exact same configuration. And the file can be found at JenkinsMarslo: _/tmp/jft*._tmp folder also._ _ — _---_ The second attempted:Change the *_App File (.ipa, .app.zip, .apk)_*: *_{color:#ff}**/**{color}/xxx-17-$\{BUILD_TYPE}.apk_*Error:_Uploading to HockeyApp..._ _No IPA/APK found to upload in: **/**/Copd-17-$\{BUILD_TYPE}.apk_ — --- The third attempted:Change the *__App File (.ipa, .app.zip, .apk): {color:#ff}$\{WORKSPACE}{color}/app/build/outputs/apk/xxx-$\{BUILD_NUMBER}-$\{BuildType}.apk__*Error:_Uploading to HockeyApp..._ _java.io.IOException: remote file operation failed: /home/salve/workspace/-job at hudson.remoting.Channel@b31cdf8:slave: java.io.IOException: Expecting Ant GLOB pattern, but saw '/home/slave/workspace/-job/app/build/outputs/apk/xxx-13-debug.apk'. See [http://ant.apache.org/manual/Types/fileset.html] for syntax_ _at hudson.FilePath.act(FilePath.java:992)_ _at hudson.FilePath.act(FilePath.java:974)_ _at hudson.FilePath.list(FilePath.java:1719)_ _at hudson.FilePath.list(FilePath.java:1704)_ _at hudson.FilePath.list(FilePath.java:1690)_ _at
[JIRA] (JENKINS-42564) App cannot be copy to Jenkins Master in HockeyApp 1.2.2 (Error: java.lang.NullPointerException)
Title: Message Title Marslo Jiao updated an issue Jenkins / JENKINS-42564 App cannot be copy to Jenkins Master in HockeyApp 1.2.2 (Error: java.lang.NullPointerException) Change By: Marslo Jiao Jenkins Master # of executors: 0Build app succeed and also can be archived. The HockeyApp Path:_*App File (.ipa, .app.zip, .apk)*: *app/build/outputs/apk/xxx-$\{BUILD_NUMBER}-$\{BuildType}.apk*_Upload Error:_Uploading to HockeyApp..._ _/tmp/jtf7699425629259393086.tmp/xxx-14-debug.apk_ _java.lang.NullPointerException_ _at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011)_ _at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006)_ _at org.apache.http.impl.client.BasicCredentialsProvider.setCredentials(BasicCredentialsProvider.java:61)_ _at hockeyapp.HockeyappRecorder.createPreconfiguredHttpClient(HockeyappRecorder.java:165)_ _at hockeyapp.HockeyappRecorder.performForApplication(HockeyappRecorder.java:252)_ _at hockeyapp.HockeyappRecorder.perform(HockeyappRecorder.java:204)_ _at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)_ _at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)_ _at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)_ _at hudson.model.Build$BuildExecution.post2(Build.java:185)_ _at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)_ _at hudson.model.Run.execute(Run.java:1753)_ _at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)_ _at hudson.model.ResourceController.execute(ResourceController.java:98)_ _at hudson.model.Executor.run(Executor.java:404)_ I've checked the Jenkins Master, and there's no folder like _/_tmp_/jtf*.tmp._But When I downgrade the HockeyApp plugin to [1.2.1| [ http://ftp.icm.edu.pl/packages/jenkins/plugins/hockeyapp/1.2.1/hockeyapp.hpi] ] , the application can be uploaded succeed with the exact same configuration. And the file can be found at JenkinsMarslo: _/tmp/jft*._tmp folder also._ _ —The second attempted:Change the *_App File (.ipa, .app.zip, .apk)_*: *_{color:#ff}**/**{color}/xxx-17-$\{BUILD_TYPE}.apk_*Error:_Uploading to HockeyApp..._ _No IPA/APK found to upload in: **/**/Copd-17-$\{BUILD_TYPE}.apk_ —The third attempted:Change the *__App File (.ipa, .app.zip, .apk): {color:#ff}$\{WORKSPACE}{color}/app/build/outputs/apk/xxx-$\{BUILD_NUMBER}-$\{BuildType}.apk__*Error:_Uploading to HockeyApp..._ _java.io.IOException: remote file operation failed: /home/salve/workspace/-job at hudson.remoting.Channel@b31cdf8:slave: java.io.IOException: Expecting Ant GLOB pattern, but saw '/home/slave/workspace/-job/app/build/outputs/apk/xxx-13-debug.apk'. See [http://ant.apache.org/manual/Types/fileset.html] for syntax_ _at hudson.FilePath.act(FilePath.java:992)_ _at hudson.FilePath.act(FilePath.java:974)_ _at hudson.FilePath.list(FilePath.java:1719)_ _at hudson.FilePath.list(FilePath.java:1704)_ _at hudson.FilePath.list(FilePath.java:1690)_ _at
[JIRA] (JENKINS-42564) App cannot be copy to Jenkins Master in HockeyApp 1.2.2 (Error: java.lang.NullPointerException)
Title: Message Title Marslo Jiao updated an issue Jenkins / JENKINS-42564 App cannot be copy to Jenkins Master in HockeyApp 1.2.2 (Error: java.lang.NullPointerException) Change By: Marslo Jiao Jenkins Master # of executors: 0Build app succeed and also can be archived. The HockeyApp Path:_*App File (.ipa, .app.zip, .apk)*: *app/build/outputs/apk/xxx-$\{BUILD_NUMBER}-$\{BuildType}.apk*_Upload Error:_Uploading to HockeyApp...__/tmp/jtf7699425629259393086.tmp/xxx-14-debug.apk__java.lang.NullPointerException_ _at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011)_ _at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006)_ _at org.apache.http.impl.client.BasicCredentialsProvider.setCredentials(BasicCredentialsProvider.java:61)_ _at hockeyapp.HockeyappRecorder.createPreconfiguredHttpClient(HockeyappRecorder.java:165)_ _at hockeyapp.HockeyappRecorder.performForApplication(HockeyappRecorder.java:252)_ _at hockeyapp.HockeyappRecorder.perform(HockeyappRecorder.java:204)_ _at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)_ _at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)_ _at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)_ _at hudson.model.Build$BuildExecution.post2(Build.java:185)_ _at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)_ _at hudson.model.Run.execute(Run.java:1753)_ _at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)_ _at hudson.model.ResourceController.execute(ResourceController.java:98)_ _at hudson.model.Executor.run(Executor.java:404)_ I've checked the Jenkins Master, and there's no folder like _/_tmp_/jtf*.tmp._ But When I downgrade the HockeyApp plugin to [1.2.1|[http://ftp.icm.edu.pl/packages/jenkins/plugins/hockeyapp/1.2.1/hockeyapp.hpi |http://ftp.icm.edu.pl/packages/jenkins/plugins/hockeyapp/1.2.1/hockeyapp.hpi ] , ] ] , the application can be uploaded succeed with the exact same configuration. And the file can be found at JenkinsMarslo: _/tmp/jft*._tmp folder also. _ __ _ --- — The second attempted:Change the *_App File (.ipa, .app.zip, .apk)_*: *_{color:#ff}**/**{color}/xxx-17-$\{BUILD_TYPE}.apk_*Error:_Uploading to HockeyApp...__No IPA/APK found to upload in: **/**/Copd-17-$\{BUILD_TYPE}.apk_ --- — The third attempted:Change the *__App File (.ipa, .app.zip, .apk): {color:#ff}$\{WORKSPACE}{color}/app/build/outputs/apk/xxx-$\{BUILD_NUMBER}-$\{BuildType}.apk__*Error:_Uploading to HockeyApp...__java.io.IOException: remote file operation failed: /home/salve/workspace/-job at hudson.remoting.Channel@b31cdf8:slave: java.io.IOException: Expecting Ant GLOB pattern, but saw '/home/slave/workspace/-job/app/build/outputs/apk/xxx-13-debug.apk'. See [ http://ant.apache.org/manual/Types/fileset.html ] for syntax__at hudson.FilePath.act(FilePath.java:992)__at hudson.FilePath.act(FilePath.java:974)__at hudson.FilePath.list(FilePath.java:1719)__at
[JIRA] (JENKINS-42564) App cannot be copy to Jenkins Master in HockeyApp 1.2.2 (Error: java.lang.NullPointerException)
Title: Message Title Marslo Jiao created an issue Jenkins / JENKINS-42564 App cannot be copy to Jenkins Master in HockeyApp 1.2.2 (Error: java.lang.NullPointerException) Issue Type: Bug Assignee: Unassigned Components: hockeyapp-plugin Created: 2017/Mar/08 8:23 AM Environment: Jenkins: 2.32.3 LTS HockeyApp: 1.2.2 Labels: plugin Priority: Critical Reporter: Marslo Jiao Jenkins Master # of executors: 0 Build app succeed and also can be archived. The HockeyApp Path: App File (.ipa, .app.zip, .apk): app/build/outputs/apk/xxx-${BUILD_NUMBER}-${BuildType}.apk Upload Error: Uploading to HockeyApp... /tmp/jtf7699425629259393086.tmp/xxx-14-debug.apk java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011) at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006) at org.apache.http.impl.client.BasicCredentialsProvider.setCredentials(BasicCredentialsProvider.java:61) at hockeyapp.HockeyappRecorder.createPreconfiguredHttpClient(HockeyappRecorder.java:165) at hockeyapp.HockeyappRecorder.performForApplication(HockeyappRecorder.java:252) at hockeyapp.HockeyappRecorder.perform(HockeyappRecorder.java:204) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665) at