java.io.FileNotFoundException: URL [http://www.dropbox.com/<LOCATION>/log-sink-1.0.0.BUILD-SNAPSHOT-exec.jar] cannot be resolved to absolute file path because it does not reside in the file system: http://www.dropbox.com/<LOCATION>/log-sink-1.0.0.BUILD-SNAPSHOT-exec.jar

GitHub | sabbyanandan | 11 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Resolving stream app artifact from http endpoint fails

    GitHub | 11 months ago | sabbyanandan
    java.io.FileNotFoundException: URL [http://www.dropbox.com/<LOCATION>/log-sink-1.0.0.BUILD-SNAPSHOT-exec.jar] cannot be resolved to absolute file path because it does not reside in the file system: http://www.dropbox.com/<LOCATION>/log-sink-1.0.0.BUILD-SNAPSHOT-exec.jar

    Root Cause Analysis

    1. java.io.FileNotFoundException

      URL [http://www.dropbox.com/<LOCATION>/log-sink-1.0.0.BUILD-SNAPSHOT-exec.jar] cannot be resolved to absolute file path because it does not reside in the file system: http://www.dropbox.com/<LOCATION>/log-sink-1.0.0.BUILD-SNAPSHOT-exec.jar

      at org.springframework.cloud.dataflow.rest.client.VndErrorResponseErrorHandler.handleError()
    2. org.springframework.cloud
      VndErrorResponseErrorHandler.handleError
      1. org.springframework.cloud.dataflow.rest.client.VndErrorResponseErrorHandler.handleError(VndErrorResponseErrorHandler.java:52)
      1 frame
    3. Spring
      RestTemplate.postForObject
      1. org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:641)
      2. org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:597)
      3. org.springframework.web.client.RestTemplate.execute(RestTemplate.java:557)
      4. org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:357)
      4 frames
    4. org.springframework.cloud
      StreamCommands.createStream
      1. org.springframework.cloud.dataflow.rest.client.StreamTemplate.createStream(StreamTemplate.java:83)
      2. org.springframework.cloud.dataflow.shell.command.StreamCommands.createStream(StreamCommands.java:99)
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    6. Spring Core
      ReflectionUtils.invokeMethod
      1. org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:216)
      1 frame
    7. org.springframework.shell
      JLineShell.run
      1. org.springframework.shell.core.SimpleExecutionStrategy.invoke(SimpleExecutionStrategy.java:64)
      2. org.springframework.shell.core.SimpleExecutionStrategy.execute(SimpleExecutionStrategy.java:57)
      3. org.springframework.shell.core.AbstractShell.executeCommand(AbstractShell.java:130)
      4. org.springframework.shell.core.JLineShell.promptLoop(JLineShell.java:533)
      5. org.springframework.shell.core.JLineShell.run(JLineShell.java:179)
      5 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame