Introspection with BeanUtils started failing against java.awt.Window [SPR-12434] #17039
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
Sriram Moorthy opened SPR-12434* and commented
Hi,
We have an application with Swing app as client and a web app running on tomcat server providing the application related services. We are in the process of upgrading from spring 2.5 to 4.1.0 version. The application changes are complete and it works fine with in eclipse environment. When we deploy the app on Tomcat server and access the app from the Swing client (downloaded via Java Web Start / JNLP) we were able to login to the application browse few application screens. But on few screens we get the following exception. As soon as the exception appears the window closes on the client side. On the server log there are no issues. This is blocking us from upgrading the application. I read few Jira Issue logs which suggest to upgrade to 3.1.1 but i am moving to more advanced version. Please provide your suggestions.
Server : Linux
Code compiled on java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b04)
Java HotSpot(TM) 64-Bit Server
Client JRE : 1.7.0_51 on Windows 7 platform
Exception Details:
Caused by: java.beans.IntrospectionException: Type mismatch between indexed and non-indexed methods: null - public void java.awt.Window.setLocation(int,int)
at org.springframework.beans.PropertyDescriptorUtils.findIndexedPropertyType(ExtendedBeanInfo.java:596)
at org.springframework.beans.SimpleIndexedPropertyDescriptor.<init>(ExtendedBeanInfo.java:364)
at org.springframework.beans.SimpleIndexedPropertyDescriptor.<init>(ExtendedBeanInfo.java:350)
at org.springframework.beans.ExtendedBeanInfo.<init>(ExtendedBeanInfo.java:99)
at org.springframework.beans.ExtendedBeanInfoFactory.getBeanInfo(ExtendedBeanInfoFactory.java:46)
at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:270)
... 56 more
11 Nov 22:27:22,951 OpenWindow - OpenWindow::ForceShutdownWindow
11 Nov 22:27:22,952 OpenWindow - Primary Task
Affects: 3.2.12, 4.0.8, 4.1 GA
Backported to: 4.0.9, 3.2.13
The text was updated successfully, but these errors were encountered: