Yeah, you are right, that code can't return null. I will have another look at
our code, my guess is that due to the number of deploys we have done recently
with different versions there is a mismatch in line numbers which is confusing
the issue here. Sorry about that.
View the original post :
Are you sure it's really returning null?
The code from JBossSession::createTextMessage is just this:
| public TextMessage createTextMessage() throws JMSException
|{
| checkClosed();
|
| return new JBossTextMessage(session);
|}
|
So I don't see how any well be