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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.