[chuck-users] Sporking class member causes NullPointerException?

Atte André Jensen atte.jensen at gmail.com
Wed Jun 28 16:39:51 EDT 2006

nitro2k01 wrote:

>  Is there any way around this, iow a
> way to start a shred from a instanciated object?

This is a known issue and I believe it's being worked on. For now (if 
possible for what you want) declare initTest and iz as static:

class Test{
	0=> static int iz;
	fun static void initTest(){
	spork ~ initTest();
Test o;
	1::week => now;

peace, love & harmony

http://www.atte.dk      | quartet:      http://www.anagrammer.dk
http://www.atte.dk/gps  | compositions: http://www.atte.dk/compositions

More information about the chuck-users mailing list