I am creating a domain and whenever I am trying to update it, it gives me below error.
You are attempting to modify fields that are used in the following Ad Hoc views or reports. You can't save the Domain in its current state. To resolve dependencies, note the information below and remove the fields from the views and reports where they occur. getObjectType for javaType: null returned null
Note: I am not using it. I did everything on a copy (Adhoc View and Topic) and delete every object copy of the domain, topic and view before updating domain.
I cleared the ad hoc cache too.
4 Answers:
Seems like your JasperReports Server database table became corrupt. Unfortunately, there isn't a tool to clean out the corrupt data.
The only solution I can think of is to create a new domain and just forgot about the current domain. Also, which version of JasperReports Server are you using?
Thanks hozawa. I am using latest version 5.6.
Creating another domain cant solve the problem. As it is happening on all the domains, I am creating. whenever I create a domain with calculated fields and use it in topic / adhoc view. After that I delete them to update the domain (even clean the temp folder), I am unable to update the domain.
I am also using 5.6 and facing the same issue. I an able to add a new filed to the domain but once I delete a field I am unable to save it . It throws an error that all the resources that use the domain fail (adhocreports, reports) and therefore I cannot save the domain until I delete the field in the adhoc. But there is no way of removing the field in adhoc !!
This did not happen in 5.2
I'm having the same issue, has anyone found a way around this?
There's no error in the catalina.out file or the jasperserver.log file when this message happens.
EDIT: My problem was with CLOBs. Fixed it following the instructions here: https://community.jaspersoft.com/documentation/jasperreports-server-admi...
I noticed several field types set to "null" instead of Java.lang.String.
Thanks hozawa. I am using latest version 5.6.
Creating another domain cant solve the problem. As it is happening on all the domains, I am creating. whenever I create a domain with calculated fields and use it in topic / adhoc view. After that I delete them to update the domain (even clean the temp folder), I am unable to update the domain.
I also clear the Ad hoc Cache too.