Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 807587, 1 year ago
java.lang.ClassCastException: java.lang.String	at TraceEndpointsTree$MyTerminalEndpointsRenderer.getTreeCellRendererComponent(TraceEndpointsTree.java:544)	at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2501)	at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:402)	at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1289)	at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.getPreferredWidth(VariableHeightLayoutCache.java:1106)	at javax.swing.tree.VariableHeightLayoutCache.getMaxNodeWidth(VariableHeightLayoutCache.java:937)	at javax.swing.tree.VariableHeightLayoutCache.getPreferredWidth(VariableHeightLayoutCache.java:259)	at javax.swing.plaf.basic.BasicTreeUI.updateCachedPreferredSize(BasicTreeUI.java:1585)	at javax.swing.plaf.basic.BasicTreeUI.getPreferredSize(BasicTreeUI.java:1680)	at javax.swing.plaf.basic.BasicTreeUI.getPreferredSize(BasicTreeUI.java:1668)	at javax.swing.JComponent.getPreferredSize(JComponent.java:796)	at javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:745)	at java.awt.Container.layout(Container.java:494)	at java.awt.Container.doLayout(Container.java:484)	at java.awt.Container.validateTree(Container.java:553)	at java.awt.Container.validateTree(Container.java:560)	at java.awt.Container.validateTree(Container.java:560)	at java.awt.Container.validateTree(Container.java:560)	at java.awt.Container.validateTree(Container.java:560)	at java.awt.Container.validateTree(Container.java:560)	at java.awt.Container.validateTree(Container.java:560)	at java.awt.Container.validate(Container.java:535)	at java.awt.Window.pack(Window.java:267)	at TraceEndpointsTree.(TraceEndpointsTree.java:171)	at ClientFrame.treeDoubleClick(ClientFrame.java:635)	at ClientFrame.access$3(ClientFrame.java:549)	at ClientFrame$SymMouseAction.mouseClicked(ClientFrame.java:449)	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:211)	at java.awt.Component.processMouseEvent(Component.java:3163)	at java.awt.Component.processEvent(Component.java:2999)	at java.awt.Container.processEvent(Container.java:990)	at java.awt.Component.dispatchEventImpl(Component.java:2394)	at java.awt.Container.dispatchEventImpl(Container.java:1035)	at java.awt.Component.dispatchEvent(Component.java:2307)	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2043)	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:1841)	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:1730)	at java.awt.Container.dispatchEventImpl(Container.java:1022)	at java.awt.Window.dispatchEventImpl(Window.java:749)	at java.awt.Component.dispatchEvent(Component.java:2307)	at java.awt.EventQueue.dispatchEvent(EventQueue.java:287)	at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:101)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)	at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)