Skip to Content.
Sympa Menu

mace-opensaml-users - Re: NoClassDefFoundError in xmltooling Configuration

Subject: OpenSAML user discussion

List archive

Re: NoClassDefFoundError in xmltooling Configuration


Chronological Thread 
  • From: Chad La Joie <>
  • To:
  • Subject: Re: NoClassDefFoundError in xmltooling Configuration
  • Date: Fri, 07 Dec 2007 08:39:39 -0800
  • Organization: SWITCH

Yep, it was just a bug. It's fixed now.

Manuela Stanica wrote:
I also got difficulties while trying to register new SAML objects, as in:
Configuration.registerObjectProvider(OnlineCAService.DEFAULT_ELEMENT_NAME, new OnlineCAServiceBuilder(),new OnlineCAServiceMarshaller(),new OnlineCAServiceUnmarshaller(), null);

This leads to a NullPointerException in the line configuredObjectProviders.put(providerName, configuration) inside the above method in Configuration because of the last parameter being null.
Yet, the javadoc says * @param configuration optional XML configuration snippet. If it's indeed optional (and I hope so), maybe there should be an if(configuration!=null) surrounding that line..?

--
SWITCH
Serving Swiss Universities
--------------------------
Chad La Joie, Software Engineer, Security
Werdstrasse 2, P.O. Box, 8021 Zurich, Switzerland
phone +41 44 268 15 75, fax +41 44 268 15 68
,
http://www.switch.ch



Archive powered by MHonArc 2.6.16.

Top of Page