[ http://issues.apache.org/jira/browse/BEEHIVE-792?page=all ]
Eddie O'Neil updated BEEHIVE-792: --------------------------------- Attachment: BEEHIVE-792-patch2.txt Jeremiah-- I'm uploading a patch that should address the problem and makes the purpose / operation of the method a little more clear. I believe that before, the method would always return DestinationType.Auto unless the _destinationType had been overridden in the Destiantion.sendType annotation or set during execution. So, it should be possible to just set the value of _destinationType from the annotation and then let it be overridden downstream. This also removes the re-encoding of the DestinationType.Auto default value from the control implementation -- this is (and should be) specified in the Destination.sendType annotation itself. Can you give this a try and see if it solves your problem? In the meantime, I'll get a full-J2EE container setup so that I can test locally. Thanks! > NPE from JMS Control after redeploying application > -------------------------------------------------- > > Key: BEEHIVE-792 > URL: http://issues.apache.org/jira/browse/BEEHIVE-792 > Project: Beehive > Type: Bug > Components: Controls > Versions: V1 > Environment: Dist Build from SVN 179731. > Reporter: Jeremiah Johnson > Assignee: Eddie O'Neil > Priority: Minor > Fix For: V1 > Attachments: BEEHIVE-792-patch2.txt, BEEHIVE-792.tar, BEEHIVE-792_patch.txt, > jboss.npe.txt, jonas.npe.txt > > When I have a JMS Control in an application and use it, then redeploy the > application, the JMS Control is no longer usable - it throws NPE. I'll > attach a repro. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira