openmq icon indicating copy to clipboard operation
openmq copied to clipboard

If correlationID is null getCorrellationIDasBytes throws an Exception

Open BKBuEGmbH opened this issue 1 year ago • 0 comments

Hello,

i am referencing to this line of code (and above):

https://github.com/eclipse-ee4j/openmq/blob/14bf26b017e74693573fb515d19328220bdbd20c/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/DirectPacket.java#L640

Wouldn't it make sense to check the correlationID result for null before applying getBytes? As a user of the API, I expect to get a null in this case.

BKBuEGmbH avatar Jan 24 '24 12:01 BKBuEGmbH

  • Issue Imported From: https://github.com/javaee/jaxb-v2/issues/663
  • Original Issue Raised By:@glassfishrobot
  • Original Issue Assigned To: @glassfishrobot

Tomas-Kraus avatar Sep 21 '18 15:09 Tomas-Kraus

@glassfishrobot Commented Reported by [email protected]

Tomas-Kraus avatar Jul 08 '09 08:07 Tomas-Kraus

@glassfishrobot Commented snajper said: Thanks for submission. Assigning and adjusting priority.

Tomas-Kraus avatar Sep 11 '09 08:09 Tomas-Kraus

@glassfishrobot Commented Was assigned to snajper

Tomas-Kraus avatar Jul 08 '09 08:07 Tomas-Kraus

@glassfishrobot Commented This issue was imported from java.net JIRA JAXB-663

Tomas-Kraus avatar Apr 24 '17 12:04 Tomas-Kraus