NullPointerException when setting JMS error queue destination in clustered environment (Doc ID 1196500.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version: 10.3 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

On Weblogic Server 10.3 version, WLS JMS component
When attempting to update the error destination in JMS resources the following error occurs.

Error
An error occurred during activation of changes:
<Error> <Console> <BEA-240003> <Console encountered the following error weblogic.management.DeploymentException:
The modification of property ErrorDestination failed during the activate phase because of java.lang.NullPointerException>

Steps
The issue can be reproduced at will with the following steps:
1- Create a Cluster and assign two Managed Servers to it.
2- Start both the Managed Servers.
3- Create JMS Servers, one on each Managed Server.
4- Create a Subdeployment and assign two JMS Servers to it.
5- Create two Distributed Queues, for example DQ1 and DQ2 using the Default Targeting.
6- Edit DQ1 Delivery Failure Options. Set the Expiration Policy as 'Redirect' and the Error Destination as DQ2.

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