java.lang.NullPointerException Creating Trading Partners via Selfservice Api (Doc ID 735232.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Application Server Integration B2B - Version: 10.1.2
This problem can occur on any platform.

Symptoms

PROBLEM STATEMENT:
-------------------------------
On B2B 10.1.2.3 in Production:
When attempting to create a TP using SelfService B2B API the following error occurs:

ERROR:
-----------

C:\OraHome_2\ip\install>java oracle.tip.adapter.b2b.selfservice.TradingPartnerManager
tpprofilesampleinstance-7.xml

TradingPartnerManager Enter
EntityResolver called: publicID- SystemID- OrclTPProfileV2-6.xsd
tmpTPIDType:GlobalChips4
tp.getName():GlobalChips4
tmpTPIDType.isHosted()true
tmpTPIDType.getTradingPartner().getName():GlobalChips4
Name TPI already available
In processTPID: DUNS,123456789,String
Exit
BusinessActionName:Process_850
bizAction.getProcessProtocolRevision():B2B Process
java.lang.NullPointerException
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.processSupportedBusinessAction(TradingPartnerManager.java:814)
at
oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.processOperationalCapability(TradingPartner
Manager.java:561)
at
oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.processTradingPartner(TradingPartnerManager
.java:464)
at
oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.processTPProfiles(TradingPartnerManager.jav
a:243)
at
oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.main(TradingPartnerManager.java:196)
Exception in thread "main" Error -: AIP-11001: Transaction closed: Error -: AIP-11001:
Transaction closed
at oracle.tip.buslogic.common.Transaction.commit(Transaction.java:72)
at
oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.processTPProfiles(TradingPartnerManager.jav
a:311)
at
oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.main(TradingPartnerManager.java:196)
Caused by: Error -: AIP-11001: Transaction closed
at oracle.tip.repos.core.driver.CatalogTransaction.commit(CatalogTransaction.java:1464)
at oracle.tip.buslogic.common.Transaction.commit(Transaction.java:70)
... 2 more

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