<Swing Dev> CSS$LengthUnit not found when running with my own AWT implementation
Clemens Eisserer
linuxhippy at gmail.com
Sat Jul 2 08:39:37 UTC 2011
Hi again,
The Problem was Toolkit.getScreenResolution() wasn't implemented, and
CSS$LengthUnit called it in its initializer.
I wonder why that Exception wasn't shown anywhere, there is clearly no
catch that could have swallowed the throwable.
Thanks, Clemens
2011/7/2 Clemens Eisserer <linuxhippy at gmail.com>:
> Hi Roman,
>
>> Are there any preceding exceptions? Most often this is caused by
>> something that goes wrong while loading the class, which results in a
>> NoClassDefFoundError. The first time this happens, it should show the
>> root cause, then that class is flagged as error state and any access to
>> this class results in more NoClassDefFoundErrors, but without the root
>> cause IIRC.
>
> That makes sence - the class mentioned is clearly included in the
> jvm's classpath,
> I am pretty sure the classloader can see it.
> Unfourtunatly there are no preceeding exception, nor is the root-cause
> mentioned - and I thought I could avoid debugging ^^
>
> Thanks, Clemens
>
More information about the swing-dev
mailing list