BPMS 6.0.x causes trouble while importing Fact Types or Domain Models that are declared in form of Maven dependencies in a project's pom.xml

Solution Verified - Updated -

Issue

  • It has been observed that BPMS 6.0.x or BRMS 6.0.x causes trouble while importing Fact Types or Domain Models . The dependencies are declared using the pom.xml file of Business Central project. The dependency is pulled from the client's Maven Nexus.
  • Business Central faces issues while importing several of the fact types that are declared in the dependency. This causes the following error in the logs for these fact types.
ERROR [org.jbpm.kie.services.impl.bpmn2.BPMN2DataServiceImpl] (MSC service thread 1-1) Error: Rule Compilation error Only a type can be imported. com.sample.test.ruralfact.ClassTest resolves to a package
  • Previously the same fact types were being imported into Business Central without any issues and the projects could be successfully built. Guided Rules that use the fact types mentioned are still working correctly, but those fact types are shown grayed out in the types drop-down and can't be modified. The fact types in question do not show up in the list of available imports, so new rules can't be made using them. This is all done using the Guided Rules Editor.
  • Sometimes the log file also reports exceptions like this frequently while building the projects in Business Central.
[org.kie.workbench.common.services.datamodel.backend.server.cache.LRUProjectDataModelOracleCache] (Thread-76) null
  • What could be the reason behind this strange issue and how to fix it?

Environment

  • Red Hat JBoss BPM Suite (BPMS)
    • 6.0.x
  • Red Hat JBoss BRMS (BRMS)
    • 6.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content