java.lang.RuntimeException: index (-1) must not be negative

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 Atlassian JIRA by Dariusz Kordonski, 1 year ago
index (-1) must not be negative
via Atlassian JIRA by Dariusz Kordonski [Atlassian], 1 year ago
index (-1) must not be negative
via GitHub by bturner
, 3 months ago
This pull request has been declined and must be reopened before it can be merged.. Listener: nl.topicus.bitbucket.api.PullRequestListener event: com.atlassian.bitbucket.event.pull.PullRequestRescopedEvent
via GitHub by mkobit
, 3 months ago
Illegal character in path at index 60: http://ourjenkinsinstance.com/bitbucket-scmsource-hook/notify . Listener: nl.topicus.bitbucket.api.PullRequestListener event: com.atlassian.bitbucket.event.repository.RepositoryPushEvent
via GitHub by mkobit
, 8 months ago
Illegal character in path at index 60: http://ourjenkinsinstance.com/bitbucket-scmsource-hook/notify . Listener: nl.topicus.bitbucket.api.PullRequestListener event: com.atlassian.bitbucket.event.repository.RepositoryPushEvent
via GitHub by tgruenert
, 2 years ago
internal error: SHA-1 not available.
java.lang.RuntimeException: index (-1) must not be negative
at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54)
at com.atlassian.stash.internal.event.AsyncBatchingInvokersTransformer$AsyncInvokerBatch.invoke(AsyncBatchingInvokersTransformer.java:100)
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48)
at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:38)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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