NodeInfo almost certainly can't be the problem -- that's a final int,
so should be inlined by the compiler, and the class lookup shouldn't
even happen at runtime in that case.
-Patrick
On 7/18/07, Craig L Russell <[EMAIL PROTECTED]> wrote:
I wonder if it's a class initialization or constructor ordering
issue. I'll take a look.
Craig
On Jul 18, 2007, at 8:59 AM, Patrick Linskey wrote:
> From the source:
>
>> otherInfo = (NodeInfo) _nodeInfo.get(other);
>> if (otherInfo.color == NodeInfo.COLOR_WHITE) {
>
> Assuming that the class constant is non-null, that leaves otherInfo.
> _nodeInfo is populated during construction based on the graph passed
> to the constructor. It looks like the null must be coming from
> Graph.java:154 or Graph.java:162.
>
> -Patrick
>
> On 7/18/07, Craig L Russell <[EMAIL PROTECTED]> wrote:
>> So it's either a bug in the IBM vm or a bug in our code that exploits
>> some loophole in the spec that the Sun JDK doesn't fail on...
>>
>> Craig
>>
>> On Jul 18, 2007, at 8:38 AM, Kevin Sutter wrote:
>>
>> > Yes, and the Sun JDK works just fine. So, for the majority of the
>> > folks,
>> > there is no problem... :-(
>> >
>> > On 7/18/07, Craig L Russell <[EMAIL PROTECTED]> wrote:
>> >>
>> >> I don't suppose you have run this with the Sun JDK (that I've
>> tested
>> >> on).
>> >>
>> >> Craig
>> >>
>> >> On Jul 18, 2007, at 8:00 AM, Kevin Sutter wrote:
>> >>
>> >> > Craig,
>> >> > I haven't taken the time to figure out the source of the problem
>> >> > yet, but I
>> >> > am experiencing two NPE's in our test bucket when running
>> with the
>> >> > IBM JDK (
>> >> > 1.5.0 SR5). I thought I would post a heads-up for any IBM JDK
>> >> > users...
>>
>> Craig Russell
>> Architect, Sun Java Enterprise System http://java.sun.com/products/
>> jdo
>> 408 276-5638 mailto:[EMAIL PROTECTED]
>> P.S. A good JDO? O, Gasp!
>>
>>
>>
>
>
> --
> Patrick Linskey
> 202 669 5907
Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!
--
Patrick Linskey
202 669 5907