dsanderbi opened a new issue, #6073:
URL: https://github.com/apache/hop/issues/6073

   ### Apache Hop version?
   
   2.16
   
   ### Java version?
   
   17
   
   ### Operating system
   
   Windows
   
   ### What happened?
   
   When using the SQL action in a workflow **Hop** throws an error if the 
**Connection** **Name** is provided through a **variable** instead of a _static 
value_.
   
   <img width="682" height="254" alt="Image" 
src="https://github.com/user-attachments/assets/82ee1a9b-7d05-49b1-ad94-8b1ce42cfe13";
 />
   
   <img width="822" height="157" alt="Image" 
src="https://github.com/user-attachments/assets/5d264c5e-9093-465d-bfc5-5b97a5faf18e";
 />
   
   
   ### Steps to Reproduce
   
   - Define a Hop variable, e.g. ${DB_CONNECTION}
   - Assign a valid database connection name to this variable
   - Create a new workflow
   - Add a SQL action
   - Set the Connection field to ${DB_CONNECTION}
   - Save
   - Reopen the SQL action
   
   ```bash
   NullPointerException: Cannot invoke 
"org.apache.hop.core.database.DatabaseMeta.getReservedWords()" because 
"databaseMeta" is null
   Root cause: NullPointerException: Cannot invoke 
"org.apache.hop.core.database.DatabaseMeta.getReservedWords()" because 
"databaseMeta" is null
   ```
   
   
   
   
   ### Issue Priority
   
   Priority: 2
   
   ### Issue Component
   
   Component: Actions


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to