[#4801] - Support JDK 8 with Jasper Server 4.5

Category:
Bug report
Priority:
High
Status:
New
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

Hi,

We are using Jasper 4.5 for our product. We get the following error when we import catalog.

C:\xampp\jasperreports\buildomatic\conf_source\ieCe\applicationContext.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'proVersion' of bean class [com.jaspersoft.jasperserver.api.engine.common.service.impl.NavigationActionModelSupport]: Bean property 'proVersion' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?’

After investigation we found that :

1. When we use JDK 1.6 or 1.7 : we do not get this error and catalog imports successfully.
2. When we use JDK 1.8 : we get the above error.

Please provide a solution to this, since we want to use JDK 1.8 for our product.

-Punit

v4.5
punit.samtani's picture
Joined: May 25 2015 - 2:31am
Last seen: 8 years 2 days ago

1 Comment:

#1

I also have the same problem
Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'proVersion' of bean class [com.jaspersoft.jasperserver.api.engine.common.service.im
pl.NavigationActionModelSupport]: Bean property 'proVersion' is not writable or has an invalid setter method. Does the parameter type of the setter match the return typ
e of the getter?
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:801)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:651)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:78)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:59)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1276)

Feedback
randomness