Product Information > JADE Error Messages and System Messages > 31700 through 31899 - Messaging Framework Errors > 31749 - Message parameter is null

31749   Message parameter is null

Cause

This error occurs if you attempt to get (that is, retrieve) a message from a message queue or put (that is, send) a message to a message queue and the msg parameter is null.

In the following example, an attempt is made to retrieve a message using the getMessage method of the JadeGenericQueue class but the queue msg variable is not initialized.

// msg := myQueue.createMessage(true);
myQueue.getMessage(msg, null);

Action

Correct your code.