My Oracle Support Banner

Java Client Performance Slow With Error java.lang.ClassCastException: javax.swing.KeyStroke cannot be cast to java.lang.Comparable in Java Console Log (Doc ID 2391443.1)

Last updated on DECEMBER 04, 2019

Applies to:

Oracle Agile PLM Framework - Version and later
Information in this document applies to any platform.


Java client users have to click on Recently Visited objects 3-4 times to open the object (any object type Part, Change etc.) with below exception in Java console log


Object cache clean thread starts ...........
Exception in thread "AWT-EventQueue-2" java.lang.ClassCastException: javax.swing.KeyStroke cannot be cast to java.lang.Comparable
  at Source)
  at java.util.TreeMap.put(Unknown Source)
  at java.util.TreeSet.add(Unknown Source)
  at com.agile.ui.pcclient.component.PCEditorFactory.getEditor(
  at com.agile.ui.pcclient.component.PCEditorFactory.getEditor(
  at com.agile.ui.pcclient.pc.IPageOnePanel.getEditor(
  at com.agile.ui.pcclient.pc.IPageOnePanel.addField(
  at com.agile.ui.pcclient.pc.IPageOnePanel.addFields(
  at com.agile.ui.pcclient.pc.IPageOnePanel.(
  at com.agile.ui.pcclient.pc.PageOnePanel2.(
  at com.agile.ui.pcclient.pc.PCObjectFrame.addTab(
  at com.agile.ui.pcclient.pc.PCItemFrame.addTab(
  at com.agile.ui.pcclient.pc.PCObjectFrame.stateChanged(
  at com.agile.ui.pcclient.pc.PCItemFrame.stateChanged(
  at javax.swing.JTabbedPane.fireStateChanged(Unknown Source)
  at javax.swing.JTabbedPane$


The issue can be reproduced at will with the following steps:
1. Login to Java Client
2. Goto Recently Visited objects, and click the object




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.