(Pentaho PDI):Thread: Couldn't find starting point in this job - pentaho

Pentaho running job through command line
I have a pentaho job which runs successfully in pentaho but if i try to run the same through command line i get the error -(But It runs Successfully in one PC throws, error in another PC)
Here is my problem of the moment:
2016/12/12 16:52:30 - Start of job execution
2016/12/12 16:52:30 - ERROR (version 6.0.0.0-353, build 1 from 2015-10-07
13.27.43 by buildguy) : A serious error occurred during job execution:
2016/12/12 16:52:30 - Couldn't find starting point in this job.
2016/12/12 16:52:30 - ERROR (version 6.0.0.0-353, build 1 from 2015-10-07
13.27.43 by buildguy) : org.pentaho.di.core.exception.KettleJobException:
2016/12/12 16:52:30 - Couldn't find starting point in this job.
2016/12/12 16:52:30 - at org.pentaho.di.job.Job.execute(Job.java:532)
2016/12/12 16:52:30 - at org.pentaho.di.job.Job.run(Job.java:435)
2016/12/12 16:52:30 - Kitchen - Finished!
2016/12/12 16:52:30 - Kitchen - ERROR (version 6.0.0.0-353, build 1 from
2015-10-07 13.27.43 by buildguy) : Finished with errors
2016/12/12 16:52:30 - Kitchen - Start=2016/12/12 16:52:15.536, Stop=2016/12/12 16:52:30.652

Just had the same issue (9.1), but it disappeared after I deleted the "Start" step and replaced it with a new one. Looks like the "Start" step must be named "Start", so NO renaming it, even if it is allowed...

Aren't you trying to run a KTR file instead of a KJB?
Take a look:
http://forums.pentaho.com/showthread.php?58160-Couldn-t-find-starting-point-in-this-job

you should try pan, pan is PDI command line tools.
PDI Command line tools
sh /home/patel/Downloads/pdi/pdi-ce-9.0.0.0-423/data-integration/pan.sh /file:/home/patel/Documents/replication.ktr

Are you sure if you are using ****Start**** step while writing a job.
P.S. Each Pentaho job needs a start step to execute.

Claus's answer is right,if you rename you "Start" model,you should useing normal name "Start",I use this method fixed my problem.

Related

Build failed.Step 2: Build and initialize the new recipe. Initialize the system

I'm trying to install Spartacus for SAP Commerce 2005 following the guide:
https://sap.github.io/spartacus-docs/installing-sap-commerce-cloud-2005/
At Step 2-3 (Initialize the system using the following command) I've got an error:
[testClassesScanner] Found 12 ordercalculation testclasses in 7.191 ms
[touch] Creating C:\CX2005\hybris\temp\hybris\touch\ordercalculation_testsrctouch
[copy] Copying 1 file to C:\CX2005\hybris\bin\modules\integration-apis\outboundservices
[copy] Copying 1 file to C:\CX2005\hybris\bin\modules\integration-apis\outboundservices
[mkdir] Created dir: C:\CX2005\hybris\bin\modules\integration-apis\outboundservices\classes
[copy] Copying 1 file to C:\CX2005\hybris\bin\modules\integration-apis\odata2services
[copy] Copying 1 file to C:\CX2005\hybris\bin\modules\integration-apis\odata2services
[mkdir] Created dir: C:\CX2005\hybris\bin\modules\integration-apis\odata2services\classes
[yjavac] Compiling 73 source files to C:\CX2005\hybris\bin\modules\integration-apis\outboundservices\classes
[yjavac] Compiling 396 source files to C:\CX2005\hybris\bin\modules\integration-apis\odata2services\classes
[touch] Creating C:\CX2005\hybris\temp\hybris\touch\outboundservices_srctouch
[groovyc] Compiling 26 source files to C:\CX2005\hybris\bin\modules\integration-apis\outboundservices\classes
[touch] Creating C:\CX2005\hybris\temp\hybris\touch\odata2services_srctouch
[groovyc] Compiling 150 source files to C:\CX2005\hybris\bin\modules\integration-apis\odata2services\classes
[testClassesScanner] Found 218 odata2services testclasses in 16.72 ms
[touch] Creating C:\CX2005\hybris\temp\hybris\touch\odata2services_testsrctouch
BUILD FAILED
C:\CX2005\hybris\bin\platform\build.xml:13: The following error occurred while executing this line:
C:\CX2005\hybris\bin\platform\resources\ant\compiling.xml:75: The following error occurred while executing this line:
C:\CX2005\hybris\bin\platform\resources\ant\compiling.xml:116: The following error occurred while executing this line:
C:\CX2005\hybris\bin\platform\resources\ant\util.xml:42: The following error occurred while executing this line:
C:\CX2005\hybris\bin\platform\resources\ant\util.xml:44: The following error occurred while executing this line:
C:\CX2005\hybris\bin\platform\resources\ant\compiling.xml:123: The following error occurred while executing this line:
C:\CX2005\hybris\bin\platform\resources\ant\compiling.xml:340: The following error occurred while executing this line:
C:\CX2005\hybris\bin\modules\platform\groovynature\buildcallbacks.xml:33: BUG! exception in phase 'semantic analysis' in source unit 'C:\CX2005\hybris\bin\modules\integrati
n-apis\outboundservices\testsrc\de\hybris\platform\outboundservices\client\RestTemplateFactoryIntegrationTest.groovy' null
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:980)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:651)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:600)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:583)
at org.codehaus.groovy.tools.FileSystemCompiler.compile(FileSystemCompiler.java:75)
at org.codehaus.groovy.tools.FileSystemCompiler.doCompilation(FileSystemCompiler.java:243)
at org.codehaus.groovy.ant.Groovyc.runCompiler(Groovyc.java:1206)
at org.codehaus.groovy.ant.Groovyc.compile(Groovyc.java:1258)
at org.codehaus.groovy.ant.Groovyc.execute(Groovyc.java:853)
The last part of the log:
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:976)
... 102 more
Total time: 10 minutes 32 seconds
> Task :recipes:cx-for-spa:buildSystem FAILED
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\CX2005\installer\recipes\cx-for-spa\build.gradle' line: 594
* What went wrong:
Execution failed for task ':recipes:cx-for-spa:buildSystem'.
> external process returned non-zero exit code, command: [cmd, /c, set "ANT_OPTS=-Xmx1024m -Dfile.encoding=UTF-8" & set "PLATFORM_HOME=C:\CX2005\hybris\bin\platform" & set "ANT_HOME=C:\CX2005\hybris\bin\platform\apache-ant" & set "PATH=C:\CX2005\hybris\bin\platform\apache-ant\bin;%PATH%" & ant clean all]
Any ideas how to resolve this?
Regards,
Jegors
Commenting out below line in installer/customconfig/custom.properties resolved the issue.
#build.parallel=true
I had the same problem, maybe you should install Grunt and that is all.
I hope to be resolved your answer
Good Luck
Try after removing NodeJS path environment variable in windows.
Reffer this discussion from answers.sap.com, will help.

CucumberJvmSMFormatter: start has failed

Here is total information about my project:
- Cucumber for Java v191.6014.8;
- Gherkin v191.5849.16;
- II 2019 Community.
After start I get message: "Error running... /CucumberJvmSMFormatter".
But that decision didn't help me.
CucumberJvmSMFormatter Error on IntelliJ IDE
I expect the normal start of my test, but I see the message "Error running... /CucumberJvmSMFormatter"
This is caused by a mismatch between Cucumber version and IntelliJ / plugin version.
Try installing the Cucumber plugin again. If that doesn't work, try removing the CucumberJvmSMFormatter from your run arguments.

Unable to launch spoon from intellij

I am trying to launch PDI spoon from intellij(running in windows).
/lib/.jar and /libswt/win64/ have been added.
PDI version - pdi-ce-6.1.0.1-196.
But it is crashing mid way with the following error:
ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : org.pentaho.ui.xul.XulException: Can not locate Xul document [ui/spoon.xul]
2016/07/28 11:33:07 - General - at org.pentaho.ui.xul.impl.AbstractXulLoader.findDocument(AbstractXulLoader.java:520)
2016/07/28 11:33:07 - General - at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:238)
How can I resolve this issue?
It's because spoon ui needs config files.Download pentaho-kettle source then copy assembly/package-res/ui to your root dir.It will work.

Error while executing pentaho transformation (talking to Sql server) through java program

I have a Kettle (5.4.0.1) transformation which executes query in MS Sql server 2008 R2 in "Table Input" task.
The task executes successfully in the Spoon UI directly or through Job.
Same transformation I want to execute through a Java program for which I got this code -
KettleEnvironment.init();
TransMeta metaData = new TransMeta("first_transformation.ktr");
Trans trans = new Trans( metaData );
trans.execute( null );
trans.waitUntilFinished();
But on executing it in a java program I get this error -
2015/07/30 20:08:34 - TestTransformation - Dispatching started for
transformation [TestTransformation] 2015/07/30 20:08:34 - XML Output.0
- Opening output stream in encoding: UTF-8 2015/07/30 20:08:34 - Table input.0 - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55
by buildguy) : An error occurred, processing will be stopped:
2015/07/30 20:08:34 - Table input.0 - Error occurred while trying to
connect to the database 2015/07/30 20:08:34 - Table input.0 -
java.io.File parameter must be a directory.
[C:\Root\EclipseWorkSpace\TestProject\simple-jndi] 2015/07/30 20:08:34
- Table input.0 - Finished reading query, closing connection. 2015/07/30 20:08:34 - Table input.0 - ERROR (version 5.4.0.1-130,
build 1 from 2015-06-14_12-34-55 by buildguy) : Error initializing
step [Table input] 2015/07/30 20:08:34 - TestTransformation - ERROR
(version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) :
Step [Table input.0] failed to initialize!
org.pentaho.di.core.exception.KettleException: We failed to
initialize at least one step. Execution can not begin! at
org.pentaho.di.trans.Trans.prepareExecution(Trans.java:1149) at
org.pentaho.di.trans.Trans.execute(Trans.java:607) at
TestKettle.main(TestKettle.java:24)
What could be the issue here as the database connection happens successfully while executing through UI and same KTR file I am trying to execute in above code?
It seems that the Table Input Step in the Ktr is not able to read the data.
Firstly, if you are calling a ktr file from Java code, make sure that the database driver jar files is properly imported/build inside the Java project. I mean import the "sqlserver" database jar file in the java project.
You may try reading this blog. I have used Maven to handle dependency of jars (my db was : postgresql). And it works :)
Hope this helps :)
For anyone else facing this issue - The problem was the folder Simple-Jndi from Pentaho installation directory was required to be placed in the project folder which is not obvious from the error message above although it is mentioned in the error.
2015/07/30 20:08:34 - Table input.0 - java.io.File parameter must be a directory. [C:\Root\EclipseWorkSpace\TestProject\simple-jndi]
After this, I got two other errors which were more clear and was about files missing in the project folder - ESAPI.Properties and validation.properties. I downloaded them from link given here. Then the program ran successfully.

Error while generating tstsuite from commandline

While generating test cases using command line option I am getting the following error.
EvoSuite
Going to generate test cases for class: testgeneration.Multiplication
[MASTER] 14:03:51.716 [main] ERROR TestGeneration - Not possible to access to clients. Clients' state: Terminated with exit status 1. Master registry port: 14981
[MASTER] 14:03:51.803 [main] ERROR SearchStatistics - No statistics has been saved because EvoSuite failed to generate any test case
[MASTER] 14:03:51.904 [main] ERROR TestGeneration - failed to write statistics data
That can happen if EvoSuite's client process does crash. Why is crashing is hard to tell without further information. Could it be a bug in EvoSuite, or some weird combination of events.