Kaffe 1.0.b3 : code like this gives a NullPointerException int[] count= new int[1] ; // 1 seems to be the problem count[0]= 3 ; Object array= Array.newInstance(elementClass, count) ; This is legal code and shouldn't throw an exception (Sun's VM doesn't have the problem). Bye, Gerhard