java.lang.ClassCastException

net.sf.jabref.gui.fieldeditors.EntryLinkListEditor cannot be cast to javax.swing.text.JTextComponent

Solutions on the web19030

  • net.sf.jabref.gui.fieldeditors.EntryLinkListEditor cannot be cast to javax.swing.text.JTextComponent
  • javax.swing.JLabel cannot be cast to javax.swing.text.JTextComponent
  • via GitHub by sylvanaar
    , 9 months ago
    javax.swing.table.DefaultTableCellRenderer$UIResource cannot be cast to javax.swing.text.JTextComponent
  • Stack trace

    • java.lang.ClassCastException: net.sf.jabref.gui.fieldeditors.EntryLinkListEditor cannot be cast to javax.swing.text.JTextComponent at net.sf.jabref.gui.autocompleter.AutoCompleteListener.keyTyped(AutoCompleteListener.java:271)[JabRef-3.8.1.jar:?] at java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:240)[?:1.8.0_111] at java.awt.Component.processKeyEvent(Component.java:6488)[?:1.8.0_111] at javax.swing.JComponent.processKeyEvent(JComponent.java:2832)[?:1.8.0_111] at java.awt.Component.processEvent(Component.java:6310)[?:1.8.0_111] at java.awt.Container.processEvent(Container.java:2236)[?:1.8.0_111] at java.awt.Component.dispatchEventImpl(Component.java:4889)[?:1.8.0_111] at java.awt.Container.dispatchEventImpl(Container.java:2294)[?:1.8.0_111] at java.awt.Component.dispatchEvent(Component.java:4711)[?:1.8.0_111] at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)[?:1.8.0_111] at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:806)[?:1.8.0_111] at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1074)[?:1.8.0_111] at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:945)[?:1.8.0_111] at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:771)[?:1.8.0_111] at java.awt.Component.dispatchEventImpl(Component.java:4760)[?:1.8.0_111] at java.awt.Container.dispatchEventImpl(Container.java:2294)[?:1.8.0_111] at java.awt.Window.dispatchEventImpl(Window.java:2746)[?:1.8.0_111] at java.awt.Component.dispatchEvent(Component.java:4711)[?:1.8.0_111] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)[?:1.8.0_111] at java.awt.EventQueue.access$500(EventQueue.java:97)[?:1.8.0_111] at java.awt.EventQueue$3.run(EventQueue.java:709)[?:1.8.0_111] at java.awt.EventQueue$3.run(EventQueue.java:703)[?:1.8.0_111] at java.security.AccessController.doPrivileged(Native Method)[?:1.8.0_111] at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)[?:1.8.0_111] at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)[?:1.8.0_111] at java.awt.EventQueue$4.run(EventQueue.java:731)[?:1.8.0_111] at java.awt.EventQueue$4.run(EventQueue.java:729)[?:1.8.0_111] at java.security.AccessController.doPrivileged(Native Method)[?:1.8.0_111] at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)[?:1.8.0_111] at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)[?:1.8.0_111] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)[?:1.8.0_111] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)[?:1.8.0_111] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)[?:1.8.0_111] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)[?:1.8.0_111] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)[?:1.8.0_111] at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_111] at java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_111] at spin.off.AWTReflectDispatcherFactory$AWTReflectDispatcher.start(AWTReflectDispatcherFactory.java:76)[JabRef-3.8.1.jar:?] at spin.off.SpinOffEvaluator.evaluate(SpinOffEvaluator.java:114)[JabRef-3.8.1.jar:?] at spin.ProxyFactory.evaluteInvocation(ProxyFactory.java:85)[JabRef-3.8.1.jar:?] at spin.JDKProxyFactory$SpinInvocationHandler.invoke(JDKProxyFactory.java:102)[JabRef-3.8.1.jar:?] at com.sun.proxy.$Proxy33.run(Unknown Source)[?:?] at net.sf.jabref.gui.BasePanel.runCommand(BasePanel.java:1002)[JabRef-3.8.1.jar:?] at net.sf.jabref.gui.entryeditor.EntryEditor$SaveDatabaseAction.actionPerformed(EntryEditor.java:1379)[JabRef-3.8.1.jar:?] at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1663)[?:1.8.0_111] at javax.swing.JComponent.processKeyBinding(JComponent.java:2882)[?:1.8.0_111] at javax.swing.JTable.processKeyBinding(JTable.java:5259)[?:1.8.0_111] at javax.swing.JComponent.processKeyBindings(JComponent.java:2929)[?:1.8.0_111] at javax.swing.JComponent.processKeyEvent(JComponent.java:2845)[?:1.8.0_111] at java.awt.Component.processEvent(Component.java:6310)[?:1.8.0_111] at java.awt.Container.processEvent(Container.java:2236)[?:1.8.0_111] at java.awt.Component.dispatchEventImpl(Component.java:4889)[?:1.8.0_111] at java.awt.Container.dispatchEventImpl(Container.java:2294)[?:1.8.0_111] at java.awt.Component.dispatchEvent(Component.java:4711)[?:1.8.0_111] at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)[?:1.8.0_111] at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:806)[?:1.8.0_111] at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1074)[?:1.8.0_111] at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:945)[?:1.8.0_111] at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:771)[?:1.8.0_111] at java.awt.Component.dispatchEventImpl(Component.java:4760)[?:1.8.0_111] at java.awt.Container.dispatchEventImpl(Container.java:2294)[?:1.8.0_111] at java.awt.Window.dispatchEventImpl(Window.java:2746)[?:1.8.0_111] at java.awt.Component.dispatchEvent(Component.java:4711)[?:1.8.0_111] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)[?:1.8.0_111] at java.awt.EventQueue.access$500(EventQueue.java:97)[?:1.8.0_111] at java.awt.EventQueue$3.run(EventQueue.java:709)[?:1.8.0_111] at java.awt.EventQueue$3.run(EventQueue.java:703)[?:1.8.0_111] at java.security.AccessController.doPrivileged(Native Method)[?:1.8.0_111] at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)[?:1.8.0_111] at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)[?:1.8.0_111] at java.awt.EventQueue$4.run(EventQueue.java:731)[?:1.8.0_111] at java.awt.EventQueue$4.run(EventQueue.java:729)[?:1.8.0_111] at java.security.AccessController.doPrivileged(Native Method)[?:1.8.0_111] at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)[?:1.8.0_111] at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)[?:1.8.0_111] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)[?:1.8.0_111] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)[?:1.8.0_111] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)[?:1.8.0_111] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)[?:1.8.0_111] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)[?:1.8.0_111] at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)[?:1.8.0_111]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.