groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paolo Di Tommaso <paolo.ditomm...@gmail.com>
Subject Re: NPE exception on ManagedLinkedList
Date Sun, 07 Jun 2015 13:49:26 GMT
Well, the point it that I'm not using any ManagedLinkedList object in my
code.

At a first look it seems to me a side effect of this change:

https://issues.apache.org/jira/browse/GROOVY-6704


Does that make sense ?


Cheers,
Paolo



On Sun, Jun 7, 2015 at 12:57 PM, Jochen Theodorou <blackdrag@gmx.org> wrote:

> Am 29.05.2015 15:15, schrieb Paolo Di Tommaso:
>
>> Dear all,
>>
>> Upgrading to Groovy 2.4.3 I've started to experience a
>> NullPointerException that is raised somehow randomly.
>>
>
> The source code line is:
>
>              if (previous != null && previous.next != null) {
>>
>
> this can cause a NPE if there is a data race... funny thing is, the
> comment of the class says:
>
>   * This class does not support concurrent modifications nor will it check
>>  * for them. This class is also not thread safe.
>>
>
> Which strongly suggests, that the class is not used as intended
>
> hmm... the entry points look right... that can only mean that it is the
> ReferenceManager re-usage, that is causing trouble here.
>
> bye blackdrag
>
> --
> Jochen "blackdrag" Theodorou
> blog: http://blackdragsview.blogspot.com/
>
>

Mime
View raw message