Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
We are running Talend 6.2.1 for a while. We recently get ERROR TaskExecutionHistoryLogger - String index out of range: -1 and TAC stop working. Any ideas how does this happen and how to avoid it? Following is stack trace:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at
java.lang.String.substring(String.java:1927) at
org.talend.administrator.scheduler.business.job.logs.LimitedLengthStringBuilderWrapper.toString(LimitedLengthStringBuilderWrapper.java:161) at
org.talend.administrator.scheduler.business.job.logs.JobExecutionLogParser.parseJobExecutionLog(JobExecutionLogParser.java:138) at
org.talend.administrator.dashboard.business.taskexecution.logfile.TaskExecutionLogManager.parseJobExecutionLogWithPreview(TaskExecutionLogManager.java:552) at org.talend.administrator.dashboard.business.taskexecution.TaskExecutionHistoryLogger.updateLogPreview(TaskExecutionHistoryLogger.java:403) at
org.talend.administrator.scheduler.jobs.RemoteTaskExecution.finalizeJobExecution(RemoteTaskExecution.java:794) at
org.talend.administrator.scheduler.jobs.RemoteTaskExecution.notifyTaskStatusEvent(RemoteTaskExecution.java:718) at
Hello,
What's status in your taskexecutionhistory records? Are all execution showing successful from taskexecutionhistory? Could you please attach task execution log files here?
Best regards
Sabrina
Hi,
It looks okay prior to this issue that forced us to restart TAC. After restarting everything behaves normal again until the same issue repeats itself.
Where are the task execution log files?
Hello,
In Talend Administration Center, there are two types of collected logs:
You can configure Technical log file path on the Menu tree view, click Configuration and click the Logging group to display its parameters.
TAC log is located in <ServersInstallationPath>\apache-tomcat-XXX\logs
Best regards
Sabrina