Closed arinban closed 14 years ago
@arinban Commented
@arinban Commented @arinban Commented
@arinban Commented @arinban Commented @glassfishrobot Commented Reported by binod
@arinban Commented @arinban Commented @glassfishrobot Commented binod said: Assigned to self.
@arinban Commented @arinban Commented @glassfishrobot Commented binod said: Changed the subcomponent name to "core". Also marked as "Started".
@arinban Commented @arinban Commented @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.
@arinban Commented @arinban Commented @glassfishrobot Commented binod said: Adding fixed1.0 keyword
@arinban Commented @arinban Commented @glassfishrobot Commented Was assigned to binod
@arinban Commented @arinban Commented @glassfishrobot Commented This issue was imported from java.net JIRA GENERICJMSRA-2
@arinban Commented @arinban Commented @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]