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

JasperAnalysis schema doesn\'t work with datasource


kidice

Recommended Posts

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 help



Post Edited by kidice at 07/24/2009 06:43
Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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?

Sherman

Jaspersoft

Link to comment
Share on other sites

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

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.

 

Sherman

Jaspersoft

Link to comment
Share on other sites

  • 3 weeks later...

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...