java.lang.ArrayIndexOutOfBoundsException: 0

YouTrack | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. java.lang.ArrayIndexOutOfBoundsException

    0

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