java.lang.ClassCastException: oracle.dbtools.raptor.navigator.db.impl.ConnectionStoresTreeNode cannot be cast to oracle.ideimpl.explorer.ExplorerNode

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 2850337, 1 year ago
oracle.dbtools.raptor.navigator.db.impl.ConnectionStoresTreeNode cannot be cast to oracle.ideimpl.explorer.ExplorerNode
java.lang.ClassCastException: oracle.dbtools.raptor.navigator.db.impl.ConnectionStoresTreeNode cannot be cast to oracle.ideimpl.explorer.ExplorerNode
at oracle.ideimpl.explorer.CustomTreeCellRenderer.getTreeCellRendererComponent(CustomTreeCellRenderer.java:133)
at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2805)
at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:492)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1359)
at javax.swing.tree.VariableHeightLayoutCache.updateNodeSizes(VariableHeightLayoutCache.java:917)
at javax.swing.tree.VariableHeightLayoutCache.invalidateSizes(VariableHeightLayoutCache.java:371)
at javax.swing.plaf.basic.BasicTreeUI.setCellRenderer(BasicTreeUI.java:385)
at javax.swing.plaf.basic.BasicTreeUI$Handler.propertyChange(BasicTreeUI.java:3409)
at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263)
at java.awt.Component.firePropertyChange(Component.java:8393)
at oracle.ideimpl.explorer.CustomTree.(CustomTree.java:69)
at oracle.dbtools.raptor.navigator.ui.CustomTree.(CustomTree.java:36)
at oracle.dbtools.raptor.navigator.model.NavigatorTree.createGUI(NavigatorTree.java:173)
at oracle.dbtools.raptor.navigator.model.NavigatorTree.getTree(NavigatorTree.java:167)
at oracle.dbtools.raptor.navigator.core.NavigatorWindow.createGUI(NavigatorWindow.java:106)
at oracle.dbtools.raptor.navigator.core.NavigatorWindow.getGUI(NavigatorWindow.java:319)
at oracle.ide.docking.DockableWindow.getHostedComponent(DockableWindow.java:238)
at com.oracle.jdeveloper.nbwindowsystem.NbDockableContainer.componentOpened(NbDockableContainer.java:171)
at org.openide.windows.WindowManager.componentOpenNotify(WindowManager.java:307)
at org.netbeans.core.windows.WindowManagerImpl.notifyTopComponentOpened(WindowManagerImpl.java:1140)
at org.netbeans.core.windows.Central.addModeOpenedTopComponent(Central.java:798)
at org.netbeans.core.windows.ModeImpl.addOpenedTopComponent(ModeImpl.java:354)
at org.netbeans.core.windows.PersistenceHandler.initModeFromConfig(PersistenceHandler.java:451)
at org.netbeans.core.windows.PersistenceHandler.load(PersistenceHandler.java:214)
at org.netbeans.core.windows.WindowSystemImpl.load(WindowSystemImpl.java:81)
at org.netbeans.core.GuiRunLevel$InitWinSys.run(GuiRunLevel.java:231)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:738)
at java.awt.EventQueue.access$300(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:699)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:708)
at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

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.

Know the solutions? Share your knowledge to help other developers to debug faster.