Decision Management (ODM,ADS)

 View Only
Expand all | Collapse all

How to work around NPE in decision center when opening main branch

  • 1.  How to work around NPE in decision center when opening main branch

    Posted Fri August 05, 2022 12:35 PM

    Every time when opening main or any other branch for an item in decision center, we get "An unexpected error has occurred. Contact your administrator." and in the logs we see a stack trace with

    [8/4/22 9:19:39:543 CEST] 00000186 exception E com.ibm.rules.decisioncenter.web.core.ApplicationExceptionResolver log

    com.ibm.rules.decisioncenter.web.core.RuntimeApplicationException:

    at com.ibm.rules.decisioncenter.web.core.ApplicationController.doViewData(ApplicationController.java:285)

    ...

    Caused by: java.lang.NullPointerException

    at ilog.rules.teamserver.model.IlrBaselineService.isDecisionModelProject(IlrBaselineService.java:198)

    at com.ibm.rules.decisioncenter.web.core.util.ModelUtil.processDSDependencies(ModelUtil.java:911)

    how to fix or work around this problem?



    #OperationalDecisionManager(ODM)
    #Support
    #SupportMigration


  • 2.  RE: How to work around NPE in decision center when opening main branch

    Posted Fri August 05, 2022 02:59 PM

    This exception has been reported when a project does not have a main branch ( actual name is %current_key) . Possibly the main branch has been renamed.

    You probably need to contact the support team to identify which project has a problem and provide you with request to update your project.



    #OperationalDecisionManager(ODM)
    #Support
    #SupportMigration


  • 3.  RE: How to work around NPE in decision center when opening main branch

    Posted Sat August 06, 2022 07:02 AM

    Thank you for a quick response!


    In this case the main branch has not been touched. We had other branches created (with dependencies) and renaming one of them caused this situation where none of the branches work, including main branch.



    #OperationalDecisionManager(ODM)
    #Support
    #SupportMigration