Error Harvesting an OSB Project, 'MetadataIntrospectionException' (Doc ID 1951262.1)

Last updated on OCTOBER 25, 2016

Applies to:

Oracle Service Bus - Version 11.1.1.7.0 to 11.1.1.7.0 [Release 11g]
Information in this document applies to any platform.

Symptoms

On : 11.1.1.7.0 version, Client Utilities

When attempting to harvest an OSB project [which has OWSM policy enabled but no policy attached] using an OSB harvester the user is getting the below error message


ERROR
-----------------------

19818 [Main Thread] ERROR com.oracle.oer.sync.framework.MetadataManager  - artifact harvest failed due to: an error occured introspecting uri file:/tmp/osbharvest-1415123888040/domain/iesosb/businessservice/name.biz: an error occured introspecting resource iesosb/businessservice/name (businessservice): unexpected error accessing effective wsdl for service iesosb/businessservice/name (businessservice): null
com.oracle.oer.sync.framework.MetadataIntrospectionException: An error occured introspecting URI file:/tmp/OSBHarvest-1415123888040/domain/iesOSB/BusinessService/name.biz: An error occured introspecting resource iesOSB/BusinessService/name (BusinessService): Unexpected error accessing effective WSDL for service iesOSB/BusinessService/name (BusinessService): null
at com.bea.alsb.harvester.framework.impl.Harvester.introspect(Harvester.java:312)
at com.bea.alsb.harvester.framework.impl.Harvester.introspect(Harvester.java:282)
at com.bea.alsb.harvester.framework.impl.Harvester.getArtifact(Harvester.java:152)
at com.bea.alsb.harvester.framework.impl.Harvester.readProject(Harvester.java:267)
at com.bea.alsb.harvester.framework.impl.Harvester.read(Harvester.java:122)
at com.bea.alsb.harvester.framework.OSBMetadataManager.read(OSBMetadataManager.java:78)
at com.bea.alsb.harvester.plugin.reader.OSBReader.readQuery(OSBReader.java:204)
at com.bea.alsb.harvester.plugin.reader.OSBReader.readQueries(OSBReader.java:112)
at com.bea.alsb.harvester.plugin.reader.OSBReader.read(OSBReader.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.flashline.util.classloader.ContextClassLoaderHandler.invoke(ContextClassLoaderHandler.java:39)
at com.sun.proxy.$Proxy0.read(Unknown Source)
at com.oracle.oer.sync.framework.MetadataManager.start(MetadataManager.java:630)
at com.oracle.oer.sync.framework.Introspector.<init>(Introspector.java:225)
at com.oracle.oer.sync.framework.Introspector.main(Introspector.java:465)
Caused by: com.oracle.oer.sync.framework.MetadataIntrospectionException: An error occured introspecting resource iesOSB/BusinessService/name (BusinessService): Unexpected error accessing effective WSDL for service iesOSB/BusinessService/name (BusinessService): null
at com.bea.alsb.harvester.plugin.introspector.OSBIntrospectorBase.introspect(OSBIntrospectorBase.java:122)
at com.bea.alsb.harvester.framework.impl.Harvester.introspect(Harvester.java:307)
... 17 more
Caused by: com.oracle.oer.sync.framework.MetadataIntrospectionException: Unexpected error accessing effective WSDL for service iesOSB/BusinessService/name (BusinessService): null
at com.bea.alsb.harvester.framework.impl.PersistenceManager.persistEffectiveWsdl(PersistenceManager.java:216)
at com.bea.alsb.harvester.framework.impl.Harvester.getEffectiveWsdlArtifact(Harvester.java:176)
at com.bea.alsb.harvester.framework.OSBMetadataManager.getEffectiveWsdlArtifact(OSBMetadataManager.java:121)
at com.bea.alsb.harvester.plugin.introspector.services.OSBTransportServiceIntrospectorBase.newInterfaceWS(OSBTransportServiceIntrospectorBase.java:147)
at com.bea.alsb.harvester.plugin.introspector.services.OSBTransportServiceIntrospectorBase.newInterfaceEntity(OSBTransportServiceIntrospectorBase.java:131)
at com.bea.alsb.harvester.plugin.introspector.services.BusinessServiceIntrospector.introspect(BusinessServiceIntrospector.java:58)
at com.bea.alsb.harvester.plugin.introspector.OSBIntrospectorBase.introspect(OSBIntrospectorBase.java:115)
... 18 more
Caused by: java.lang.NullPointerException
at com.bea.wli.sb.service.ServiceManagerResourceHelper.getDependencies(ServiceManagerResourceHelper.java:1335)
at com.bea.wli.sb.service.ServiceManagerResourceHelper.getWsdlDependencies(ServiceManagerResourceHelper.java:1195)
at com.bea.wli.sb.service.ServiceManagerResourceHelper._getJarredWsdlResources(ServiceManagerResourceHelper.java:749)
at com.bea.wli.sb.service.ServiceManagerResourceHelper.getJarredServiceResources(ServiceManagerResourceHelper.java:482)
at com.bea.wli.sb.service.ServiceManager.getJarredServiceResources(ServiceManager.java:272)
at com.bea.wli.sb.management.configuration.ServiceConfiguration.getServiceResources(ServiceConfiguration.java:325)
at com.bea.alsb.harvester.framework.impl.PersistenceManager.persistEffectiveWsdl0(PersistenceManager.java:381)
at com.bea.alsb.harvester.framework.impl.PersistenceManager.persistEffectiveBiz(PersistenceManager.java:366)
at com.bea.alsb.harvester.framework.impl.PersistenceManager.persistEffectiveWsdl(PersistenceManager.java:207)
at com.bea.alsb.harvester.framework.impl.Harvester.getEffectiveWsdlArtifact(Harvester.java:176)
at com.bea.alsb.harvester.framework.OSBMetadataManager.getEffectiveWsdlArtifact(OSBMetadataManager.java:121)
at com.bea.alsb.harvester.plugin.introspector.services.OSBTransportServiceIntrospectorBase.newInterfaceWS(OSBTransportServiceIntrospectorBase.java:147)
at com.bea.alsb.harvester.plugin.introspector.services.OSBTransportServiceIntrospectorBase.newInterfaceEntity(OSBTransportServiceIntrospectorBase.java:131)
at com.bea.alsb.harvester.plugin.introspector.services.BusinessServiceIntrospector.introspect(BusinessServiceIntrospector.java:58)
at com.bea.alsb.harvester.plugin.introspector.OSBIntrospectorBase.introspect(OSBIntrospectorBase.java:115)
at com.bea.alsb.harvester.framework.impl.Harvester.introspect(Harvester.java:307)
at com.bea.alsb.harvester.framework.impl.Harvester.introspect(Harvester.java:282)
at com.bea.alsb.harvester.framework.impl.Harvester.getArtifact(Harvester.java:152)
at com.bea.alsb.harvester.framework.impl.Harvester.readProject(Harvester.java:267)
at com.bea.alsb.harvester.framework.impl.Harvester.read(Harvester.java:122)
at com.bea.alsb.harvester.framework.OSBMetadataManager.read(OSBMetadataManager.java:78)
at com.bea.alsb.harvester.plugin.reader.OSBReader.readQuery(OSBReader.java:204)
at com.bea.alsb.harvester.plugin.reader.OSBReader.readQueries(OSBReader.java:112)
at com.bea.alsb.harvester.plugin.reader.OSBReader.read(OSBReader.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.flashline.util.classloader.ContextClassLoaderHandler.invoke(ContextClassLoaderHandler.java:39)
at com.sun.proxy.$Proxy0.read(Unknown Source)
at com.oracle.oer.sync.framework.MetadataManager.start(MetadataManager.java:630)
at com.oracle.oer.sync.framework.Introspector.<init>(Introspector.java:225)
at com.oracle.oer.sync.framework.Introspector.main(Introspector.java:463)
21174 [Main Thread] DEBUG com.oracle.oer.sync.framework.MetadataManager  - deleting temp directory: [/tmp/osbharvest-1415123888040] and it's contents!


STEPS
----------------------- 

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