Jump to content
We've recently updated our Privacy Statement, available here ×

Upgrade to 6.1 broke REST API authentication (Spring 3?)


Recommended Posts


We recently upgraded our dev server to 6.1 and now a job I've made that authenticates with the Java REST APIs is failing during authentication with a null pointer.

The code that fails:

client = new JasperserverRestClient(configuration);clientAuthenticated = client.authenticate(jasperusername, jasperpassword);[/code]

The error trace:

Exception in thread "main" java.lang.NullPointerException    at com.jaspersoft.jasperserver.jaxrs.client.core.SessionStorage.login(SessionStorage.java:111)    at com.jaspersoft.jasperserver.jaxrs.client.core.SessionStorage.init(SessionStorage.java:97)    at com.jaspersoft.jasperserver.jaxrs.client.core.SessionStorage.<init>(SessionStorage.java:56)    at com.jaspersoft.jasperserver.jaxrs.client.core.JasperserverRestClient.authenticate(JasperserverRestClient.java:47)[/code]

What changed with 6.1 / Spring 3 that I need to address?  I am unable to find any information in the documentation or community that indicates incompatibility between the Java REST APIs and 6.1.
Thank you!

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...