ari-ban / glassfish-genericjmsra

0 stars 0 forks source link

session.createConsumer(null) doesnt throw InvalidDestinationException #2

Closed arinban closed 14 years ago

arinban commented 19 years ago

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]

arinban commented 6 years ago
arinban commented 19 years ago

@glassfishrobot Commented Reported by binod

arinban commented 19 years ago

@glassfishrobot Commented binod said: Assigned to self.

arinban commented 19 years ago

@glassfishrobot Commented binod said: Changed the subcomponent name to "core". Also marked as "Started".

arinban commented 19 years ago

@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 18 years ago

@glassfishrobot Commented binod said: Adding fixed1.0 keyword

arinban commented 19 years ago

@glassfishrobot Commented Was assigned to binod

arinban commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA GENERICJMSRA-2

arinban commented 14 years ago

@glassfishrobot Commented Marked as fixed on Sunday, September 5th 2010, 8:21:08 pm