Not Able To Run Junit With Newer Version Of Jinterp.jar (Doc ID 1504951.1)

Last updated on FEBRUARY 22, 2017

Applies to:

Oracle Communications ASAP - Version 7.0.2 and later
Information in this document applies to any platform.

Symptoms

As a part of Migration to ASAP 7, we are trying to run Junit on our legacy code.
 We are not able to run Junit using latest Jinterp.jar.
 Our Junit code runs properly with older version of Jinterp.jar .

 Below exception occurs while calling getConnection() method of JProcessor.


  [junit] java.lang.NullPointerException
  [junit] at com.mslv.activation.jinterpreter.JInterp.getUserDefinedNEStringSubstitutionCollection(JInterp.java:532)
  [junit] at com.mslv.activation.jinterpreter.JProcessor.getUserDefinedNEStringSubstitutionCollection(JProcessor.java:2005)
  [junit] at com.mslv.activation.jinterpreter.JProcessor.getConnection(JProcessor.java:535)
  [junit] at com.bt.csam.asap.nep.AbstractJProcessor.getConnection(Unknown Source)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms