[prev in list] [next in list] [prev in thread] [next in thread] 

List:       groovy-dev
Subject:    Re: [groovy-dev] General error: NullPointerException
From:       Jochen Theodorou <blackdrag () uni ! de>
Date:       2005-04-29 10:24:01
Message-ID: 42720B41.2000905 () uni ! de
[Download RAW message or body]

Hein Meling schrieb:
> Attached a simplified class causing the NullPointerException of my
> previous mail.
> 
> Hope this kind of thing could be reported better in the future.

well... it's a bug. The "def"-keyword is new and besides an 
implementation inside the parser it has no effect for the 
classgeneration. because there was no "def" in old groovy and the 
current implementation is (besides the parser) mostly the old groovy. 
Current groovy always ignores the "def" and thinks you want to access 
the field. That's a big bug, I know.

bye blackdrag

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic