TTIBCO ActiveMatrix Business Works - TIBCO BusinessEvents, inprocess integration project throws "Output Data" invalid and "Null Pointer Exception during invokeRuleFunction call.

TTIBCO ActiveMatrix Business Works - TIBCO BusinessEvents, inprocess integration project throws "Output Data" invalid and "Null Pointer Exception during invokeRuleFunction call.

book

Article ID: KB0087365

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
=========

TIBCO ActiveMatrix Business Works - TIBCO BusinessEvents, inprocess integration project throws "Output Data" invalid and "Null Pointer Exception during invokeRuleFunction call.

Environment:
===========

   o TIBCO BusinessEvents 3.0.x.
      
   o All OS.


Symptoms:
=========

TIBCO ActiveMatrix Business Works (BW) - TIBCO BusinessEvents (BE), inprocess integration project throws "Output Data invalid" and "Null Pointer Exception during invikeRuleFunction call and when the rule function returns a concept.

This happens only when running the deployed project, and it works fine in when run from TIBCO Designer.

Exception
------------
Output data invalid
        at com.tibco.pe.core.TaskImpl.a(TaskImpl.java:677)
        at com.tibco.pe.core.TaskImpl.eval(TaskImpl.java:579)
        at com.tibco.pe.core.Job.a(Job.java:712)
        at com.tibco.pe.core.Job.k(Job.java:501)
        at com.tibco.pe.core.JobDispatcher$JobCourier.a(JobDispatcher.java:249)
        at com.tibco.pe.core.JobDispatcher$JobCourier.run(JobDispatcher.java:200)
caused by: java.lang.NullPointerException
        at com.tibco.xml.validation.state.glue.f.a(LegacySimpleValidator.java:65)
        at com.tibco.xml.validation.state.c.a.int(ValidationJazz.java:1063)


Cause:
=====

This issue is so far observed only when the BW process does a invokeRuleFunction call to a BE rule function which returns a concept.


Resolution:
==========

Since the BE Concept is not visible at the BW level, we need add the Concept reference to the SharedArchive manually. Once this is added, recompile the EAR and re-deploy the EAR.

Issue/Introduction

TTIBCO ActiveMatrix Business Works - TIBCO BusinessEvents, inprocess integration project throws "Output Data" invalid and "Null Pointer Exception during invokeRuleFunction call.