Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-992

java.lang.IllegalStateException: Unknown PartType when adding options to Guided Rule Template

XMLWordPrintable

    • 2019 Week 29-31, 2019 Week 32-34

      Adding any of the Options to a Guided Rule Template (eg. "salience") results in this error:

      12:17:34,840 ERROR [org.kie.workbench.common.services.refactoring.backend.server.indexing.AbstractFileIndexer] (Thread-188) Unable to index 'default://master@MySpace/example-Mortgages/src/main/resources/mortgages/mortgages/test.template'.: java.lang.IllegalStateException: Unknown PartType: salience
      	at org.kie.workbench.common.services.refactoring.service.PartType.getPartTypeFromAttribueDescrName(PartType.java:164)
      	at org.drools.workbench.screens.guided.template.server.indexing.GuidedRuleTemplateIndexVisitor.visitRuleAttribute(GuidedRuleTemplateIndexVisitor.java:104)
      	at org.drools.workbench.screens.guided.template.server.indexing.GuidedRuleTemplateIndexVisitor.visit(GuidedRuleTemplateIndexVisitor.java:75)
      	at org.drools.workbench.screens.guided.template.server.indexing.GuidedRuleTemplateIndexVisitor.visitRuleModel(GuidedRuleTemplateIndexVisitor.java:194)
      	at org.drools.workbench.screens.guided.template.server.indexing.GuidedRuleTemplateIndexVisitor.visit(GuidedRuleTemplateIndexVisitor.java:73)
      	at org.drools.workbench.screens.guided.template.server.indexing.GuidedRuleTemplateIndexVisitor.visit(GuidedRuleTemplateIndexVisitor.java:67)
      	at org.drools.workbench.screens.guided.template.server.indexing.GuidedRuleTemplateFileIndexer.fillIndexBuilder(GuidedRuleTemplateFileIndexer.java:52)
      	at org.drools.workbench.screens.guided.template.server.indexing.GuidedRuleTemplateFileIndexer.fillIndexBuilder(GuidedRuleTemplateFileIndexer.java:29)
      	at org.kie.workbench.common.services.refactoring.backend.server.indexing.AbstractFileIndexer.toKObject(AbstractFileIndexer.java:78)
      	at org.drools.workbench.screens.guided.template.server.indexing.GuidedRuleTemplateFileIndexer$Proxy$_$$_WeldClientProxy.toKObject(Unknown Source)
      	at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.processNew(IndexerDispatcher.java:255)
      	at org.uberfire.ext.metadata.io.IndexableIOEvent$NewFileEvent.apply(IndexableIOEvent.java:62)
      	at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.processEvent(IndexerDispatcher.java:235)
      	at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.processEvents(IndexerDispatcher.java:211)
      	at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:188)
      	at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:159)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      
      

              trikkola Toni Rikkola
              rhn-support-mputz Martin Weiler (Inactive)
              Jozef Marko Jozef Marko (Inactive)
              Jozef Marko Jozef Marko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: