[chuck-users] NullPointerException

Kassen signal.automatique at gmail.com
Sat Jun 9 19:53:55 EDT 2007


On 6/10/07, Bruce Harris <nitro2k01 at gmail.com> wrote:
> There was some time since I used Chuck now, so I may be wrong on this
> one. But I get the feeling that you're not initializing l, right?


Yes, he does, "l" is a array of "Items", 4 Items to be exact, it's
right below the definition of the Item class.

This looks quite odd, I can't find the issue either. In my experience
null-pointers occur if you define things in the wrong order; ie before
refering to them, but I think that was supposed to have been fixed
last version and the order here looks perfectly corect to me.

Kas.


More information about the chuck-users mailing list