kidice Posted July 24, 2009 Share Posted July 24, 2009 Hello,i'm using jasperserver 3.1 and i'm trying to switch the datasource of a mondrian schema. The schema is valid and i've changed all database schema names to the new ones within the mondrian schema. Now the problem is, when i try to run the Schema with the new database schema i get the following exception: com.jaspersoft.jasperserver.api.JSException: java.lang.NullPointerException java.lang.NullPointerException Thanks for your helpPost Edited by kidice at 07/24/2009 06:43 Link to comment Share on other sites More sharing options...
swood Posted July 31, 2009 Share Posted July 31, 2009 Was the original schema running fine in the server? How did you update the schema and the Mondrian connection? Load the new schema and data source into the existing Mondrian connection? Load the new schema as a resource and make the Mondrian connection point to the new schema? Create a completely new Mondrian connection?ShermanJaspersoft Link to comment Share on other sites More sharing options...
kidice Posted July 31, 2009 Author Share Posted July 31, 2009 the original schema runnig fine. i've loaded the new schema as resource and linked it into an existing mondrian connection. I've also tried to create a new mondrian connection with a new datasource but it also didn't worked. After creating several datasources (with same connectionparameters and jdbc driver) the new schema works fine with one of the new ones. I don't know why it doesn't work with the other datasources. it's a very strange behavior of the jasperserver. Link to comment Share on other sites More sharing options...
swood Posted July 31, 2009 Share Posted July 31, 2009 There is a bug in 3.5 (since fixed in HEAD) where it you update the schema under a connection, the new schema does not take effect until you restart the server. It looks like that is what yoiu were running into. ShermanJaspersoft Link to comment Share on other sites More sharing options...
kidice Posted August 18, 2009 Author Share Posted August 18, 2009 thanks for your help. After upgrading to 3.5 the datasource works normally. 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