My Oracle Support Banner

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

Last updated on FEBRUARY 10, 2019

Applies to:

Oracle WebLogic Server - Version 10.3 and later
Information in this document applies to any platform.


When attempting to update the error destination in JMS resources the following error occurs.

An error occurred during activation of changes:

<Error> <Console> <BEA-240003> <Console encountered the following error The modification of property ErrorDestination failed during the activate phase because of java.lang.NullPointerException>

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.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.