java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.util.HashSet

YouTrack | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    IDEA doesn't show TeamCity inspections in editor

    YouTrack | 8 months ago
    java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.util.HashSet

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.util.ArrayList cannot be cast to java.util.HashSet

      at jetbrains.buildServer.codeInspection.InspectionsPass.deserializeValues()
    2. TeamCity Build Server
      AbstractCacheAwareTCHighlightingPass$1.run
      1. jetbrains.buildServer.codeInspection.InspectionsPass.deserializeValues(InspectionsPass.java:85)
      2. jetbrains.buildServer.codeInsight.BaseTCHighlightingPass.fetchData(BaseTCHighlightingPass.java:59)
      3. jetbrains.buildServer.codeInsight.AbstractCacheAwareTCHighlightingPass$1.run(AbstractCacheAwareTCHighlightingPass.java:89)
      3 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames