org.jetel.exception.TransformException: Message: Transform failed! caused by: org.jetel.ctl.TransformLangExecutorRuntimeException: Interpreter runtime exception in function substring on line 6 column 26 - 'String index out of range: -1'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via GitHub by Omertron

You need to make sure that capitalisation of the case for the plugin in the properties file is exactly: "AllocinePlugin" and not "allocineplugin"

,
Expert tip

This is a bug when using Micromax devices with VideoView. You can either exclude these devices or look at this workaround: http://stackoverflow.com/a/31942841/4347859

Solutions on the web

via Oracle Community by 935034, 1 year ago
Message: Transform failed! caused by: org.jetel.ctl.TransformLangExecutorRuntimeException: Interpreter runtime exception in function substring on line 6 column 26 - 'String index out of range: -1'
org.jetel.exception.TransformException: Message: Transform failed! caused by: org.jetel.ctl.TransformLangExecutorRuntimeException: Interpreter runtime exception in function substring on line 6 column 26 - 'String index out of range: -1'
at java.lang.String.substring(String.java:1931)
at org.jetel.ctl.extensions.StringLib.substring(StringLib.java:162)
at org.jetel.ctl.extensions.StringLib$SubstringFunction.execute(StringLib.java:174)
at org.jetel.ctl.TransformLangExecutor.visit(TransformLangExecutor.java:2216)
at org.jetel.ctl.ASTnode.CLVFFunctionCall.jjtAccept(CLVFFunctionCall.java:56)
at org.jetel.ctl.TransformLangExecutor.visit(TransformLangExecutor.java:1483)
at org.jetel.ctl.ASTnode.CLVFVariableDeclaration.jjtAccept(CLVFVariableDeclaration.java:48)
at org.jetel.ctl.TransformLangExecutor.executeAndCleanup(TransformLangExecutor.java:2435)
at org.jetel.ctl.TransformLangExecutor.visit(TransformLangExecutor.java:1424)
at org.jetel.ctl.ASTnode.CLVFBlock.jjtAccept(CLVFBlock.java:43)
at org.jetel.ctl.TransformLangExecutor.executeFunction(TransformLangExecutor.java:2308)
at org.jetel.ctl.TransformLangExecutor.executeFunction(TransformLangExecutor.java:2365)
at org.jetel.component.CTLRecordTransformAdapter.transformImpl(CTLRecordTransformAdapter.java:108)
at org.jetel.component.CTLRecordTransformAdapter.transform(CTLRecordTransformAdapter.java:89)
at org.jetel.component.Reformat.execute(Reformat.java:271)
at org.jetel.graph.Node.run(Node.java:414)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

2 times, 1 month ago
3 times, 1 year ago
4 times, 1 year ago
4 times, 1 week ago
4803 times, 1 week ago
105 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.