A simple code sample showing the error that is thrown if the OpenSAML library is not properly initialized.
This blog post uses the code and explains the problem
Running the code shows the exception thrown when using the library without initializing it. The code shows the correct way of initializing the library in OpenSAMl version 4
Clone this repo, navigate to the folder for this sample and run:
mvn compile exec:java -Dexec.mainClass="no.steras.opensamlSamples.nobootstrap.v4.NoBootstrap"