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]: "Database Lookup" component hangs on when editing #3387

Closed
coccoperaz83 opened this issue Nov 14, 2023 · 3 comments
Closed

[Bug]: "Database Lookup" component hangs on when editing #3387

coccoperaz83 opened this issue Nov 14, 2023 · 3 comments
Assignees
Labels
bug P2 Default Priority Transforms
Milestone

Comments

@coccoperaz83
Copy link

coccoperaz83 commented Nov 14, 2023

Apache Hop version?

2.6.0

Java version?

11.0.17

Operating system

Windows

What happened?

I'm developing a pipeline that reads data from a rest api and saves it to a mssql server database. The connection to the database is via VPN. By opening a "Database Lookup" step the GUI freezes and I have to wait about ten seconds before I can do anything. Every change made in the detail screen causes another GUI crash. In the Hop console I always get the same error: "Error in the Hop GUI: Failed to execute runnable..."

image

image

Issue Priority

Priority: 2

Issue Component

Component: Transforms

@hansva
Copy link
Contributor

hansva commented Nov 14, 2023

Does the connection work in Hop over VPN?
The stack trace seems to indicate that it wants to fetch metadata from the database but it can't connect to it.

@coccoperaz83
Copy link
Author

Hi Has,
when the GUI becomes responsive again I launch the transformation and it proceeds smoothly quickly, then the connection to the db actually works. I don't understand why it goes haywire in the editing screen. I indicated the "Database Lookup" step, but it happens with every step involving the db of course.

@mattcasters
Copy link
Contributor

Code needs hardening for when the database driver loses connection and give back a null for the row metadata (fields).
It's probably a timeout or something like that, which is causing the connection drop.

@mattcasters mattcasters self-assigned this Nov 14, 2023
mattcasters added a commit to mattcasters/hop that referenced this issue Nov 14, 2023
hansva added a commit that referenced this issue Nov 14, 2023
@hansva hansva added this to the 2.7 milestone Nov 14, 2023
@hansva hansva closed this as completed Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug P2 Default Priority Transforms
Projects
None yet
Development

No branches or pull requests

3 participants