Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

NPE occurs while executing BIX through command line

SA-70219

Summary


After migrating from Pega 7.1.8 to Pega 7.4, error occurs while executing Business Intelligence Exchange (BIX) through the command line. Data is not extracted to the required XML despite providing -I as a standalone optional parameter.


Error Messages



Getting the below error in PEGA BIX logs:

[main] [  ] [  ] (internal.access.ExtractImpl) ERROR   - null
java.lang.NullPointerException
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.borrowRequestor(PRSessionProviderImpl.java:721) ~[prprivate.jar:?]
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.borrowRequestor(PRSessionProviderImpl.java:736) ~[prprivate.jar:?]
    at com.pega.pegarules.data.internal.access.ExtractImpl.initializeDatabase(ExtractImpl.java:676) ~[prprivate.jar:?]
    at com.pega.pegarules.data.internal.access.ExtractImpl.readRule(ExtractImpl.java:958) ~[prprivate.jar:?]
    at com.pega.pegarules.data.internal.access.ExtractImpl.parseAndRunExtractCommand(ExtractImpl.java:822) [prprivate.jar:?]
    at com.pega.pegarules.data.internal.access.ExtractImpl.parseAndRunExtractCommand(ExtractImpl.java:776) [prprivate.jar:?]
    at com.pega.pegarules.data.internal.access.ExtractImpl.main(ExtractImpl.java:756) [prprivate.jar:?



Steps to Reproduce

  1. Install BIX in Pega 7.4.
  2. Create an Extract rule where the output is extracted as XML.
  3. Update prconfig.xml and prbootstrap.properties.
  4. Use -I as a standalone optional parameter in bix.xml.
  5. Run bix.bat.


Root Cause



The issue was due to the Null Pointer Exception that occurred in the ExtractImpl.java class when -I is passed as a standalone parameter (that is, without passing the username and password).


Resolution



Applied HFix-49801.


 
Suggest Edit

Published January 4, 2019 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us