java.io.FileNotFoundException: */bin/*release.apk (No such file or directory)

Jenkins JIRA | Mikolaj Leszczynski | 4 years ago
  1. 0

    In a job where multiple .apk files are produced it's not possible to use wildcards or to specify multiple artifacts to upload: Uploading to testflight File: */bin/*release.apk java.io.FileNotFoundException: */bin/*release.apk (No such file or directory) java.io.FileNotFoundException: */bin/*release.apk (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:137) at org.apache.http.entity.mime.content.FileBody.writeTo(FileBody.java:78) at org.apache.james.mime4j.message.MessageWriter.writeBody(MessageWriter.java:76) at org.apache.http.entity.mime.HttpMultipart.doWriteTo(HttpMultipart.java:165) at org.apache.http.entity.mime.HttpMultipart.writeTo(HttpMultipart.java:223) at org.apache.http.entity.mime.MultipartEntity.writeTo(MultipartEntity.java:179) at org.apache.http.impl.entity.EntitySerializer.serialize(EntitySerializer.java:127) at org.apache.http.impl.AbstractHttpClientConnection.sendRequestEntity(AbstractHttpClientConnection.java:253) at org.apache.http.impl.conn.AbstractClientConnAdapter.sendRequestEntity(AbstractClientConnAdapter.java:218) at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:249) at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:483) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:597) at testflight.TestflightUploader.upload(TestflightUploader.java:117) at testflight.TestflightRemoteRecorder.call(TestflightRemoteRecorder.java:61) at hudson.remoting.LocalChannel.call(LocalChannel.java:45) at testflight.TestflightRecorder.perform(TestflightRecorder.java:158) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:798) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:770) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:720) at hudson.model.Run.execute(Run.java:1600) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) Build step 'Upload to Testflight' marked build as failure This is basically an app with several different skins, so the build produces multiple apk files. Archiving the artifacts using the above wildcard gives the expected results. It would be nice be able to pass either a wildcard or list of build files to the plugin.

    Jenkins JIRA | 4 years ago | Mikolaj Leszczynski
    java.io.FileNotFoundException: */bin/*release.apk (No such file or directory)
  2. 0

    In a job where multiple .apk files are produced it's not possible to use wildcards or to specify multiple artifacts to upload: Uploading to testflight File: */bin/*release.apk java.io.FileNotFoundException: */bin/*release.apk (No such file or directory) java.io.FileNotFoundException: */bin/*release.apk (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:137) at org.apache.http.entity.mime.content.FileBody.writeTo(FileBody.java:78) at org.apache.james.mime4j.message.MessageWriter.writeBody(MessageWriter.java:76) at org.apache.http.entity.mime.HttpMultipart.doWriteTo(HttpMultipart.java:165) at org.apache.http.entity.mime.HttpMultipart.writeTo(HttpMultipart.java:223) at org.apache.http.entity.mime.MultipartEntity.writeTo(MultipartEntity.java:179) at org.apache.http.impl.entity.EntitySerializer.serialize(EntitySerializer.java:127) at org.apache.http.impl.AbstractHttpClientConnection.sendRequestEntity(AbstractHttpClientConnection.java:253) at org.apache.http.impl.conn.AbstractClientConnAdapter.sendRequestEntity(AbstractClientConnAdapter.java:218) at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:249) at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:483) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:597) at testflight.TestflightUploader.upload(TestflightUploader.java:117) at testflight.TestflightRemoteRecorder.call(TestflightRemoteRecorder.java:61) at hudson.remoting.LocalChannel.call(LocalChannel.java:45) at testflight.TestflightRecorder.perform(TestflightRecorder.java:158) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:798) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:770) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:720) at hudson.model.Run.execute(Run.java:1600) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) Build step 'Upload to Testflight' marked build as failure This is basically an app with several different skins, so the build produces multiple apk files. Archiving the artifacts using the above wildcard gives the expected results. It would be nice be able to pass either a wildcard or list of build files to the plugin.

    Jenkins JIRA | 4 years ago | Mikolaj Leszczynski
    java.io.FileNotFoundException: */bin/*release.apk (No such file or directory)
  3. 0

    Jmeter Uploading a file

    Google Groups | 3 years ago | Babu.M Bhagyaraj
    java.io.FileNotFoundException: 40connection.csv (The system cannot find the file specified)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Running from the latest jar and prepackaged models gives error

    GitHub | 4 years ago | pablomendes
    java.io.FileNotFoundException: org.dbpedia.spotlight.web.rest.Server/model/tokens.mem (No such file or directory)
  6. 0

    awscrededentials.conf in git, but it's singular on the filesystem

    GitHub | 4 years ago | pcn
    java.io.FileNotFoundException: /etc/awscredential.properties (No such file or directory)

  1. r1chjames 1 times, last 3 days ago
  2. richard77 1 times, last 1 week ago
  3. gehel 2 times, last 2 weeks ago
  4. Kialandei 100 times, last 2 weeks ago
  5. Reich 1 times, last 2 weeks ago
45 more registered users
50 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    */bin/*release.apk (No such file or directory)

    at java.io.FileInputStream.open()
  2. Java RT
    FileInputStream.<init>
    1. java.io.FileInputStream.open(Native Method)
    2. java.io.FileInputStream.<init>(FileInputStream.java:137)
    2 frames
  3. Apache HttpClient Mime
    FileBody.writeTo
    1. org.apache.http.entity.mime.content.FileBody.writeTo(FileBody.java:78)
    1 frame
  4. JAMES DOM
    MessageWriter.writeBody
    1. org.apache.james.mime4j.message.MessageWriter.writeBody(MessageWriter.java:76)
    1 frame
  5. Apache HttpClient Mime
    MultipartEntity.writeTo
    1. org.apache.http.entity.mime.HttpMultipart.doWriteTo(HttpMultipart.java:165)
    2. org.apache.http.entity.mime.HttpMultipart.writeTo(HttpMultipart.java:223)
    3. org.apache.http.entity.mime.MultipartEntity.writeTo(MultipartEntity.java:179)
    3 frames
  6. Apache Http
    AbstractHttpClientConnection.sendRequestEntity
    1. org.apache.http.impl.entity.EntitySerializer.serialize(EntitySerializer.java:127)
    2. org.apache.http.impl.AbstractHttpClientConnection.sendRequestEntity(AbstractHttpClientConnection.java:253)
    2 frames
  7. Apache HttpClient
    AbstractClientConnAdapter.sendRequestEntity
    1. org.apache.http.impl.conn.AbstractClientConnAdapter.sendRequestEntity(AbstractClientConnAdapter.java:218)
    1 frame
  8. Apache Http
    HttpRequestExecutor.execute
    1. org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:249)
    2. org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)
    2 frames
  9. Apache HttpClient
    AbstractHttpClient.execute
    1. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:483)
    2. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641)
    3. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:597)
    3 frames
  10. testflight
    TestflightRemoteRecorder.call
    1. testflight.TestflightUploader.upload(TestflightUploader.java:117)
    2. testflight.TestflightRemoteRecorder.call(TestflightRemoteRecorder.java:61)
    2 frames
  11. Hudson :: Remoting Layer
    LocalChannel.call
    1. hudson.remoting.LocalChannel.call(LocalChannel.java:45)
    1 frame
  12. testflight
    TestflightRecorder.perform
    1. testflight.TestflightRecorder.perform(TestflightRecorder.java:158)
    1 frame
  13. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:798)
    3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:770)
    4. hudson.model.Build$BuildExecution.post2(Build.java:183)
    5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:720)
    6. hudson.model.Run.execute(Run.java:1600)
    7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    8. hudson.model.ResourceController.execute(ResourceController.java:88)
    9. hudson.model.Executor.run(Executor.java:237)
    9 frames