Forecast Plugin - Error in R process: simple Error : parse error: premature EOF

Caio0109
Caio0109 Registered Posts: 1

I try to run my plugin but I still receiving this message:

Job failed: Error in R process: simpleError : parse error: premature EOF (right here) ------^

The log:

com.dataiku.common.server.APIError$SerializedErrorException: Error in R process: simpleError :  parse error: premature EOF
                                       
                     (right here) ------^

 at com.dataiku.dip.dataflow.exec.JobExecutionResultHandler.throwFromErrorFileIfPossible(JobExecutionResultHandler.java:106)
 at com.dataiku.dip.dataflow.exec.JobExecutionResultHandler.throwFromErrorFileOrLogs(JobExecutionResultHandler.java:39)
 at com.dataiku.dip.dataflow.exec.JobExecutionResultHandler.throwFromErrorFileOrLogs(JobExecutionResultHandler.java:34)
 at com.dataiku.dip.dataflow.exec.JobExecutionResultHandler.handleExecutionResult(JobExecutionResultHandler.java:26)
 at com.dataiku.dip.dataflow.exec.AbstractCodeBasedActivityRunner.execute(AbstractCodeBasedActivityRunner.java:77)
 at com.dataiku.dip.recipes.code.r.AbstractRRecipeRunner.executeScript(AbstractRRecipeRunner.java:39)
 at com.dataiku.dip.recipes.customcode.CustomRRecipeRunner.run(CustomRRecipeRunner.java:73)
 at com.dataiku.dip.dataflow.jobrunner.ActivityRunner$FlowRunnableThread.run(ActivityRunner.java:378)
[2024/04/30-17:59:29.288] [ActivityExecutor-54] [INFO] [dku.flow.activity] running compute_Test_clean_only_dates_NP - activity is finished
[2024/04/30-17:59:29.289] [ActivityExecutor-54] [ERROR] [dku.flow.activity] running compute_Test_clean_only_dates_NP - Activity failed
com.dataiku.common.server.APIError$SerializedErrorException: Error in R process: simpleError :  parse error: premature EOF
                                       
                     (right here) ------^

 at com.dataiku.dip.dataflow.exec.JobExecutionResultHandler.throwFromErrorFileIfPossible(JobExecutionResultHandler.java:106)
 at com.dataiku.dip.dataflow.exec.JobExecutionResultHandler.throwFromErrorFileOrLogs(JobExecutionResultHandler.java:39)
 at com.dataiku.dip.dataflow.exec.JobExecutionResultHandler.throwFromErrorFileOrLogs(JobExecutionResultHandler.java:34)
 at com.dataiku.dip.dataflow.exec.JobExecutionResultHandler.handleExecutionResult(JobExecutionResultHandler.java:26)
 at com.dataiku.dip.dataflow.exec.AbstractCodeBasedActivityRunner.execute(AbstractCodeBasedActivityRunner.java:77)
 at com.dataiku.dip.recipes.code.r.AbstractRRecipeRunner.executeScript(AbstractRRecipeRunner.java:39)
 at com.dataiku.dip.recipes.customcode.CustomRRecipeRunner.run(CustomRRecipeRunner.java:73)
 at com.dataiku.dip.dataflow.jobrunner.ActivityRunner$FlowRunnableThread.run(ActivityRunner.java:378)
[2024/04/30-17:59:29.290] [ActivityExecutor-54] [INFO] [dku.flow.activity] running compute_Test_clean_only_dates_NP - Executing default post-activity lifecycle hook
[2024/04/30-17:59:29.296] [ActivityExecutor-54] [INFO] [dku.flow.activity] running compute_Test_clean_only_dates_NP - Done post-activity tasks

Best Answer

Setup Info
    Tags
      Help me…