Issue DescriptionI have installed a new JasperReports Server and imported the repository backup from an older version of JasperReports Server. When I edit the imported domains, then click on the domain designer link, I get the error: | [toc] |
Cannot get database meta info : /public/Data_Sources/MyDataSource java.lang.IllegalArgumentException: getObjectType for javaType: returned null at com.jaspersoft.commons.dataset.expr.ObjectTypeMapper.getObjectType(ObjectTypeMapper.java:79)
MyDataSource is an Oracle data source.
Resolution
It was determined that the WEB-INFapplicationContext-semanticLayer.xml had been modified in the source environment to map Oracle's clob data type to java.lang.String. However, the target environment had not provided that mapping, yet. Changing the mapping from this:
<entry key="CLOB" value=""></entry>
to this:
<entry key="CLOB" value="java.lang.String"></entry>
Saving the file and restarting the server resolved the issue.
Ref. Case 00059792
Recommended Comments
There are no comments to display.