Did you download the version of ImageJ bundled with Java 1.8 or with Java 1.6? In either case, try the other version. You should also try upgrading to the latest daily build (1.51g7). It has a fix that should prevent the null pointer exception you got.