dev@glassfish.java.net

Re: "RequiresNew NPE" may be related to "resource cleanup/association flawed" issue?

From: Dies Koper <diesk_at_fast.au.fujitsu.com>
Date: Mon, 5 Jan 2009 17:30:16 +1100

Hi Marina,

I have attached a patch to the bug report to show you how we solved the
NullPointerException problem.
I'd love to hear your comments about it.

Thanks,
Dies


Marina Vatkina wrote:
> Hello Dies,
>
> Apparently we do have a problem in the logic of postInvoke (and probably
> preInvoke as well) processing. Thank you for bringing this to our
> attention.
>
> Regards,
> -marina
>
> Marina Vatkina wrote:
>> Hello Dies,
>>
>> I don't think these two issues are related. Your case is really a null
>> condition that is not checked.
>>
>> Thank you for filing the bug.
>>
>> Best regards,
>> -marina
>>
>> Dies Koper wrote:
>>
>>> Hello Marina,
>>>
>>> I just wrote a bug report for an issue we found with the use of a
>>> container managed transaction with a method that does not access a
>>> datasource.
>>>
>>> We found an issue that might be related to it in the issue tracker,
>>> which you closed because you could not reproduce it.
>>> I'm not sure whether they are actually related, but many of the classes
>>> and methods we see in our stacktrace are also mentioned in that issue.
>>>
>>> Maybe you would like to have a look at our reproducible test case to see
>>> if it could shed some light on the problem mentioned in that issue too.
>>> Our issue:
>>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=6748
>>> (maybe) related issue:
>>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=4609
>>>
>>> Regards,
>>> Dies Koper