java.lang.IndexOutOfBoundsException: Index: 1, Size: 1


Solutions on the web103

Solution icon of web
via netbeans.org by Unknown author, 8 months ago
Index: 1, Size: 1

Solution icon of github
via GitHub by flubbes
, 1 year ago
Index: 1, Size: 1

Solution icon of github
via GitHub by dh3wr
, 4 months ago
Index: 1, Size: 1

Solution icon of googlegroups
via Google Groups by Dali, 9 months ago
Index: 1, Size: 1

Solution icon of stackoverflow
Index: 1, Size: 1

Solution icon of github
via GitHub by fg6
, 11 months ago
Index: -1, Size: 1

Solution icon of stackoverflow
via Stack Overflow by Gal Sheldon
, 1 year ago
Index: 1, Size: 1

Solution icon of github
Index: 1, Size: 1

Solution icon of github
Index: 1, Size: 1

Solution icon of apache
Index: -1, Size: 1

Stack trace

java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
	at java.util.LinkedList.checkElementIndex(LinkedList.java:555)
	at java.util.LinkedList.get(LinkedList.java:476)
	at org.netbeans.modules.java.source.save.Reindenter.getNewIndent(Reindenter.java:600)
	at org.netbeans.modules.java.source.save.Reindenter.reindent(Reindenter.java:167)
	at org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:555)
	at org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:316)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 5 months ago
46 times, 9 months ago
9 more bugmates