Why does the call to getFactType() method returns null ?

Solution Unverified - Updated -

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 a FactType instance of the LoanApplication Fact Model, where the Fact Model is stored in the mortgages package under MortgageModel -> LoanApplication. The issue is with the following piece of code where my call to getFactType() 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.

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