Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] OpenSAML initialization fails

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] OpenSAML initialization fails


Chronological Thread 
  • From: Chad La Joie <>
  • To:
  • Subject: Re: [OpenSAML] OpenSAML initialization fails
  • Date: Sun, 20 Mar 2011 04:05:54 -0400
  • Organization: Itumi, LLC

All of the dependencies you need come with the distribution.

On 3/20/11 1:31 AM, Kobe Bryant wrote:
> Using openws-1.4.1jar causes the same problem - i.e., if I installed the
> required joda-time-1.6.2.jar
> I get back the original error (InputStream cannot be null).
>
> Could you pl let me know what dependencies you have for opensaml-2.2.3.jar?
>
> thanks,
>
> /K
>
> On Sat, Mar 19, 2011 at 10:20 PM, Kobe Bryant
> <>
> wrote:
>
>> Suguna,
>>
>> thanks for your help. After I install openws-1.3.1.jar I get a different
>> exception
>> about missing org.joda.time.ReadableInstant class.
>>
>> When I add joda-time-1.6.2.jar to the classpath, I get the same exception
>> again
>> despite the fact that I have openws-1.3.1.jar in classpath.
>>
>> Do I specifically need openws-1.4.1.jar?
>>
>>
>> java.lang.NoClassDefFoundError: org/joda/time/ReadableInstant
>> java.lang.Class.getDeclaredConstructors0(Native Method)
>>
>> java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
>> java.lang.Class.getConstructor0(Class.java:2699)
>> java.lang.Class.getConstructor(Class.java:1657)
>>
>> org.opensaml.xml.XMLConfigurator.createClassInstance(XMLConfigurator.java:355)
>>
>>
>> org.opensaml.xml.XMLConfigurator.initializeObjectProviders(XMLConfigurator.java:239)
>> org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:181)
>> org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:165)
>>
>> org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:142)
>>
>>
>> org.opensaml.DefaultBootstrap.initializeXMLTooling(DefaultBootstrap.java:143)
>> org.opensaml.DefaultBootstrap.bootstrap(DefaultBootstrap.java:83)
>>
>>
>> thanks!
>>
>> /K
>>
>>
>> On Sat, Mar 19, 2011 at 8:37 PM, Its Me
>> <>
>> wrote:
>>
>>> Hi,
>>>
>>> I hope you need to add 'openws-1.4.1.jar' to the lib. I got the same
>>> issue.
>>>
>>> Suguna
>>>
>>> --- On *Sat, 3/19/11, Kobe Bryant
>>> <>*
>>> wrote:
>>>
>>>
>>> From: Kobe Bryant
>>> <>
>>> Subject: [OpenSAML] OpenSAML initialization fails
>>> To:
>>>
>>> Date: Saturday, March 19, 2011, 5:57 PM
>>>
>>>
>>> I am trying to initialize OpenSAML and it fails in initializing
>>> XMLtooling as follows. It clearly fails to find one of the configuration
>>> XML files listed in DefaultBootstrap.java- but I am not able to
>>> figure out which. Turning logf4j to DEBUG has no effect - I still get
>>> only INFO messages. I am runnig OpenSAML ver 2.2.3.
>>>
>>> Pl help.
>>>
>>>
>>> java.lang.IllegalArgumentException: InputStream cannot be null
>>> javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:120)
>>>
>>>
>>> org.opensaml.xml.parse.BasicParserPool$DocumentBuilderProxy.parse(BasicParserPool.java:643)
>>>
>>> org.opensaml.xml.parse.BasicParserPool.parse(BasicParserPool.java:216)
>>> org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:141)
>>>
>>>
>>> org.opensaml.DefaultBootstrap.initializeXMLTooling(DefaultBootstrap.java:143)
>>>
>>> org.opensaml.DefaultBootstrap.bootstrap(DefaultBootstrap.java:83)
>>>
>>>
>>>
>>> /K
>>>
>>>
>>>
>>
>

--
Chad La Joie
http://itumi.biz
trusted identities, delivered



Archive powered by MHonArc 2.6.16.

Top of Page