KB Article #181275

*.fed not loaded into Policy Studio: XPathFactory implementation: com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl loaded from: Java Runtime

Problem

Trying to load a *.fed from API Gateway 753sp12 into Policy Studio has thrown those errors in two versions of Policy Studio:


A 753 *.fed tried to be loaded into Policy Studio 753sp13

INFO 02/Nov/2020:16:21:44.651 [10d0:000000000000000000000000] DocumentBuilderFactory implementation: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl loaded from: file://C:/policystudio/plugins/com.vordel.rcp.filterbase_7.5.3.v20200501-1121/lib/xercesImpl-2.9.1.jar

INFO 02/Nov/2020:16:21:44.651 [10d0:000000000000000000000000] XPathFactory implementation: com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl loaded from: Java Runtime

INFO 02/Nov/2020:16:21:44.651 [10d0:000000000000000000000000] TransformerFactory implementation: com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl loaded from: Java Runtime

INFO 02/Nov/2020:16:21:44.651 [10d0:000000000000000000000000] SAXParserFactory implementation: org.apache.xerces.jaxp.SAXParserFactoryImpl loaded from: file://C:/policystudio/plugins/com.vordel.rcp.filterbase_7.5.3.v20200501-1121/lib/xercesImpl-2.9.1.jar

ERROR 02/Nov/2020:16:21:47.660 [437c:000000000000000000000000] java exception:

com.vordel.es.EntityStoreException: Failed to configure filter: /[CircuitContainer]name=Sample Policies/[CircuitContainer]name=API Management Alerts/[CircuitContainer]name=API Catalog/[FilterCircuit]name=Enable API/[CircuitDelegateFilter]name=Call 'Send Alert'

at com.vordel.circuit.FilterContainerImpl.configureFilter(FilterContainerImpl.java:47)

ERROR 02/Nov/2020:16:21:47.660 [437c:000000000000000000000000] java exception:

java.lang.NullPointerException

at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:207)

at com.vordel.client.circuit.model.Tracker.incRefCount(Tracker.java:138)

(/Support environment)

The same 753 *.fed tried to be loaded into Policy Studion 77 Sep:

INFO 2020/11/02 16:42:28.720 [ModalContext] [main] Completed upgrade of environmentalized settings

INFO 2020/11/02 16:42:31.199 [ModalContext] [main] rolling file C:\policystudio\trace/-1_upgrade_20201102044134.log stopped

INVALID 2020/11/02 16:42:34.694 [ModalContext] [main] There was a problem creating the palette entry for the type RetrieveLdap:

java.lang.ClassNotFoundException: com.co.server.customfilter.retrieveldap.RetrieveLdap

at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)

at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)

at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)

..

INVALID 2020/11/02 16:42:34.741 [ModalContext] [main] There was a problem creating the palette entry for the type BFilter:

java.lang.ClassNotFoundException: com.co.server.customfilter.password.PasswordFilter

at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)

at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)

INVALID 2020/11/02 16:42:35.010 [ModalContext] [main] There was a problem creating the palette entry for the type a:

java.lang.ClassNotFoundException: com.co.server.customfilter.b.a

at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)

at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)

at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)

INVALID 2020/11/02 16:42:35.727 [ModalContext] [main] There was a problem creating the palette entry for the type KpsReadAll:

java.lang.ClassNotFoundException: com.co.server.customfilter.a.b

at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)

at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)

at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)


Resolution

The necessary *.jar used by the creator of the *.fed in Runtime Dependencies in the Policy Studio source must be loaded upfront in the Policy Studio target.