Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: The Execution Information Perspective from Remote Location returns a HopException #2320

Closed
DAJGIT opened this issue Feb 14, 2023 · 4 comments
Assignees
Milestone

Comments

@DAJGIT
Copy link

DAJGIT commented Feb 14, 2023

Apache Hop version?

2.2.0 / 2.3.0

Java version?

11

Operating system

Linux

What happened?

The Execution Information Perspective from Remote Location returns a HopException Error when select a transform in the 'Data tab'. The other tabs (Info,Log and Metrics) works OK.

image

HopException:
Error getting execution data from remote location
Cannot construct instance of org.apache.hop.execution.ExecutionData (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('org.apache.hop.core.exception.HopException:
Please specify the execution ID with parameter 'id'
at org.apache.hop.www.GetExecutionInfoServlet.doGet(GetExecutionInfoServlet.java:198)

If you test the same but in Local-Audit works OK:
image

Issue Priority

Priority: 3

Issue Component

Component: Hop Gui

@mattcasters
Copy link
Contributor

What type of location are you using on the server?

@DAJGIT
Copy link
Author

DAJGIT commented Feb 14, 2023

To reproduce the issue I'm trying to access the same audit files (JSON) locally and via server at localhost:8080

This is the setup:
Execution Information Location for the server:

image

The server is located at localhost:8080
image

Execution Information Location for local-audit:
image

Then I can access the same execution information locally and via server:
image

If you access locally everything is Ok, but via server returns a HopException Error when select a transform in the 'Data tab'. The other tabs (Info,Log and Metrics) works OK via server.

image

Searching for the error message "Please specify the execution ID with parameter id" in the code
it seems the parameter ID is empty when calling GetExecutionInfoServlet.java (Lines 196-198)

@mattcasters
Copy link
Contributor

Thanks for the detailed response. I managed to reproduce the issue, caused by a typo.
I'll create an integration test for this to make sure it stays fixed.

mattcasters added a commit to mattcasters/hop that referenced this issue Feb 15, 2023
…m Remote Location returns a HopException
@mattcasters mattcasters self-assigned this Feb 15, 2023
mattcasters added a commit to mattcasters/hop that referenced this issue Feb 15, 2023
…m Remote Location returns a HopException (file name change)
mattcasters added a commit to mattcasters/hop that referenced this issue Feb 15, 2023
…m Remote Location returns a HopException
mattcasters added a commit to mattcasters/hop that referenced this issue Feb 15, 2023
…m Remote Location returns a HopException (file name change)
@DAJGIT
Copy link
Author

DAJGIT commented Feb 15, 2023

I appreciate your quick response, thank you!

hansva added a commit that referenced this issue Feb 15, 2023
Fix for issue #2320 : The Execution Information Perspective from Remote Location returns a HopException
@hansva hansva added this to the 2.4 milestone Feb 15, 2023
@hansva hansva closed this as completed Feb 15, 2023
mattcasters added a commit to mattcasters/hop that referenced this issue Feb 17, 2023
…m Remote Location returns a HopException (IT bug fix)
mattcasters added a commit to mattcasters/hop that referenced this issue Feb 17, 2023
…m Remote Location returns a HopException (IT bug fix)
hansva added a commit that referenced this issue Feb 17, 2023
Fix for issue #2320 : Execution Information Perspective for Remote Location fails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants