2 Replies Latest reply on Oct 11, 2017 7:36 AM by 3565562

    SqlDeveloper 17.3 error opening procedure

    3565562

      Hi all,

       

      with SqlDeveloper 17.3 version, I am not able to access to a specific procedure present in another schema. Indeed, I get the following error when I open the procedure tree of that schema:

       

      java.lang.ClassCastException: oracle.ide.model.UnrecognizedTextNode cannot be cast to oracle.dbtools.raptor.navigator.impl.DatabaseNode

      at oracle.dbtools.raptor.navigator.impl.DatabaseNavigatorElementFactory.createObjectNodeImpl(DatabaseNavigatorElementFactory.java:426)

      at oracle.dbtools.raptor.navigator.impl.DatabaseNavigatorElementFactory.createObjectNode(DatabaseNavigatorElementFactory.java:406)

      at oracle.dbtools.raptor.navigator.db.impl.ObjectFolderTreeNode$LoadTask.doWorkImpl(ObjectFolderTreeNode.java:79)

      at oracle.dbtools.raptor.navigator.model.NavigatorQueryTask.doWork(NavigatorQueryTask.java:57)

      at oracle.dbtools.raptor.navigator.model.NavigatorQueryTask.doWork(NavigatorQueryTask.java:17)

      at oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)

      at java.util.concurrent.FutureTask.run(FutureTask.java:266)

      at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:629)

      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

      at java.util.concurrent.FutureTask.run(FutureTask.java:266)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

      at java.lang.Thread.run(Thread.java:748)

       

      And if I search the procedure via "find object in DB" I get the following error:

       

      java.lang.ClassCastException: oracle.ide.model.UnrecognizedTextNode cannot be cast to oracle.dbtools.raptor.navigator.impl.DatabaseNode

      at oracle.dbtools.raptor.navigator.impl.DatabaseNavigatorElementFactory.createObjectNodeImpl(DatabaseNavigatorElementFactory.java:426)

      at oracle.dbtools.raptor.navigator.impl.DatabaseNavigatorElementFactory.createNodeFromFolder(DatabaseNavigatorElementFactory.java:370)

      at oracle.dbtools.raptor.navigator.impl.DatabaseNavigatorElementFactory.createNodeByType(DatabaseNavigatorElementFactory.java:343)

      at oracle.dbtools.raptor.navigator.impl.DatabaseNavigatorElementFactory.getObjectNode(DatabaseNavigatorElementFactory.java:262)

      at oracle.dbtools.raptor.oviewer.base.NavSelectionListener.open(NavSelectionListener.java:428)

      at oracle.dbtools.raptor.oviewer.base.NavSelectionListener.waitOnOpen(NavSelectionListener.java:391)

      at oracle.dbtools.parser.plsql.Item.goTo(Item.java:107)

      at oracle.dbtools.raptor.controls.search.SearchResultsEditor$2.mouseClicked(SearchResultsEditor.java:226)

      at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)

      at java.awt.Component.processMouseEvent(Component.java:6536)

      at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)

      at java.awt.Component.processEvent(Component.java:6298)

      at java.awt.Container.processEvent(Container.java:2236)

      at java.awt.Component.dispatchEventImpl(Component.java:4889)

      at java.awt.Container.dispatchEventImpl(Container.java:2294)

      at java.awt.Component.dispatchEvent(Component.java:4711)

      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)

      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4534)

      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)

      at java.awt.Container.dispatchEventImpl(Container.java:2280)

      at java.awt.Window.dispatchEventImpl(Window.java:2746)

      at java.awt.Component.dispatchEvent(Component.java:4711)

      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)

      at java.awt.EventQueue.access$500(EventQueue.java:97)

      at java.awt.EventQueue$3.run(EventQueue.java:709)

      at java.awt.EventQueue$3.run(EventQueue.java:703)

      at java.security.AccessController.doPrivileged(Native Method)

      at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)

      at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)

      at java.awt.EventQueue$4.run(EventQueue.java:731)

      at java.awt.EventQueue$4.run(EventQueue.java:729)

      at java.security.AccessController.doPrivileged(Native Method)

      at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)

      at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)

      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:201)

      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)

      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)

      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)

      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)

      at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

       

      Does anyone knows what's happening? Is it a bug? Is there any action I can take to display the procedure?

       

      Thanks,