-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Steffen,
Steffen Heil wrote:
> Hi
>
>> The method yielding the problem is the following one:
>>
>> private static PageLifecycleFactory getDefaultInstance()
>> {
>> if (defaultInstance == null)
>> {
>> defaultInstance = new DefaultStrutsPageLifecycleFactory();
>> }
>>
>> return defaultInstance;
>> }
>
> Make that function *synchronized* !
Practically speaking, the synchronization status of this method
shouldn't matter for anything except performance. There is a slight
chance of this method returning an uninitialized instance of
DefaultPageLifecycleFactory, but I suspect you'd get different kinds of
problems than NoClassDefFound.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkjmOJoACgkQ9CaO5/Lv0PBN4QCgmDmPo1RjScxccoNFFQ1dn02j
NvYAoI0Abw3XXTM6YgE/KoDP69VX7Deh
=bod+
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]