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