Colin,
To close this off - he fixed it last night as well
(https://bugs.internet2.edu/jira/browse/SECT-7), but you'll need to wait for
a new release.
Rod
> -----Original Message-----
> From: Discussion list for Shibboleth developments [mailto:JISC-
> [log in to unmask]] On Behalf Of Colin Farrow
> Sent: 10 August 2010 09:56
> To: [log in to unmask]
> Subject: Re: xmlsectool - Unknown error
>
> Thanks Rod,
>
> Overnight I got the following from Chad over on shib-users
>
> >Okay, this appears to be because there is no Content-Encoding header.
> It's a bug, I'll fix it.
>
> Colin
>
> On 09/08/10 16:19, Rod Widdowson wrote:
> > Colin,
> >
> > You might want to try this on Shib-users - I don't know whether Chad
> hangs
> > out in here.
> >
> > In general, however, if code throws an NPE that's a bug which should
> be
> > reported. Take a look in JIRA and see whether this has been reported
> > before.
> >
> > I'll also note that version 1.1.1 turned up yesterday so you might
> want to
> > try that first.
> >
> > Rod
> >
> >
> >> -----Original Message-----
> >> From: Discussion list for Shibboleth developments [mailto:JISC-
> >> [log in to unmask]] On Behalf Of Colin Farrow
> >> Sent: 09 August 2010 16:08
> >> To: [log in to unmask]
> >> Subject: xmlsectool - Unknown error
> >>
> >> Hi,
> >>
> >> I am getting a very uninformative 'unknown error' using xmlsectool
> to
> >> download and verify the uk federation metadata using an http proxy,
> >> i.e.
> >>
> >> xmlsectool.sh --verbose --verifySignature --certificate
> federation.crt
> >> --inUrl http://metadata.ukfederation.org.uk/ukfederation-
> metadata.xml
> >> --httpProxy<proxyhost> --httpProxyPort<proxyport>
> >>
> >> gives
> >> INFO [edu.internet2.middleware.security.XmlSecTool:257] - Reading
> XML
> >> document from URL
> >> 'http://metadata.ukfederation.org.uk/ukfederation-metadata.xml'
> >> ERROR [edu.internet2.middleware.security.XmlSecTool:161] - Unknown
> >> error
> >> java.lang.NullPointerException: null
> >> at
> >>
> edu.internet2.middleware.security.XmlSecTool.getXmlInputStreamFromUrl(X
> >> mlSecTool.java:283)
> >> ~[xmlsectool-1.1.0.jar:na]
> >> at
> >>
> edu.internet2.middleware.security.XmlSecTool.parseXML(XmlSecTool.java:1
> >> 78)
> >> ~[xmlsectool-1.1.0.jar:na]
> >> at
> >>
> edu.internet2.middleware.security.XmlSecTool.main(XmlSecTool.java:142)
> >> ~[xmlsectool-1.1.0.jar:na]
> >>
> >> changing values of url,proxyhost,proxyport gives suitably
> informative
> >> errors
> >>
> >> downloading the metadata with curl and verifying the signature works
> >> fine
> >>
> >> anyone seen this or know what the problem is?
> >>
> >>
> >>
> >> --
> >> Colin Farrow
> >> Computing Service, University of Glasgow, Glasgow G12 8QQ
> >> ---
>
> --
> Colin Farrow
> Computing Service, University of Glasgow, Glasgow G12 8QQ
> Tel: 0141 330 4862, Email: [log in to unmask]
> ---
|