3 Replies Latest reply: Jan 22, 2013 8:15 PM by user6003393 RSS

    JDev 11.1.2.3.0 Release 2 - crashes with Hierarchy Viewer

    user6003393
      Every time I try to edit properties for the Hierarchy Viewer, JDeveloper crashes: - Any Ideas????


      oracle.adfdtinternal.model.ide.jdev.JDevDataControlManager:Jan 21, 2013 8:57:06 PM oracle.adfdtinternal.model.ide.jdev.JDevDataControlManager notifyAfterPopulatingDataControls
      INFO: Number of data controls:1

      oracle.jdevimpl.webapp.faces.config.modelimpl.FacesConfigHandler:Jan 21, 2013 8:57:07 PM oracle.jdevimpl.webapp.faces.config.modelimpl.FacesConfigHandler setIsMetadataComplete
      INFO: jar:file:/C:/Documents and Settings/p304641/My Documents/classes/Oracle ADF/ReUsableJARs/SharedComponentsViewController.jar!/META-INF/faces-config.xml metadata-complete undefined (false)

      oracle.jdevimpl.webapp.faces.config.modelimpl.FacesConfigHandler:Jan 21, 2013 8:57:07 PM oracle.jdevimpl.webapp.faces.config.modelimpl.FacesConfigHandler setIsMetadataComplete
      INFO: jar:file:/C:/Oracle/Middleware/jdeveloper/jlib/bundleresolver.jar!/META-INF/faces-config.xml metadata-complete undefined (false)

      oracle.jdevimpl.webapp.faces.config.modelimpl.FacesConfigHandler:Jan 21, 2013 8:57:09 PM oracle.jdevimpl.webapp.faces.config.modelimpl.FacesConfigHandler setIsMetadataComplete
      INFO: jar:file:/C:/Documents and Settings/p304641/My Documents/classes/Oracle ADF/ReUsableJARs/SharedComponentsViewController.jar!/META-INF/faces-config.xml metadata-complete undefined (false)

      Performing action (79) About [ from HtmlEditor ] [ for ( main.jsf, IpsViewController.jpr, InitialPhaseScheduling.jws ) ]
      Invoking command: [ from HtmlEditor ] [ for ( main.jsf, IpsViewController.jpr, InitialPhaseScheduling.jws ) ]
      oracle.bali.xml.share.WeakListenerManager:Jan 21, 2013 8:57:10 PM oracle.bali.xml.share.WeakListenerManager addListener
      WARNING: Tried to add listener that was already attached: listener=oracle.jdevimpl.webapp.grammar.DelegatingGrammarProvider$IdenticalGrammarEventPercolator@77d7basource=oracle.jdevimpl.webapp.facelets.libraries.FaceletsLibraryMetadataGrammarProvider@ab4a39

      oracle.bali.xml.share.WeakListenerManager:Jan 21, 2013 8:57:10 PM oracle.bali.xml.share.WeakListenerManager addListener
      WARNING: Tried to add listener that was already attached: listener=oracle.jdevimpl.webapp.grammar.DelegatingGrammarProvider$IdenticalGrammarEventPercolator@508cb2source=oracle.bali.xml.grammar.proxy.GrammarProviderProxy@8a8eb3

      Performing action (79) About [ from  ] [ for ( <none>, IpsViewController.jpr, InitialPhaseScheduling.jws ) ]
      Invoking command: [ from  ] [ for ( <none>, IpsViewController.jpr, InitialPhaseScheduling.jws ) ]
      Performing action (173) Release Notes [ from  ] [ for ( <none>, IpsViewController.jpr, InitialPhaseScheduling.jws ) ]
      Performing action (340) Check for Updates... [ from  ] [ for ( <none>, IpsViewController.jpr, InitialPhaseScheduling.jws ) ]
      Performing action (490) Customizer [ from InspectorWindowImpl ] [ for ( main.jsf, IpsViewController.jpr, InitialPhaseScheduling.jws ) ]
      oracle.adfdtinternal.dvt.datapresdt.dnd.TVModelProvider$1:Jan 21, 2013 9:11:29 PM oracle.javatools.logging.LogUtils log
      WARNING: Exception in task oracle.adfdtinternal.dvt.datapresdt.dnd.TVModelProvider$1@1c29a32 on model oracle.jdevimpl.j2ee.facelets.FaceletsXmlModel@10fba16; txn name=Create Hierarchy Viewer
      java.lang.ArrayIndexOutOfBoundsException: node has no children
           at javax.swing.tree.DefaultMutableTreeNode.getChildAt(DefaultMutableTreeNode.java:228)
           at javax.swing.tree.DefaultTreeModel.getChild(DefaultTreeModel.java:156)
           at oracle.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel$ZoomPanel.processNodeFacet(TVBindPanel.java:1395)
           at oracle.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel$ZoomPanel.initTreePanel(TVBindPanel.java:1617)
           at oracle.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel$ZoomPanel.<init>(TVBindPanel.java:1298)
           at oracle.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel.updateJTabbedPane(TVBindPanel.java:1197)
           at oracle.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel.setSelectedCollection(TVBindPanel.java:756)
           at oracle.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel.initTreeFromDef(TVBindPanel.java:603)
           at oracle.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel.createCollectionTree(TVBindPanel.java:589)
           at oracle.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel.initialize(TVBindPanel.java:328)
           at oracle.adfdtinternal.model.dvt.ide.objects.editors.TVEditor.createEditPanel(TVEditor.java:201)
           at oracle.adfdtinternal.model.ide.objects.editors.JUDTObjectEditor.findOrCreateEditPanel(JUDTObjectEditor.java:171)
           at oracle.adfdtinternal.model.ide.objects.editors.JUDTObjectEditor.prepareEditor(JUDTObjectEditor.java:247)
           at oracle.adfdtinternal.model.ide.objects.editors.JUDTObjectEditor.showEditorInDialog(JUDTObjectEditor.java:217)
           at oracle.adfdtinternal.dvt.datapresdt.dnd.TVModelProvider$1.performTask(TVModelProvider.java:179)
           at oracle.bali.xml.model.task.StandardTransactionTask.runWithTokenThrowingXCE(StandardTransactionTask.java:235)
           at oracle.bali.xml.model.task.StandardTransactionTask.runWithToken(StandardTransactionTask.java:114)
           at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:101)
           at oracle.adfdtinternal.dvt.datapresdt.dnd.TVModelProvider.displayEditingUI(TVModelProvider.java:171)
           at oracle.adfdtinternal.dvt.datapresdt.metadata.creators.HVNodeCustomizer.customizeNode(HVNodeCustomizer.java:69)
           at oracle.bali.xml.util.XmlCustomizeAction$1.performTask(XmlCustomizeAction.java:97)
           at oracle.bali.xml.model.task.StandardTransactionTask.runWithTokenThrowingXCE(StandardTransactionTask.java:235)
           at oracle.bali.xml.model.task.StandardTransactionTask.runWithToken(StandardTransactionTask.java:114)
           at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:101)
           at oracle.bali.xml.util.XmlCustomizeAction.actionPerformed(XmlCustomizeAction.java:92)
           at oracle.bali.xml.gui.jdev.inspector.XmlInspectable.showCustomDialog(XmlInspectable.java:272)
           at oracle.ideimpl.inspector.InspectorWindowImpl.showCustomizer(InspectorWindowImpl.java:1684)
           at oracle.ideimpl.inspector.InspectorManagerImpl.handleEvent(InspectorManagerImpl.java:187)
           at oracle.ide.controller.IdeAction.performAction(IdeAction.java:662)
           at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:1140)
           at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:617)
           at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
           at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
           at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
           at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
           at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
           at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
           at java.awt.Component.processMouseEvent(Component.java:6289)
           at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
           at java.awt.Component.processEvent(Component.java:6054)
           at java.awt.Container.processEvent(Container.java:2041)
           at java.awt.Component.dispatchEventImpl(Component.java:4652)
           at java.awt.Container.dispatchEventImpl(Container.java:2099)
           at java.awt.Component.dispatchEvent(Component.java:4482)
           at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
           at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
           at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
           at java.awt.Container.dispatchEventImpl(Container.java:2085)
           at java.awt.Window.dispatchEventImpl(Window.java:2478)
           at java.awt.Component.dispatchEvent(Component.java:4482)
           at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
           at java.awt.EventQueue.access$000(EventQueue.java:85)
           at java.awt.EventQueue$1.run(EventQueue.java:603)
           at java.awt.EventQueue$1.run(EventQueue.java:601)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
           at java.awt.EventQueue$2.run(EventQueue.java:617)
           at java.awt.EventQueue$2.run(EventQueue.java:615)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
           at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
           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:269)
           at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
           at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
           at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
           at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
           at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

      oracle.bali.xml.util.XmlCustomizeAction$1:Jan 21, 2013 9:11:29 PM oracle.javatools.logging.LogUtils log
      WARNING: Exception in task oracle.bali.xml.util.XmlCustomizeAction$1@17a189b on model oracle.jdevimpl.webapp.jsp.JspExplorerView@e5a772; txn name=Properties for dvt:hierarchyViewer... (exception previously logged)

      Exception while performing action Customizer
      java.lang.ArrayIndexOutOfBoundsException: node has no children
      jx.s.tree.DefaultMutableTreeNode.getChildAt(DefaultMutableTreeNode.java:228)
      jx.s.tree.DefaultTreeModel.getChild(DefaultTreeModel.java:156)
      o.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel$ZoomPanel.processNodeFacet(TVBindPanel.java:1395)
      o.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel$ZoomPanel.initTreePanel(TVBindPanel.java:1617)
      o.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel$ZoomPanel.<init>(TVBindPanel.java:1298)
      o.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel.updateJTabbedPane(TVBindPanel.java:1197)
      o.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel.setSelectedCollection(TVBindPanel.java:756)
      o.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel.initTreeFromDef(TVBindPanel.java:603)
      o.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel.createCollectionTree(TVBindPanel.java:589)
      o.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel.initialize(TVBindPanel.java:328)
      o.adfdtinternal.model.dvt.ide.objects.editors.TVEditor.createEditPanel(TVEditor.java:201)
      o.adfdtinternal.model.ide.objects.editors.JUDTObjectEditor.findOrCreateEditPanel(JUDTObjectEditor.java:171)
      o.adfdtinternal.model.ide.objects.editors.JUDTObjectEditor.prepareEditor(JUDTObjectEditor.java:247)
      o.adfdtinternal.model.ide.objects.editors.JUDTObjectEditor.showEditorInDialog(JUDTObjectEditor.java:217)
      o.adfdtinternal.dvt.datapresdt.dnd.TVModelProvider$1.performTask(TVModelProvider.java:179)
      o.bali.xml.model.task.StandardTransactionTask.runWithTokenThrowingXCE(StandardTransactionTask.java:235)
      o.bali.xml.model.task.StandardTransactionTask.runWithToken(StandardTransactionTask.java:114)
      o.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:101)
      o.adfdtinternal.dvt.datapresdt.dnd.TVModelProvider.displayEditingUI(TVModelProvider.java:171)
      o.adfdtinternal.dvt.datapresdt.metadata.creators.HVNodeCustomizer.customizeNode(HVNodeCustomizer.java:69)
      o.bali.xml.util.XmlCustomizeAction$1.performTask(XmlCustomizeAction.java:97)
      o.bali.xml.model.task.StandardTransactionTask.runWithTokenThrowingXCE(StandardTransactionTask.java:235)
      o.bali.xml.model.task.StandardTransactionTask.runWithToken(StandardTransactionTask.java:114)
      o.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:101)
      o.bali.xml.util.XmlCustomizeAction.actionPerformed(XmlCustomizeAction.java:92)
      o.bali.xml.gui.jdev.inspector.XmlInspectable.showCustomDialog(XmlInspectable.java:272)
      o.ii.inspector.InspectorWindowImpl.showCustomizer(InspectorWindowImpl.java:1684)
      o.ii.inspector.InspectorManagerImpl.handleEvent(InspectorManagerImpl.java:187)
      o.i.controller.IdeAction.performAction(IdeAction.java:662)
      o.i.controller.IdeAction.actionPerformedImpl(IdeAction.java:1140)
      o.i.controller.IdeAction.actionPerformed(IdeAction.java:617)
      jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
      jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
      jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
      jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
      jx.s.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
      j.a.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
      j.a.Component.processMouseEvent(Component.java:6289)
      jx.s.JComponent.processMouseEvent(JComponent.java:3267)
      j.a.Component.processEvent(Component.java:6054)
      j.a.Container.processEvent(Container.java:2041)
      j.a.Component.dispatchEventImpl(Component.java:4652)
      j.a.Container.dispatchEventImpl(Container.java:2099)
      j.a.Component.dispatchEvent(Component.java:4482)
      j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
      j.a.LightweightDispatcher.processMouseEvent(Container.java:4238)
      j.a.LightweightDispatcher.dispatchEvent(Container.java:4168)
      j.a.Container.dispatchEventImpl(Container.java:2085)
      j.a.Window.dispatchEventImpl(Window.java:2478)
      j.a.Component.dispatchEvent(Component.java:4482)
      j.a.EventQueue.dispatchEventImpl(EventQueue.java:644)
      j.a.EventQueue.access$000(EventQueue.java:85)
      j.a.EventQueue$1.run(EventQueue.java:603)
      j.a.EventQueue$1.run(EventQueue.java:601)
      j.security.AccessController.doPrivileged(Native Method)
      j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
      j.a.EventQueue$2.run(EventQueue.java:617)
      j.a.EventQueue$2.run(EventQueue.java:615)
      j.security.AccessController.doPrivileged(Native Method)
      j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      j.a.EventQueue.dispatchEvent(EventQueue.java:614)
      o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
      o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
      j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      j.a.EventDispatchThread.run(EventDispatchThread.java:122)
      oracle.ide.controller.IdeAction:Jan 21, 2013 9:11:29 PM oracle.ide.controller.IdeAction performAction
      SEVERE: Error during handleEvent on action 'Customizer' (id=490).
      None of the attached controllers handled the action..
        • 1. Re: JDev 11.1.2.3.0 Release 2 - crashes with Hierarchy Viewer
          Frank Nimphius-Oracle
          Hi,

          do you have a testcase based on the Oracle HR schema that reproduces this ? If so, file a bug with support (requires valid support license) or send me the testcase in a zip file (rename to "unzip"). My mail address is in my OTN profile

          Frank
          • 2. Re: JDev 11.1.2.3.0 Release 2 - crashes with Hierarchy Viewer
            user6003393
            Thanks for your reply.

            Unfortunately, the application is for work. So, I am not using the HR schema.

            I was asked to evaluate the tool as part of a pilot effort to determine its usefulness.

            So, I downloaded Oracle Essentials for the evaluation.

            We do not have a support license.

            I believe some modification of a View Object caused the issue.

            The application was working great since I started using the tool a few weeks ago.

            My hope is that the stack trace will provide enough information to understand the root cause and corrective action.
            • 3. Re: JDev 11.1.2.3.0 Release 2 - crashes with Hierarchy Viewer
              user6003393
              One interesting thing I noticed after reviewing http://download.oracle.com/otn_hosted_doc/jdeveloper/111demos/ADF_DVT_HV/HVDemo.html.

              At the end of the demo, it shows a representation of the hierarchy viewer at design time and 2 nodes are shown connected by a line.

              In my version of JDeveloper, I only see the top node at design time.

              I wonder if that difference might be a clue to my problem?

              If you review the stack trace provider at the beginning of this thread, it refers to a missing node.