Closed arinban closed 14 years ago
@glassfishrobot Commented Reported by binod
@glassfishrobot Commented binod said: Assigned to self.
@glassfishrobot Commented binod said: Changed the subcomponent name to "core". Also marked as "Started".
@glassfishrobot Commented binod said: It is possible to pass null as value of destination to Session.createConsumer. The JMS client library will throw an exception (InvalidDestinationException) in this case. Modified the RA the code to pass the null to JMS client library.
@glassfishrobot Commented binod said: Adding fixed1.0 keyword
@glassfishrobot Commented Was assigned to binod
@glassfishrobot Commented This issue was imported from java.net JIRA GENERICJMSRA-2
@glassfishrobot Commented Marked as fixed on Sunday, September 5th 2010, 8:21:08 pm
When session.createConsumer(null) is called, it throws java.lang.NullPointerException at com.sun.genericra.outbound.SessionAdapter.getWrappedDestination(SessionAdapter.java:376) at com.sun.genericra.outbound.SessionAdapter.createConsumer(SessionAdapter.java:230)
Instead it should throw a InvalidDestinationException
Environment
Operating System: All Platform: All
Affected Versions
[0.9]