Uploaded image for project: 'Apache Hop (Retired)'
  1. Apache Hop (Retired)
  2. HOP-3445

hop-server execution with async plugin returning java.lang.NoSuchMethodError exception

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • None
    • Hop Server, Plugins
    • None

    Description

      When starting a hop server with the -j project flag and trying to execute asynchRun service endpoint we are getting the below:

      endpoint: http://34.71.86.128/hop/asyncRun/?service=dataload

      error:
      java.lang.NoSuchMethodError: org.apache.hop.metadata.util.HopMetadataUtil.getStandardHopMetadataProvider(Lorg/apache/hop/core/variables/IVariables;)Lorg/apache/hop/metadata/api/IHopMetadataProvider

      Hop server starts successfully with the below response:

      root@ds-workbench-hop-2:/home/hop#* ./hop-server.sh hop-server.xml -j async-sample-project &*
      [1] 12083
      root@ds-workbench-hop-2:/home/hop# 2021/10/26 17:12:53 - HopServer - Enabling project 'async-sample-project'
      2021/10/26 17:12:53 - HopServer - Installing timer to purge stale objects after 1440 minutes.
      2021/10/26 17:12:53 - HopServer - Created listener for webserver @ address : 10.128.0.16:80

      Project output:
      root@ds-workbench-hop-2:/home/hop# ./hop-conf.sh -pl
      Projects:
      async-sample-project : /home/hop-projects/async-sample-project
      Configuration file: file:/home/hop-projects/async-sample-project/project-config.json

      latest async plugin jar attached to this ticket

      stack trace error message attached to this ticket

      Metadata folder is defined in the hop-server.xml (also attached)

      Project is also attached, it is using the sample project defined in the async-plugin repository without the default project as parent: https://github.com/mattcasters/hop-async-run.git

      Attachments

        1. async-sample-project.zip
          24 kB
          Yancarlo Perez
        2. hop-async-run-0.1.0.jar
          36 kB
          Yancarlo Perez
        3. hop-server.xml
          2 kB
          Yancarlo Perez
        4. stack-trace-error.txt
          3 kB
          Yancarlo Perez

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yancarlo.perez Yancarlo Perez
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Slack

                  Issue deployment