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

java.lang.ArrayIndexOutOfBoundsException: 0	at com.jetbrains.upsource.backend.server.mail.MailUtils.truncateCommitMessage(MailUtils.java:194)	at com.jetbrains.upsource.backend.server.watching.ProjectWatchKind$1.lambda$performAction$478(ProjectWatchKind.java:68)	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)	at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1540)	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)	at com.jetbrains.upsource.backend.server.watching.ProjectWatchKind$1.performAction(ProjectWatchKind.java:64)	at com.jetbrains.upsource.backend.server.watching.ProjectWatchKind.performAction(ProjectWatchKind.java:207)	at com.jetbrains.upsource.backend.server.watching.WatchesHandler.handleProjectWatches(WatchesHandler.java:184)	at com.jetbrains.upsource.backend.server.watching.WatchesHandler.lambda$handleWatches$466(WatchesHandler.java:117)	at java.util.Arrays$ArrayList.forEach(Arrays.java:3880)	at com.jetbrains.upsource.backend.server.watching.WatchesHandler.handleWatches(WatchesHandler.java:108)	at com.jetbrains.upsource.backend.server.watching.WatchesHandler.lambda$new$462(WatchesHandler.java:54)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at com.jetbrains.upsource.util.NamedDaemonThreadFactory.lambda$wrapRunnable$10(NamedDaemonThreadFactory.java:34)	at java.lang.Thread.run(Thread.java:745)