Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-5777

Executable model ConcurrentModificationException when building KieBase

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • executable model
    • None
    • 2020 Week 43-45 (from Okt 19)
    • Undefined
    • NEW
    • NEW
    • ---
    • ---

      This is the stack trace:

       

      java.util.ConcurrentModificationException: null
      	at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1134)
      	at org.drools.model.impl.NamesGenerator.generateName(NamesGenerator.java:32)
      	at org.drools.modelcompiler.builder.generator.DRLIdGenerator.generateAccumulatorBindingId(DRLIdGenerator.java:79)
      	at org.drools.modelcompiler.builder.generator.DRLIdGenerator.lambda$getOrCreateAccumulateBindingId$3(DRLIdGenerator.java:59)
      	at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1133)
      	at org.drools.modelcompiler.builder.generator.DRLIdGenerator.getOrCreateAccumulateBindingId(DRLIdGenerator.java:59)
      	at org.drools.modelcompiler.builder.generator.RuleContext.getOrCreateAccumulatorBindingId(RuleContext.java:388)
      	at org.drools.modelcompiler.builder.generator.visitor.accumulate.AccumulateVisitor.visit(AccumulateVisitor.java:178)
      	at org.drools.modelcompiler.builder.generator.visitor.accumulate.AccumulateVisitor.classicAccumulate(AccumulateVisitor.java:145)
      	at org.drools.modelcompiler.builder.generator.visitor.accumulate.AccumulateVisitor.visit(AccumulateVisitor.java:128)
      	at org.drools.modelcompiler.builder.generator.visitor.ModelGeneratorVisitor.visit(ModelGeneratorVisitor.java:141)
      	at org.drools.compiler.lang.descr.PatternDescr.accept(PatternDescr.java:288)
      	at org.drools.modelcompiler.builder.generator.visitor.AndVisitor.visit(AndVisitor.java:50)
      	at org.drools.modelcompiler.builder.generator.visitor.ModelGeneratorVisitor.visit(ModelGeneratorVisitor.java:86)
      	at org.drools.modelcompiler.builder.generator.ModelGenerator.processRule(ModelGenerator.java:187)
      	at org.drools.modelcompiler.builder.generator.ModelGenerator.generateModel(ModelGenerator.java:160)
      	at org.drools.modelcompiler.builder.ModelBuilderImpl.compileKnowledgePackages(ModelBuilderImpl.java:284)
      	at org.drools.modelcompiler.builder.ModelBuilderImpl.buildRules(ModelBuilderImpl.java:220)
      	at org.drools.modelcompiler.builder.ModelBuilderImpl.postBuild(ModelBuilderImpl.java:130)
      	at org.drools.compiler.builder.impl.CompositeKnowledgeBuilderImpl.build(CompositeKnowledgeBuilderImpl.java:111)
      	at org.drools.compiler.builder.impl.CompositeKnowledgeBuilderImpl.build(CompositeKnowledgeBuilderImpl.java:97)
      	at org.drools.compiler.kie.builder.impl.AbstractKieProject.buildKnowledgePackages(AbstractKieProject.java:268)
      	at org.drools.compiler.kie.builder.impl.AbstractKieProject.buildKnowledgePackages(AbstractKieProject.java:216)
      	at org.drools.compiler.kie.builder.impl.AbstractKieProject.verify(AbstractKieProject.java:80)
      	at org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildKieProject(KieBuilderImpl.java:279)
      	at org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildAll(KieBuilderImpl.java:247)
      	at org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildAll(KieBuilderImpl.java:204)
      

              mfusco@redhat.com Mario Fusco
              lpetrovi@redhat.com Lukáš Petrovický (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: