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 APRIL 26, 2018

Applies to:

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

Symptoms

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


Error

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 java.util.TreeMap.compare(Unknown Source)
  at java.util.TreeMap.put(Unknown Source)
  at java.util.TreeSet.add(Unknown Source)
  at com.agile.ui.java.component.EditorHypertext.initComponents(EditorHypertext.java:152)
  at com.agile.ui.java.component.EditorHypertext.(EditorHypertext.java:130)
  at com.agile.ui.java.component.EditorHypertext.(EditorHypertext.java:116)
  at com.agile.ui.pcclient.component.PCEditorFactory.getEditor(PCEditorFactory.java:457)
  at com.agile.ui.pcclient.component.PCEditorFactory.getEditor(PCEditorFactory.java:251)
  at com.agile.ui.pcclient.pc.IPageOnePanel.getEditor(IPageOnePanel.java:436)
  at com.agile.ui.pcclient.pc.IPageOnePanel.addField(IPageOnePanel.java:150)
  at com.agile.ui.pcclient.pc.IPageOnePanel.addFields(IPageOnePanel.java:142)
  at com.agile.ui.pcclient.pc.IPageOnePanel.(IPageOnePanel.java:112)
  at com.agile.ui.pcclient.pc.PageOnePanel2.(PageOnePanel2.java:34)
  at com.agile.ui.pcclient.pc.PCObjectFrame.addTab(PCObjectFrame.java:722)
  at com.agile.ui.pcclient.pc.PCItemFrame.addTab(PCItemFrame.java:354)
  at com.agile.ui.pcclient.pc.PCObjectFrame.stateChanged(PCObjectFrame.java:2003)
  at com.agile.ui.pcclient.pc.PCItemFrame.stateChanged(PCItemFrame.java:675)
  at javax.swing.JTabbedPane.fireStateChanged(Unknown Source)
  at javax.swing.JTabbedPane$





Steps

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


Changes

 

Cause

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

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


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