java.lang.NoSuchMethodError: com.google.common.io.ByteStreams.newInputStreamSupplier([B)Lcom/google/common/io/InputSupplier;

Google Groups | shyam joshi | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    How to Supply Arguments to ProgramClient

    Google Groups | 7 months ago | shyam joshi
    java.lang.NoSuchMethodError: com.google.common.io.ByteStreams.newInputStreamSupplier([B)Lcom/google/common/io/InputSupplier;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.google.common.io.ByteStreams.newInputStreamSupplier([B)Lcom/google/common/io/InputSupplier;

      at co.cask.common.http.HttpRequest$Builder.withBody()
    2. co.cask.common
      HttpRequest$Builder.withBody
      1. co.cask.common.http.HttpRequest$Builder.withBody(HttpRequest.java:166)[co.cask.common.common-http-0.7.1.jar:na]
      2. co.cask.common.http.HttpRequest$Builder.withBody(HttpRequest.java:161)[co.cask.common.common-http-0.7.1.jar:na]
      2 frames
    3. co.cask.cdap
      ProgramClient.setRuntimeArgs
      1. co.cask.cdap.client.ProgramClient.setRuntimeArgs(ProgramClient.java:630)[na:na]
      1 frame
    4. com.trgr.ecp
      MainAction.run
      1. com.trgr.ecp.platform.workflow.actions.MainAction.run(MainAction.java:45)[na:na]
      1 frame
    5. co.cask.cdap
      WorkflowDriver.run
      1. co.cask.cdap.internal.app.runtime.workflow.CustomActionExecutor.runInTransaction(CustomActionExecutor.java:107)[co.cask.cdap.cdap-app-fabric-3.4.1.jar:na]
      2. co.cask.cdap.internal.app.runtime.workflow.CustomActionExecutor.execute(CustomActionExecutor.java:82)[co.cask.cdap.cdap-app-fabric-3.4.1.jar:na]
      3. co.cask.cdap.internal.app.runtime.workflow.WorkflowDriver.executeCustomAction(WorkflowDriver.java:413)[co.cask.cdap.cdap-app-fabric-3.4.1.jar:na]
      4. co.cask.cdap.internal.app.runtime.workflow.WorkflowDriver.executeNode(WorkflowDriver.java:436)[co.cask.cdap.cdap-app-fabric-3.4.1.jar:na]
      5. co.cask.cdap.internal.app.runtime.workflow.WorkflowDriver.executeAll(WorkflowDriver.java:533)[co.cask.cdap.cdap-app-fabric-3.4.1.jar:na]
      6. co.cask.cdap.internal.app.runtime.workflow.WorkflowDriver.run(WorkflowDriver.java:521)[co.cask.cdap.cdap-app-fabric-3.4.1.jar:na]
      6 frames
    6. Guava
      AbstractExecutionThreadService$1$1.run
      1. com.google.common.util.concurrent.AbstractExecutionThreadService$1$1.run(AbstractExecutionThreadService.java:52)[com.google.guava.guava-13.0.1.jar:na]
      1 frame
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_60]
      1 frame