arindam-bandyopadhyay / issue-test

0 stars 0 forks source link

session.createConsumer(null) doesnt throw InvalidDestinationException #9

Closed arinban closed 6 years ago

arinban commented 6 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

Original Issue:https://github.com/javaee/glassfish-genericjmsra/issues/2 Raised By:@glassfishrobot Created at:Mon May 02 12:05:54 IST 2005 Assigned To:@glassfishrobot

arinban commented 6 years ago

@glassfishrobot Commented on Mon May 02 12:05:54 IST 2005 Reported by binod

arinban commented 6 years ago

@glassfishrobot Commented on Mon May 02 12:08:36 IST 2005 binod said: Assigned to self.

arinban commented 6 years ago

@glassfishrobot Commented on Mon May 02 12:24:37 IST 2005 binod said: Changed the subcomponent name to "core". Also marked as "Started".

arinban commented 6 years ago

@glassfishrobot Commented on Thu May 05 16:25:44 IST 2005 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 6 years ago

@glassfishrobot Commented on Fri Oct 14 06:24:01 IST 2005 binod said: Adding fixed1.0 keyword

arinban commented 6 years ago

@glassfishrobot Commented on Mon May 02 12:05:54 IST 2005 Was assigned to binod

arinban commented 6 years ago

@glassfishrobot Commented on Mon Apr 24 13:01:02 IST 2017 This issue was imported from java.net JIRA GENERICJMSRA-2

arinban commented 6 years ago

@glassfishrobot Commented on Mon Sep 06 08:51:08 IST 2010 Marked as fixed on Sunday, September 5th 2010, 8:21:08 pm

arinban commented 6 years ago

@glassfishrobot Closed the issue on Mon Sep 06 08:51:08 IST 2010