david_betterton Posted September 4 Share Posted September 4 I'm upgrading from 7.8.0 to 9.0.0. Because our production is completely containerized - we take this approach: Upgrade in the 7.8.0 postgres container to a new database export the resource using the cmdline export tool bring up a 9.0.0 postgres 12 database import the exported file from above When I try to update a data source I get this exception - what does it mean and how to fix it ? com.jaspersoft.jasperserver.jaxrs.client.core.exceptions.VersionNotMatchException: Update failed: versions not match at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) at com.jaspersoft.jasperserver.jaxrs.client.core.exceptions.handling.DefaultErrorHandler.handleBodyError(DefaultErrorHandler.java:94) at com.jaspersoft.jasperserver.jaxrs.client.core.exceptions.handling.DefaultErrorHandler.handleError(DefaultErrorHandler.java:66) at com.jaspersoft.jasperserver.jaxrs.client.core.JerseyRequest.executeRequest(JerseyRequest.java:217) at com.jaspersoft.jasperserver.jaxrs.client.core.JerseyRequest.put(JerseyRequest.java:159) at com.jaspersoft.jasperserver.jaxrs.client.apiadapters.resources.SingleResourceAdapter.createOrUpdate(SingleResourceAdapter.java:152) Link to comment Share on other sites More sharing options...
david_betterton Posted September 5 Author Share Posted September 5 Think I worked it out, the ClientJdbcDataSource had a version of null, and the createOrUpdate because I wasn't reading the data source first the version was mismatching Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now