Skip to content

NullPointerException when using Web Service Sender with “use TLS manager” disabled #8

@gabrielestenico

Description

@gabrielestenico

When using a destination of type Web Service Sender with an HTTPS endpoint and setting the "use TLS manager" flag to No, messages in the channel fail to send, and you receive the following message:

ERROR: Error creating web service dispatch [NullPointerException: Cannot invoke org.openintegrationengine.tlsmanager.shared.models.WeirdIntermediaryContextContainer.sslContext()" because "this.senderContainer" is null]

I would have expected the channel to work normally — without errors — when the "use TLS manager" flag is set to No.

This is the Exception:

Web Service Sender error
ERROR MESSAGE: Error creating web service dispatch
java.lang.NullPointerException: Cannot invoke "org.openintegrationengine.tlsmanager.shared.models.WeirdIntermediaryContextContainer.sslContext()" because "this.senderContainer" is null
	at org.openintegrationengine.tlsmanager.server.connectorconfig.TLSWebServiceConfiguration.configureDispatcher(TLSWebServiceConfiguration.java:88)
	at com.mirth.connect.connectors.ws.WebServiceDispatcher.send(WebServiceDispatcher.java:462)
	at com.mirth.connect.donkey.server.channel.DestinationConnector.handleSend(DestinationConnector.java:904)
	at com.mirth.connect.donkey.server.channel.DestinationConnector.process(DestinationConnector.java:527)
	at com.mirth.connect.donkey.server.channel.DestinationChain.doCall(DestinationChain.java:122)
	at com.mirth.connect.donkey.server.channel.DestinationChain.call(DestinationChain.java:64)
	at com.mirth.connect.donkey.server.channel.Channel.process(Channel.java:1850)
	at com.mirth.connect.donkey.server.channel.Channel.dispatchRawMessage(Channel.java:1302)
	at com.mirth.connect.donkey.server.channel.SourceConnector.dispatchRawMessage(SourceConnector.java:194)
	at com.mirth.connect.server.controllers.DonkeyEngineController.dispatchRawMessage(DonkeyEngineController.java:1145)
	at com.mirth.connect.server.controllers.DonkeyMessageController.reprocessMessages(DonkeyMessageController.java:457)
	at com.mirth.connect.server.api.servlets.MessageServlet$1.run(MessageServlet.java:224)
	at java.base/java.lang.Thread.run(Thread.java:840)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions