Jump to content
JasperReports Library 7.0 is now available ×

delete derived table from domain


sheva2

Recommended Posts

We tried adding a derived table to a domain and realized this was not the best way to do this. Now we would like to delete the derived table. We have never referenced it anywhere else but when we try to delete we get this in the log:

 2017-01-13 15:10:49,761 ERROR DomainValidatorImpl,http-nio-8080-exec-7:323 - Unexpected exception during domain validation: NullPointerException: null

java.lang.NullPointerException
at com.jaspersoft.commons.semantic.validate.DomainDependentsImpl.groupJoinedByPoKey(DomainDependentsImpl.java:364)
at com.jaspersoft.commons.semantic.validate.DomainDependentsImpl.getUnjoinedPoList(DomainDependentsImpl.java:341)
at com.jaspersoft.commons.semantic.validate.DomainDependentsImpl.getUnjoinedFields(DomainDependentsImpl.java:318)
at com.jaspersoft.commons.semantic.validate.DomainDependentsImpl.domainDiff(DomainDependentsImpl.java:252)
at com.jaspersoft.commons.semantic.validate.impl.DomainValidatorImpl.validateDependencies(DomainValidatorImpl.java:305)
at com.jaspersoft.ji.semantic.action.CreateSLDatasourceAction.validateDataSource(CreateSLDatasourceAction.java:786)
at com.jaspersoft.ji.semantic.action.CreateSLDatasourceAction.validateAndCheckIfExists(CreateSLDatasourceAction.java:644)
at sun.reflect.GeneratedMethodAccessor1730.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
....
 
Any ideas?
Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

This happens when you want to save the domain after you made changes ? 
  You do not get the error immediatly after you try to delete the derived table ? 

There might be something else wrong with your domain. It might not be the derived table that is causeing the issues.

Make sure that your deleted any Sets and Items (under the display tab) thats value was referenced from Derived Table.  

Kind Regards 

Josia

Link to comment
Share on other sites

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