java.lang.RuntimeException: java.lang.RuntimeException: Unable to find factory method com.scotcro.gcr.dataflow.components.pipelines.GoogleCredentialProvider#fromOptions

  1. 0

    Using Google Cloud Dataflow how do I run with proper credentials on a GCE Compute instance?

    Stack Overflow | 1 year ago | user1121204
    java.lang.RuntimeException: java.lang.RuntimeException: Unable to find factory method com.scotcro.gcr.dataflow.components.pipelines.GoogleCredentialProvider#fromOptions
  2. 0

    Credential exception in Travis build

    GitHub | 7 months ago | nevillelyh
    java.lang.RuntimeException: Unable to get application default credentials. Please see https://developers.google.com/accounts/docs/application-default-credentials for details on how to specify credentials. This version of the SDK is dependent on the gcloud core component version 2015.02.05 or newer to be able to get credentials from the currently authorized user via gcloud auth.
  3. 0

    Dataflow Program on Google App Engine

    Stack Overflow | 1 year ago | Hemanth Kumar
    java.lang.RuntimeException: Failed to construct instance from factory method com.google.cloud.dataflow.sdk.runners.DataflowPipelineRunner#fromOptions
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Dataflow program on AppEngine

    Google Groups | 1 year ago | Hemanth Kumar
    java.lang.RuntimeException: Failed to construct instance from factory method com.google.cloud.dataflow.sdk.runners.DataflowPipelineRunner#fromOptions
  6. 0

    GitHub comment 31#76301107

    GitHub | 2 years ago | pgrosu
    java.lang.RuntimeException: Failed to construct instance from factory met hod com.google.cloud.dataflow.sdk.runners.BlockingDataflowPipelineRunner#fromOptions

    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.lang.RuntimeException

      Unable to find factory method com.scotcro.gcr.dataflow.components.pipelines.GoogleCredentialProvider#fromOptions

      at com.google.cloud.dataflow.sdk.util.InstanceBuilder.buildFromMethod()
    2. com.google.cloud
      ProxyInvocationHandler.invoke
      1. com.google.cloud.dataflow.sdk.util.InstanceBuilder.buildFromMethod(InstanceBuilder.java:224)
      2. com.google.cloud.dataflow.sdk.util.InstanceBuilder.build(InstanceBuilder.java:161)
      3. com.google.cloud.dataflow.sdk.options.GcpOptions$GcpUserCredentialsFactory.create(GcpOptions.java:180)
      4. com.google.cloud.dataflow.sdk.options.GcpOptions$GcpUserCredentialsFactory.create(GcpOptions.java:175)
      5. com.google.cloud.dataflow.sdk.options.ProxyInvocationHandler.getDefault(ProxyInvocationHandler.java:288)
      6. com.google.cloud.dataflow.sdk.options.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:127)
      6 frames
    3. com.sun.proxy
      $Proxy42.getGcpCredential
      1. com.sun.proxy.$Proxy42.getGcpCredential(Unknown Source)
      1 frame
    4. com.google.cloud
      Pipeline.run
      1. com.google.cloud.dataflow.sdk.io.DatastoreIO$Source.getDatastore(DatastoreIO.java:335)
      2. com.google.cloud.dataflow.sdk.io.DatastoreIO$Source.createReader(DatastoreIO.java:320)
      3. com.google.cloud.dataflow.sdk.io.DatastoreIO$Source.createReader(DatastoreIO.java:186)
      4. com.google.cloud.dataflow.sdk.runners.dataflow.BasicSerializableSourceFormat.evaluateReadHelper(BasicSerializableSourceFormat.java:259)
      5. com.google.cloud.dataflow.sdk.io.Read$Bound$1.evaluate(Read.java:123)
      6. com.google.cloud.dataflow.sdk.io.Read$Bound$1.evaluate(Read.java:120)
      7. com.google.cloud.dataflow.sdk.runners.DirectPipelineRunner$Evaluator.visitTransform(DirectPipelineRunner.java:684)
      8. com.google.cloud.dataflow.sdk.runners.TransformTreeNode.visit(TransformTreeNode.java:200)
      9. com.google.cloud.dataflow.sdk.runners.TransformTreeNode.visit(TransformTreeNode.java:196)
      10. com.google.cloud.dataflow.sdk.runners.TransformHierarchy.visit(TransformHierarchy.java:99)
      11. com.google.cloud.dataflow.sdk.Pipeline.traverseTopologically(Pipeline.java:208)
      12. com.google.cloud.dataflow.sdk.runners.DirectPipelineRunner$Evaluator.run(DirectPipelineRunner.java:640)
      13. com.google.cloud.dataflow.sdk.runners.DirectPipelineRunner.run(DirectPipelineRunner.java:354)
      14. com.google.cloud.dataflow.sdk.runners.DirectPipelineRunner.run(DirectPipelineRunner.java:76)
      15. com.google.cloud.dataflow.sdk.Pipeline.run(Pipeline.java:149)
      15 frames
    5. com.scotcro.gcr
      GcrDataflowApp.main
      1. com.scotcro.gcr.dataflow.app.GcrDataflowApp.run(GcrDataflowApp.java:65)
      2. com.scotcro.gcr.dataflow.app.GcrDataflowApp.main(GcrDataflowApp.java:49)
      2 frames