Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
hdam
Contributor
Contributor

TAC not working - ERROR TaskExecutionHistoryLogger - String index out of range: -1

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

Labels (3)
3 Replies
Anonymous
Not applicable

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

hdam
Contributor
Contributor
Author

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?

Anonymous
Not applicable

Hello,

In Talend Administration Center, there are two types of collected logs:

  • the technical logs, that gather technical events like the status of connections and servers, and so on.
  • the business logs, that gather all users' actions, like the creation, connection, deletion, and edition of a user, a Job and so on.

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