Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Python
  3. Question
Python

java lang StringIndexOutOfBoundsException String index out of range

Asked by Christopher Paterson Jul 17, 2021 757 views 1 answer
Share

About this question

 Hi,

I am getting an error in Spark. I tried to use groupByKey() function in scala. But it shows the below error.

ERROR executor.Executor: Exception in task 0.0 in stage 12.0 (TID 28)
java.lang.StringIndexOutOfBoundsException: String index out of range: 1

Can anyone tell me the reason?

Thank You

Your answer

1 Answer

More Python discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Python Blogs

Guides, tips and career advice on Python from JanBask experts.