From: brett l. <wak...@gm...> - 2008-02-17 18:11:50
|
On Feb 17, 2008 9:57 AM, Michał Bażyński <ba...@tl...> wrote: > > Hi, > I have recently played a game of 18AL, found 4 or 5 bugs, and decided > to try to see if I can fix some of them... I downloaded sources from > cvs, and kept on getting a NullPointer right after clicking 'New Game'. Welcome! If you read through the archives for the last two weeks, you'll see a few posts that will shed light on this. There's some work being done to get 18EU up and running that has likely destabilized things a bit. I'm not aware of this particular NPE happening during the last release version, so it's likely to be recent commits that did this. > So my question: what am I doing wrong? Did I checkout code I wasn't > supposed to, and I should check out a branch of a stable version (how?)? > Or is the code fine as it is and my NullPointer is me doing something > wrong along the way? I am a bit reluctant to try fixing anything while > not understatnding what's the deal with this NullPointer... It sounds like you didn't do anything wrong. Just find which variable is unexpectedly null, and see if you can put together a patch that fixes it. If you want to send us a stack trace, that will help significantly more than a code segment. > > Best regards, > Mike Bazynski > ---Brett. |