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]: Step JavaScript => no script present #4944

Open
Jerem59 opened this issue Feb 25, 2025 · 4 comments
Open

[Bug]: Step JavaScript => no script present #4944

Jerem59 opened this issue Feb 25, 2025 · 4 comments

Comments

@Jerem59
Copy link

Jerem59 commented Feb 25, 2025

Apache Hop version?

2.11.0

Java version?

openjdk version "17.0.2" 2022-01-18

Operating system

Windows

What happened?

Hello

i have a workflow calling a pipeline to rename files with a script in step JavaScript

Random error to find the script in the JavaScript with this message in details log

2025/02/19 00:11:24 - Script_Rename.0 - Optimization level set to 9.
2025/02/19 00:11:24 - Script_Rename.0 - No starting Script found!
2025/02/19 00:11:24 - Script_Rename.0 - No pipeline_Status found. Pipeline status checking not available.
2025/02/19 00:11:24 - Script_Rename.0 - No end Script found!
2025/02/19 00:11:24 - Script_Rename.0 - Finished processing (I=0, O=0, R=5, W=5, U=0, E=0)

Image

Image

Thanks in advance

Issue Priority

Priority: 3

Issue Component

Component: Transforms

@Jerem59
Copy link
Author

Jerem59 commented Feb 25, 2025

Previous execution OK => log
2025/02/18 00:29:28 - 1_clean_files - Pipeline has allocated a new transform: [Move_Files].0
2025/02/18 00:29:28 - 1_clean_files - Pipeline is about to allocate transform [Script_Rename] of type [ScriptValueMod]
2025/02/18 00:29:28 - Script_Rename.0 - Starting allocation of buffers & new threads...
2025/02/18 00:29:28 - Script_Rename.0 - Transform info: nrinput=1 nroutput=1
2025/02/18 00:29:28 - Script_Rename.0 - Got previous transform from [Script_Rename] #0 --> Get_Date
2025/02/18 00:29:28 - Script_Rename.0 - input rel is 1:1
2025/02/18 00:29:28 - Script_Rename.0 - Found input rowset [Get_Date.0 - Script_Rename.0]
2025/02/18 00:29:28 - Script_Rename.0 - output rel. is 1:1
2025/02/18 00:29:28 - Script_Rename.0 - Found output rowset [Script_Rename.0 - Dummy (do nothing) 2.0]
2025/02/18 00:29:28 - Script_Rename.0 - Finished dispatching

@nadment
Copy link
Contributor

nadment commented Feb 25, 2025

Perhaps use the semicolon at the end of a statement will help

@hansva
Copy link
Contributor

hansva commented Feb 25, 2025

Do I read this correctly? Does the same script sometimes work and sometimes doesn't?

@Jerem59
Copy link
Author

Jerem59 commented Feb 27, 2025

Excatly, random problem

@hansva hansva removed the bug label Mar 12, 2025
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