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
Mortgagefacts and rules installed. I am attempting to run a test application that will instantiate aFactTypeinstance of theLoanApplicationFact Model, where the Fact Model is stored in themortgagespackage 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
