NullPointerException on CTCGraphicsDevice.getConfigurations

Roman Kennke roman at kennke.org
Wed Jan 16 07:39:25 PST 2013


Am Mittwoch, den 16.01.2013, 16:23 +0100 schrieb Przemko Robakowski:
> Hi all!
> 
> I am testing cacio-tta 1.3 (from maven) to do GUI tests of project.
> There is a code in there (I have no control over it so it can't be
> changed) which uses method code: getConfigurations()[0] to get default
> configuration (I think this was the purpose). That ends up with NPE in
> cacio.
> Shouldn't getConfigurations at least return defaultConfig instead of
> null?

Yes it should, but the implementation is not there:

    @Override
    public GraphicsConfiguration[] getConfigurations() {
        // TODO Auto-generated method stub
        return null;
    }


I'll fix that as soon as I find some time... In the meantime, it would
be very useful if you could file a bug:

http://icedtea.classpath.org/bugzilla/ (select cacio as component).

Roman






More information about the caciocavallo-dev mailing list