Getting Null Pointer Exception In Osb Console With Misconfigured Email Transport. (Doc ID 1264022.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Service Bus - Version 10.3 and later
Information in this document applies to any platform.

Symptoms

Whenever any changes was activated through OSB console, it was resulting in java.lang.NullPointerException.



<Error> <ConfigFwk> <aaa> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1284465061841> <BEA-390109> <Failed to notify session listener com.bea.wli.sb.transports.WLSArtifactDeployerImpl for operation beforeSessionActivate on session weblogic
com.bea.wli.sb.transports.TransportException: java.lang.NullPointerException
at com.bea.wli.sb.transports.TransportException.newInstance(TransportException.java:197)
at com.bea.wli.sb.transports.jms.JmsTransportProvider.makeWLSChangesOnUpdate(JmsTransportProvider.java:279)
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.bea.wli.sb.transports.Util$1.invoke(Util.java:82)
at $Proxy50.makeWLSChangesOnUpdate(Unknown Source)
at com.bea.wli.sb.transports.WLSArtifactDeployerImpl$WLSArtifactUpdateEntry.exec(WLSArtifactDeployerImpl.java:968)
at com.bea.wli.sb.transports.WLSArtifactDeployerImpl.handleUpdate(WLSArtifactDeployerImpl.java:581)
at com.bea.wli.sb.transports.WLSArtifactDeployerImpl.beforeSessionActivate(WLSArtifactDeployerImpl.java:314)
at com.bea.wli.config.deployment.ConfigDeploymentInitiator.notifyBeforeSessionActivate(ConfigDeploymentInitiator.java:121)
at com.bea.wli.config.deployment.server.ServerDeploymentInitiator.__serverCommit(Unknown Source)
at com.bea.wli.config.deployment.server.ServerDeploymentInitiator.access$200(Unknown Source)
at com.bea.wli.config.deployment.server.ServerDeploymentInitiator$1.run(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at com.bea.wli.config.deployment.server.ServerDeploymentInitiator.serverCommit(Unknown Source)
at com.bea.wli.config.deployment.server.ServerDeploymentInitiator.execute(Unknown Source)
.....



When we tried to export the sbconfig, it resulted in following exception:
The export failed with exception: com.bea.wli.sb.transports.TransportException: No transport provider registered with ID: email


<Warning> <ConfigFwk> <aaa> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1287756175223> <BEA-000000> <Setting transaction 'tr.1287756173730.27721' as rollback only. Rollback reason:
java.lang.RuntimeException: com.bea.wli.sb.transports.TransportException: No transport provider registered with ID: email
at com.bea.wli.sb.service.ServiceTypeDefExtensions$TransportExtension.computeExternalReferences(ServiceTypeDefExtensions.java:88)
at com.bea.wli.sb.service.BusinessServiceTypeDef.computeExternalReferences(BusinessServiceTypeDef.java:149)
at com.bea.wli.config.importexport.ConfigJar$CanonicalForm$ResourceInfo.<init>(ConfigJar.java:194)
at com.bea.wli.config.importexport.ConfigJar$CanonicalForm.<init>(ConfigJar.java:327)
at com.bea.wli.config.task.impl.ExportTask._execute(ExportTask.java:173)
at com.bea.wli.config.task.impl.ExportTask._execute(ExportTask.java:62)
at com.bea.wli.config.task.impl.SessionedTask$1.execute(SessionedTask.java:224)
at com.bea.wli.config.transaction.TransactionalTask._doExecute(TransactionalTask.java:217)
at com.bea.wli.config.transaction.TransactionalTask._doExecuteWithRetry(TransactionalTask.java:162)
at com.bea.wli.config.transaction.TransactionalTask.doExecute(TransactionalTask.java:142)
at com.bea.wli.config.task.impl.SessionedTask.doExecute(SessionedTask.java:227)
at com.bea.wli.config.task.impl.SessionedTask.doExecute(SessionedTask.java:185)
at com.bea.wli.config.task.impl.ExportTask.exportProjectLevel(ExportTask.java:138)
at com.bea.wli.config.mbeans.Config.exportProjects(Config.java:493)
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.bea.alsb.console.support.ConsoleSideMBeanInvocationHandler.__invoke(ConsoleSideMBeanInvocationHandler.java:116)
at com.bea.alsb.console.support.ConsoleSideMBeanInvocationHandler.invoke(ConsoleSideMBeanInvocationHandler.java:72)
at $Proxy101.exportProjects(Unknown Source)
at com.bea.alsb.console.deployment.actions.UpdateExportAction.execute(UpdateExportAction.java:169)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
....





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