IdP Version.bat throws NPE

Peter Schober peter.schober at univie.ac.at
Fri Jun 20 04:45:31 EDT 2014


* bleb1982 <btl at fischerinternational.com> [2014-06-19 14:39]:
> I am trying to run the version.bat file to display the version of my IDP and
> I get an NPE. Any ideas?

You could open the deployed war file with 7zip or whatever program
your OS offers for opening zip-files and look at the name of the
shibboleth-identityprovider-<version>.jar file inside.

$ unzip -l war/idp.war | fgrep provider
   259942  2013-04-17 15:48   WEB-INF/lib/shibboleth-identityprovider-2.4.0.jar

In the above example this is from an IDP running version 2.4.0

You may also still have the downloaded and unpacked binary
distribution of the IDP lying around sommethere in the filesystem, as
changes to the JSP/HTML of the IDP's login and error pages needs to be
done there before re-running the installer script.

> C:\Fischer\IdP\bin>version.bat
> Exception in thread "main" java.lang.ExceptionInInitializerError
> Caused by: java.lang.NullPointerException
>         at
> edu.internet2.middleware.shibboleth.idp.Version.<clinit>(Version.java
> :99)

There was a bug in a previous IDP that only manifested itself when
running bin/version but I'm not sure it was this exact error.
Does the IDP function properly otherwise?
-peter


More information about the users mailing list