java.lang.StringIndexOutOfBoundsException: String index out of range: -1

GitHub | chenson42 | 4 months ago
  1. 0

    StringOutOfBoundsException in Sql Explorer

    GitHub | 4 months ago | chenson42
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  2. 0
    You need to make sure that capitalisation of the case for the plugin in the properties file is exactly: "AllocinePlugin" and not "allocineplugin"
    via GitHub by Omertron
  3. 0

    POSTagger | Training new language model

    Stack Overflow | 2 years ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Classpath resolution fails with Maven

    GitHub | 6 months ago | gzsombor
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  6. 0

    How to fix the ERROR [[jsp]] Servlet.service() for servlet jsp threw exception?

    Stack Overflow | 2 years ago | balaguru
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.StringIndexOutOfBoundsException

    String index out of range: -1

    at java.lang.String.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(String.java:1919)
    1 frame
  3. org.jumpmind.vaadin
    SqlSuggester.getSuggestions
    1. org.jumpmind.vaadin.ui.sqlexplorer.SqlSuggester.getCurrentQuery(SqlSuggester.java:219)
    2. org.jumpmind.vaadin.ui.sqlexplorer.SqlSuggester.getReferencedTableNames(SqlSuggester.java:238)
    3. org.jumpmind.vaadin.ui.sqlexplorer.SqlSuggester.getSuggestions(SqlSuggester.java:52)
    3 frames
  4. org.vaadin.aceeditor
    SuggestionExtension$1.suggest
    1. org.vaadin.aceeditor.SuggestionExtension$1.suggest(SuggestionExtension.java:47)
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  6. com.vaadin.server
    PushAtmosphereHandler.onRequest
    1. com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:158)
    2. com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:119)
    3. com.vaadin.server.communication.ServerRpcHandler.handleInvocation(ServerRpcHandler.java:435)
    4. com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:407)
    5. com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:273)
    6. com.vaadin.server.communication.PushHandler$2.run(PushHandler.java:148)
    7. com.vaadin.server.communication.PushHandler.callWithUi(PushHandler.java:240)
    8. com.vaadin.server.communication.PushHandler.onMessage(PushHandler.java:494)
    9. com.vaadin.server.communication.PushAtmosphereHandler.onMessage(PushAtmosphereHandler.java:87)
    10. com.vaadin.server.communication.PushAtmosphereHandler.onRequest(PushAtmosphereHandler.java:77)
    10 frames
  7. atmosphere-runtime
    JSR356Endpoint$1.onMessage
    1. org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:199)
    2. org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:107)
    3. org.atmosphere.container.Servlet30CometSupport.service(Servlet30CometSupport.java:66)
    4. org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:2075)
    5. org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:571)
    6. org.atmosphere.websocket.DefaultWebSocketProcessor$3.run(DefaultWebSocketProcessor.java:333)
    7. org.atmosphere.util.VoidExecutorService.execute(VoidExecutorService.java:101)
    8. org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:328)
    9. org.atmosphere.websocket.DefaultWebSocketProcessor.invokeWebSocketProtocol(DefaultWebSocketProcessor.java:425)
    10. org.atmosphere.container.JSR356Endpoint$1.onMessage(JSR356Endpoint.java:214)
    11. org.atmosphere.container.JSR356Endpoint$1.onMessage(JSR356Endpoint.java:211)
    11 frames
  8. Jetty
    SelectChannelEndPoint$2.run
    1. org.eclipse.jetty.websocket.jsr356.messages.TextWholeMessage.messageComplete(TextWholeMessage.java:56)
    2. org.eclipse.jetty.websocket.jsr356.endpoints.JsrEndpointEventDriver.onTextFrame(JsrEndpointEventDriver.java:218)
    3. org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(AbstractEventDriver.java:162)
    4. org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSession.java:367)
    5. org.eclipse.jetty.websocket.common.extensions.AbstractExtension.nextIncomingFrame(AbstractExtension.java:176)
    6. org.eclipse.jetty.websocket.common.extensions.compress.PerMessageDeflateExtension.nextIncomingFrame(PerMessageDeflateExtension.java:105)
    7. org.eclipse.jetty.websocket.common.extensions.compress.CompressExtension.forwardIncoming(CompressExtension.java:142)
    8. org.eclipse.jetty.websocket.common.extensions.compress.PerMessageDeflateExtension.incomingFrame(PerMessageDeflateExtension.java:85)
    9. org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(ExtensionStack.java:220)
    10. org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:220)
    11. org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:256)
    12. org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:675)
    13. org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:505)
    14. org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
    15. org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
    16. org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
    16 frames
  9. org.eclipse.jetty
    ExecuteProduceConsume.run
    1. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:246)
    2. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:156)
    2 frames
  10. Jetty
    QueuedThreadPool$3.run
    1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
    2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
    2 frames
  11. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame