Error While Updating Domain

1

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.

 

Attachments: 
muhammad.rehman's picture
Joined: Jun 30 2014 - 4:18am
Last seen: 4 years 9 months ago

4 Answers:

0

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?

hozawa's picture
52422
Joined: Apr 24 2010 - 4:31pm
Last seen: 5 months 6 days ago

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.

muhammad.rehman - 5 years 4 months ago
0

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.

 

 

 

 

muhammad.rehman's picture
Joined: Jun 30 2014 - 4:18am
Last seen: 4 years 9 months ago

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

dnivas - 5 years 3 months ago
0

Find the error messages in the jasperserver.log and post them.

djohnson53's picture
76299
Joined: May 25 2012 - 11:10am
Last seen: 50 min 33 sec ago
0

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.

dwalton_1's picture
Joined: Feb 24 2015 - 10:12am
Last seen: 1 year 9 months ago

We're on the lastest version, 6.0.1

dwalton_1 - 4 years 8 months ago

I was able to fix my problem. I exported the schema and noticed several types for fields set to "null". When I checked the database, they were CLOBs. Followed the instructions here and it fixed my problem:

https://community.jaspersoft.com/documentation/jasperreports-server-admi...

dwalton_1 - 4 years 8 months ago
Feedback
randomness