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

Solutions on the web

via GitHub by HellishINC
, 1 year ago
String index out of range: -1
via YouTrack by Unknown author, 2 years ago
via Stack Overflow by Unknown author, 2 years ago
via GitHub by Culvanen
, 1 year ago
String index out of range: -2
java.lang.StringIndexOutOfBoundsException: String index out of range: -1	at java.lang.AbstractStringBuilder.deleteCharAt(Unknown Source)	at java.lang.StringBuilder.deleteCharAt(Unknown Source)	at com.jaquadro.minecraft.chameleon.resources.ModelRegistry.getResourceLocation(ModelRegistry.java:139)	at com.jaquadro.minecraft.chameleon.resources.ModelRegistry.loadModels(ModelRegistry.java:88)	at com.jaquadro.minecraft.chameleon.core.ClientProxy.onModelBakeEvent(ClientProxy.java:25)	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_7_ClientProxy_onModelBakeEvent_ModelBakeEvent.invoke(.dynamic)	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:68)	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:159)	at net.minecraftforge.client.ForgeHooksClient.onModelBake(ForgeHooksClient.java:392)	at net.minecraft.client.renderer.block.model.ModelManager.func_110549_a(ModelManager.java:30)	at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110544_b(SimpleReloadableResourceManager.java:132)	at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110541_a(SimpleReloadableResourceManager.java:113)	at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:763)	at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:338)	at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:520)	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:351)	at net.minecraft.client.main.Main.main(SourceFile:124)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:310)	at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:395)	at org.multimc.EntryPoint.listen(EntryPoint.java:170)