Skip to content

null pointer being thrown in no.steras.opensamlbook.OpenSAMLUtils.buildSAMLObject(Class<T>) #1

@scanlonjts

Description

@scanlonjts

Sample code:
String responseStr = "largeB64EndodedStrhere";
Base64 decoder = new Base64();
byte[] thebytes = decoder.decode(responseStr);
logger.info(new String(thebytes));
Artifact artifact = OpenSAMLUtils.buildSAMLObject(Artifact.class);

Exception in thread "main" java.lang.NullPointerException
at no.steras.opensamlbook.OpenSAMLUtils.buildSAMLObject(OpenSAMLUtils.java:48)
at no.steras.opensamlbook.sp.ConsumerServlet.main(ConsumerServlet.java:262)

btw: I bought your book! Very well put written and helpful!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions