java.lang.ArithmeticException: BigInteger: modulus not positive

YouTrack | 3 months ago
  1. 0

    java.lang.ArithmeticException: BigInteger: modulus not positive

    YouTrack | 3 months ago
    java.lang.ArithmeticException: BigInteger: modulus not positive
  2. 0

    BigInteger modulus not positive exception

    Stack Overflow | 3 years ago | Sparrow
    java.lang.ArithmeticException: BigInteger: modulus not positive
  3. 0

    Internal compiler error: java.lang.ArithmeticException: BigInteger: modulus not positive

    YouTrack | 1 year ago
    java.lang.ArithmeticException: BigInteger: modulus not positive
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Modulus not positive :BigInteger

    Stack Overflow | 5 years ago | CoolEulerProject
    java.lang.ArithmeticException: BigInteger: modulus no t positive
  6. 0

    strange exception by using BigInteger

    Oracle Community | 1 decade ago | 807549
    java.lang.ArithmeticException: BigInteger divide by zero

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

      BigInteger: modulus not positive

      at java.math.BigInteger.mod()
    2. Java RT
      BigInteger.mod
      1. java.math.BigInteger.mod(BigInteger.java:2458)
      1 frame
    3. com.jetbrains.cidr
      OCPreprocessingLexer.lookAhead
      1. com.jetbrains.cidr.lang.util.OCNumber.mod(OCNumber.java:159)
      2. com.jetbrains.cidr.lang.util.OCExpressionEvaluator$ValueEvaluator.evalBinary(OCExpressionEvaluator.java:609)
      3. com.jetbrains.cidr.lang.util.OCExpressionEvaluator$EvaluationVisitor.visitBinaryExpression(OCExpressionEvaluator.java:321)
      4. com.jetbrains.cidr.lang.psi.impl.OCBinaryExpressionImpl.accept(OCBinaryExpressionImpl.java:106)
      5. com.jetbrains.cidr.lang.psi.impl.OCElementBase.accept(OCElementBase.java:75)
      6. com.jetbrains.cidr.lang.util.OCExpressionEvaluator.evaluate(OCExpressionEvaluator.java:176)
      7. com.jetbrains.cidr.lang.util.OCExpressionEvaluator$EvaluationVisitor.visitBinaryExpression(OCExpressionEvaluator.java:321)
      8. com.jetbrains.cidr.lang.psi.impl.OCBinaryExpressionImpl.accept(OCBinaryExpressionImpl.java:106)
      9. com.jetbrains.cidr.lang.psi.impl.OCElementBase.accept(OCElementBase.java:75)
      10. com.jetbrains.cidr.lang.util.OCExpressionEvaluator.evaluate(OCExpressionEvaluator.java:176)
      11. com.jetbrains.cidr.lang.util.OCExpressionEvaluator.evaluate(OCExpressionEvaluator.java:135)
      12. com.jetbrains.cidr.lang.preprocessor.OCPreprocessingLexer.b(OCPreprocessingLexer.java:634)
      13. com.jetbrains.cidr.lang.preprocessor.OCPreprocessingLexer.access$000(OCPreprocessingLexer.java:50)
      14. com.jetbrains.cidr.lang.preprocessor.OCPreprocessingLexer$1.fun(OCPreprocessingLexer.java:431)
      15. com.jetbrains.cidr.lang.preprocessor.OCPreprocessingLexer$1.fun(OCPreprocessingLexer.java:429)
      16. com.jetbrains.cidr.lang.preprocessor.OCPreprocessingLexer.a(OCPreprocessingLexer.java:455)
      17. com.jetbrains.cidr.lang.preprocessor.OCPreprocessingLexer.a(OCPreprocessingLexer.java:480)
      18. com.jetbrains.cidr.lang.preprocessor.OCPreprocessingLexer.lookAhead(OCPreprocessingLexer.java:183)
      18 frames
    4. IDEA
      PsiBuilderFactoryImpl.createBuilder
      1. com.intellij.lexer.LookAheadLexer.doLookAhead(LookAheadLexer.java:73)
      2. com.intellij.lexer.LookAheadLexer.advance(LookAheadLexer.java:65)
      3. com.intellij.lang.impl.PsiBuilderImpl.a(PsiBuilderImpl.java:301)
      4. com.intellij.lang.impl.PsiBuilderImpl.<init>(PsiBuilderImpl.java:194)
      5. com.intellij.lang.impl.PsiBuilderImpl.<init>(PsiBuilderImpl.java:161)
      6. com.intellij.lang.impl.PsiBuilderFactoryImpl.createBuilder(PsiBuilderFactoryImpl.java:78)
      6 frames
    5. com.jetbrains.cidr
      OCSymbolTablesBuildingActivity$14$2.run
      1. com.jetbrains.cidr.lang.symbols.symtable.OCSymbolTableProvider.calcTable(OCSymbolTableProvider.java:63)
      2. com.jetbrains.cidr.lang.symbols.symtable.OCSymbolTableProvider.calcTable(OCSymbolTableProvider.java:29)
      3. com.jetbrains.cidr.lang.symbols.symtable.FileSymbolTablesCache.forFile(FileSymbolTablesCache.java:415)
      4. com.jetbrains.cidr.lang.symbols.symtable.FileSymbolTable.forFile(FileSymbolTable.java:171)
      5. com.jetbrains.cidr.lang.preprocessor.OCInclusionContext.preprocessInclude(OCInclusionContext.java:801)
      6. com.jetbrains.cidr.lang.preprocessor.OCInclusionContext.preprocessInclude(OCInclusionContext.java:788)
      7. com.jetbrains.cidr.lang.preprocessor.OCImportGraph.getAllRootHeaders(OCImportGraph.java:128)
      8. com.jetbrains.cidr.lang.preprocessor.OCImportGraph.buildSymbolAndRootHeaderCache(OCImportGraph.java:85)
      9. com.jetbrains.cidr.lang.symbols.symtable.OCSymbolTablesBuildingActivity$OCSymbolTableBuilder$5$1.consume(OCSymbolTablesBuildingActivity.java:677)
      10. com.jetbrains.cidr.lang.symbols.symtable.OCSymbolTablesBuildingActivity$OCSymbolTableBuilder$5$1.consume(OCSymbolTablesBuildingActivity.java:674)
      11. com.jetbrains.cidr.lang.symbols.symtable.OCSymbolTablesBuildingActivity$14$2.run(OCSymbolTablesBuildingActivity.java:781)
      11 frames
    6. IDEA
      ApplicationImpl.tryRunReadAction
      1. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1026)
      1 frame
    7. com.jetbrains.cidr
      OCSymbolTablesBuildingActivity$14.run
      1. com.jetbrains.cidr.lang.symbols.symtable.OCSymbolTablesBuildingActivity$9.value(OCSymbolTablesBuildingActivity.java:420)
      2. com.jetbrains.cidr.lang.symbols.symtable.OCSymbolTablesBuildingActivity.a(OCSymbolTablesBuildingActivity.java:457)
      3. com.jetbrains.cidr.lang.symbols.symtable.OCSymbolTablesBuildingActivity.b(OCSymbolTablesBuildingActivity.java:417)
      4. com.jetbrains.cidr.lang.symbols.symtable.OCSymbolTablesBuildingActivity.access$1400(OCSymbolTablesBuildingActivity.java:49)
      5. com.jetbrains.cidr.lang.symbols.symtable.OCSymbolTablesBuildingActivity$14.run(OCSymbolTablesBuildingActivity.java:773)
      5 frames
    8. IDEA
      CoreProgressManager.runProcess
      1. com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:170)
      2. com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:494)
      3. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443)
      4. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      5. com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:155)
      5 frames
    9. com.jetbrains.cidr
      OCSymbolTablesBuildingActivity$12.run
      1. com.jetbrains.cidr.lang.symbols.symtable.OCSymbolTablesBuildingActivity.a(OCSymbolTablesBuildingActivity.java:741)
      2. com.jetbrains.cidr.lang.symbols.symtable.OCSymbolTablesBuildingActivity.access$500(OCSymbolTablesBuildingActivity.java:49)
      3. com.jetbrains.cidr.lang.symbols.symtable.OCSymbolTablesBuildingActivity$12.run(OCSymbolTablesBuildingActivity.java:714)
      3 frames
    10. IDEA
      ApplicationImpl$2.run
      1. com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:307)
      1 frame
    11. 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