Why does the call to getFactType() method returns null ?
Issue
- I have a clean install of JBoss Enteprise BRMS Platform 5.2 with the sample
Mortgage
facts and rules installed. I am attempting to run a test application that will instantiate aFactType
instance of theLoanApplication
Fact Model, where the Fact Model is stored in themortgages
package underMortgageModel
->LoanApplication
. The issue is with the following piece of code where my call togetFactType()
is returning null:
FactType loanApplicationType = kbase.getFactType("mortgages", "MortgageModel.LoanApplication");
Meanwhile, at the server console the following WARN message is appearing:
WARN [RepositoryServlet] Unable to authenticate for rest api: null
Can you please explain how to resolve this issue?
Environment
- JBoss Enterprise Business Rules Management System Platform (BRMS)
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.