java.lang.AssertionError: Only integer constants should be checked for overflow

YouTrack | 4 months ago
  1. 0

    AE: Only integer constants should be checked for overflow

    YouTrack | 4 months ago
    java.lang.AssertionError: Only integer constants should be checked for overflow
  2. 0

    AssertionError: classname com/bci/wsr/common/constants/UCMDocInfo should be dotted

    GitHub | 1 year ago | mikeliucc
    java.lang.AssertionError: classname com/bci/wsr/common/constants/UCMDocInfo should be dotted
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    'findInheritors' had thrown an exception on View hierarchy for java.io.File in File View

    YouTrack | 2 years ago
    java.lang.AssertionError: stop() should only be called after start()
  5. 0

    Exception when try to create an Erlang scratch file

    GitHub | 4 months ago | istocniks
    java.lang.AssertionError: This method should only be called in unit tests

    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.AssertionError

      Only integer constants should be checked for overflow

      at org.jetbrains.kotlin.resolve.constants.evaluate.ConstantExpressionEvaluatorVisitor.evaluateBinaryAndCheck()
    2. org.jetbrains.kotlin
      AbstractKtReference.resolve
      1. org.jetbrains.kotlin.resolve.constants.evaluate.ConstantExpressionEvaluatorVisitor.evaluateBinaryAndCheck(ConstantExpressionEvaluator.kt:505)
      2. org.jetbrains.kotlin.resolve.constants.evaluate.ConstantExpressionEvaluatorVisitor.evaluateCall(ConstantExpressionEvaluator.kt:448)
      3. org.jetbrains.kotlin.resolve.constants.evaluate.ConstantExpressionEvaluatorVisitor.visitBinaryExpression(ConstantExpressionEvaluator.kt:403)
      4. org.jetbrains.kotlin.resolve.constants.evaluate.ConstantExpressionEvaluatorVisitor.visitBinaryExpression(ConstantExpressionEvaluator.kt:228)
      5. org.jetbrains.kotlin.psi.KtBinaryExpression.accept(KtBinaryExpression.java:33)
      6. org.jetbrains.kotlin.resolve.constants.evaluate.ConstantExpressionEvaluatorVisitor.evaluate(ConstantExpressionEvaluator.kt:241)
      7. org.jetbrains.kotlin.resolve.constants.evaluate.ConstantExpressionEvaluator.evaluateExpression(ConstantExpressionEvaluator.kt:201)
      8. org.jetbrains.kotlin.types.expressions.BasicExpressionTypingVisitor.visitBinaryExpression(BasicExpressionTypingVisitor.java:990)
      9. org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.visitBinaryExpression(ExpressionTypingVisitorDispatcher.java:404)
      10. org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher$ForBlock.visitBinaryExpression(ExpressionTypingVisitorDispatcher.java:68)
      11. org.jetbrains.kotlin.psi.KtBinaryExpression.accept(KtBinaryExpression.java:33)
      12. org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher$1.invoke(ExpressionTypingVisitorDispatcher.java:182)
      13. org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher$1.invoke(ExpressionTypingVisitorDispatcher.java:172)
      14. org.jetbrains.kotlin.util.PerformanceCounter.time(PerformanceCounter.kt:92)
      15. org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.getTypeInfo(ExpressionTypingVisitorDispatcher.java:172)
      16. org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.getTypeInfo(ExpressionTypingVisitorDispatcher.java:143)
      17. org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorForStatements.visitBinaryExpression(ExpressionTypingVisitorForStatements.java:170)
      18. org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorForStatements.visitBinaryExpression(ExpressionTypingVisitorForStatements.java:59)
      19. org.jetbrains.kotlin.psi.KtBinaryExpression.accept(KtBinaryExpression.java:33)
      20. org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher$1.invoke(ExpressionTypingVisitorDispatcher.java:182)
      21. org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher$1.invoke(ExpressionTypingVisitorDispatcher.java:172)
      22. org.jetbrains.kotlin.util.PerformanceCounter.time(PerformanceCounter.kt:92)
      23. org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.getTypeInfo(ExpressionTypingVisitorDispatcher.java:172)
      24. org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.getTypeInfo(ExpressionTypingVisitorDispatcher.java:156)
      25. org.jetbrains.kotlin.types.expressions.ExpressionTypingServices.getTypeOfLastExpressionInBlock(ExpressionTypingServices.java:292)
      26. org.jetbrains.kotlin.types.expressions.ExpressionTypingServices.getBlockReturnedTypeWithWritableScope(ExpressionTypingServices.java:243)
      27. org.jetbrains.kotlin.types.expressions.ExpressionTypingServices.getBlockReturnedType(ExpressionTypingServices.java:175)
      28. org.jetbrains.kotlin.types.expressions.ExpressionTypingServices.getBlockReturnedType(ExpressionTypingServices.java:154)
      29. org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorForStatements.visitBlockExpression(ExpressionTypingVisitorForStatements.java:388)
      30. org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorForStatements.visitBlockExpression(ExpressionTypingVisitorForStatements.java:59)
      31. org.jetbrains.kotlin.psi.KtBlockExpression.accept(KtBlockExpression.java:44)
      32. org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher$1.invoke(ExpressionTypingVisitorDispatcher.java:182)
      33. org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher$1.invoke(ExpressionTypingVisitorDispatcher.java:172)
      34. org.jetbrains.kotlin.util.PerformanceCounter.time(PerformanceCounter.kt:92)
      35. org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.getTypeInfo(ExpressionTypingVisitorDispatcher.java:172)
      36. org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.getTypeInfo(ExpressionTypingVisitorDispatcher.java:156)
      37. org.jetbrains.kotlin.types.expressions.ExpressionTypingServices.checkFunctionReturnType(ExpressionTypingServices.java:149)
      38. org.jetbrains.kotlin.types.expressions.ExpressionTypingServices.checkFunctionReturnType(ExpressionTypingServices.java:133)
      39. org.jetbrains.kotlin.resolve.BodyResolver.resolveFunctionBody(BodyResolver.java:831)
      40. org.jetbrains.kotlin.resolve.BodyResolver.resolveFunctionBody(BodyResolver.java:777)
      41. org.jetbrains.kotlin.idea.project.ResolveElementCache.functionAdditionalResolve(ResolveElementCache.kt:470)
      42. org.jetbrains.kotlin.idea.project.ResolveElementCache.performElementAdditionalResolve(ResolveElementCache.kt:277)
      43. org.jetbrains.kotlin.idea.project.ResolveElementCache.getElementAdditionalResolve(ResolveElementCache.kt:153)
      44. org.jetbrains.kotlin.idea.project.ResolveElementCache.resolveToElement(ResolveElementCache.kt:193)
      45. org.jetbrains.kotlin.idea.caches.resolve.ResolutionFacadeImpl.analyze(ProjectResolutionFacade.kt:109)
      46. org.jetbrains.kotlin.idea.caches.resolve.ResolutionUtils.analyze(resolutionApi.kt:60)
      47. org.jetbrains.kotlin.idea.references.AbstractKtReference.resolveToPsiElements(KtReference.kt:74)
      48. org.jetbrains.kotlin.idea.references.AbstractKtReference.resolve(KtReference.kt:50)
      48 frames
    3. IDEA
      JobLauncherImpl$VoidForkJoinTask$1.exec
      1. com.intellij.codeInsight.TargetElementUtil.doGetReferenceOrReferencedElement(TargetElementUtil.java:391)
      2. com.intellij.codeInsight.TargetElementUtil.getReferenceOrReferencedElement(TargetElementUtil.java:368)
      3. com.intellij.codeInsight.TargetElementUtil.doFindTargetElement(TargetElementUtil.java:238)
      4. com.intellij.codeInsight.TargetElementUtil.findTargetElement(TargetElementUtil.java:210)
      5. com.intellij.codeInsight.daemon.impl.IdentifierHighlighterPass.doCollectInformation(IdentifierHighlighterPass.java:91)
      6. com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70)
      7. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$0(PassExecutorService.java:434)
      8. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1034)
      9. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:427)
      10. com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:494)
      11. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443)
      12. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      13. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:426)
      14. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:402)
      15. com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:154)
      15 frames
    4. Java RT
      ForkJoinWorkerThread.run
      1. java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      2. java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
      3. java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
      4. java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      4 frames