Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4461778

CommDom tests are throwing InvocationTargetException using MB64/65

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 1.4.0
    • deploy
    • x86
    • linux


      Platform : Linux / Solaris / IA Solaris
      Browser : Netscape 4.x / NS6
      Build : MB64 / 65

      Steps to Reproduce

       1.) On a Win 32 machine , Install the J2SE for merlin build 64/651 from :
           /net/sqesvr/deployment3/merlin/beta/solaris.b65

       2.) go to the below link and execute the testcases
       For IE5/NS4:

      http://javaweb.eng/~stanleyh/java-plugin/tests/common_dom/Test.html
      http://javaweb.eng/~stanleyh/java-plugin/tests/common_dom/Form_Test.html
      http://javaweb.eng/~stanleyh/java-plugin/tests/common_dom/StyleSheet_Test.html

      For NS6:

      http://javaweb.eng/~stanleyh/java-plugin/tests/common_dom/TestNS6.html
      http://javaweb.eng/~stanleyh/java-plugin/tests/common_dom/Form_TestNS6.html
      http://javaweb.eng/~stanleyh/java-plugin/tests/common_dom/StyleSheet_TestNS6.htm
      l

       Result : The following exceptions are thrown :

      ----------------------------------------------------
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:30)
      at sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAccessorImpl.java:48)
      at java.lang.reflect.Method.invoke(Method.java:306)
      at com.sun.java.plugin.test.dom.DOMElementNode$1.run(DOMElementNode.java:68)
      at sun.plugin.dom.DOMService.invokeAndWait(DOMService.java:49)
      at com.sun.java.plugin.test.dom.DOMElementNode.getChild(DOMElementNode.java:55)
      at com.sun.java.plugin.test.dom.DOMModel.getChild(DOMModel.java:52)
      at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1478)
      at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1273)
      at javax.swing.tree.VariableHeightLayoutCache.rebuild(VariableHeightLayoutCache.java:728)
      at javax.swing.tree.VariableHeightLayoutCache.setModel(VariableHeightLayoutCache.java:94)
      at javax.swing.plaf.basic.BasicTreeUI.setModel(BasicTreeUI.java:308)
      at javax.swing.plaf.basic.BasicTreeUI$PropertyChangeHandler.propertyChange(BasicTreeUI.java:2855)
      at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:268)
      at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:236)
      at javax.swing.JComponent.firePropertyChange(JComponent.java:3728)
      at javax.swing.JTree.setModel(JTree.java:720)
      at javax.swing.JTree.<init>(JTree.java:523)
      at com.sun.java.plugin.test.dom.DOMTree.<init>(DOMTree.java:25)
      at com.sun.java.plugin.test.dom.DOMApplet.init(DOMApplet.java:48)
      at sun.applet.AppletPanel.run(AppletPanel.java:344)
      at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java:127)
      at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java:123)
      at java.lang.Thread.run(Thread.java:579)
      Caused by: sun.plugin.dom.exception.InvalidStateException: netscape.javascript.JSException: getMember does not support self.document.documentElement
      at sun.plugin.dom.DOMObject.getMember(DOMObject.java:98)
      at sun.plugin.dom.html.HTMLDocument.getDocumentElement(HTMLDocument.java:297)
      ... 25 more
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:30)
      at sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAccessorImpl.java:48)
      at java.lang.reflect.Method.invoke(Method.java:306)
      at com.sun.java.plugin.test.dom.DOMElementNode$1.run(DOMElementNode.java:68)
      at sun.plugin.dom.DOMService.invokeAndWait(DOMService.java:49)
      at com.sun.java.plugin.test.dom.DOMElementNode.getChild(DOMElementNode.java:55)
      at com.sun.java.plugin.test.dom.DOMModel.getChild(DOMModel.java:52)
      at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1478)
      at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1273)
      at javax.swing.tree.VariableHeightLayoutCache.ensurePathIsExpanded(VariableHeightLayoutCache.java:969)
      at javax.swing.tree.VariableHeightLayoutCache.setExpandedState(VariableHeightLayoutCache.java:167)
      at javax.swing.plaf.basic.BasicTreeUI.updateExpandedDescendants(BasicTreeUI.java:1481)
      at javax.swing.plaf.basic.BasicTreeUI$TreeExpansionHandler.treeExpanded(BasicTreeUI.java:2294)
      at javax.swing.JTree.fireTreeExpanded(JTree.java:2238)
      at javax.swing.JTree.setExpandedState(JTree.java:3015)
      at javax.swing.JTree.expandPath(JTree.java:1744)
      at javax.swing.plaf.basic.BasicTreeUI.toggleExpandState(BasicTreeUI.java:2075)
      at javax.swing.plaf.basic.BasicTreeUI.handleExpandControlClick(BasicTreeUI.java:2062)
      at javax.swing.plaf.basic.BasicTreeUI.checkForClickInExpandControl(BasicTreeUI.java:2016)
      at javax.swing.plaf.basic.BasicTreeUI$MouseHandler.handleSelection(BasicTreeUI.java:2785)
      at javax.swing.plaf.basic.BasicTreeUI$MouseHandler.mousePressed(BasicTreeUI.java:2760)
      at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
      at java.awt.Component.processMouseEvent(Component.java:4903)
      at java.awt.Component.processEvent(Component.java:4732)
      at java.awt.Container.processEvent(Container.java:1337)
      at java.awt.Component.dispatchEventImpl(Component.java:3476)
      at java.awt.Container.dispatchEventImpl(Container.java:1399)
      at java.awt.Component.dispatchEvent(Component.java:3343)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3302)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3010)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2967)
      at java.awt.Container.dispatchEventImpl(Container.java:1373)
      at java.awt.Component.dispatchEvent(Component.java:3343)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
      at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
      Caused by: sun.plugin.dom.exception.InvalidStateException: netscape.javascript.JSException: getMember does not support self.document.documentElement
      at sun.plugin.dom.DOMObject.getMember(DOMObject.java:98)
      at sun.plugin.dom.html.HTMLDocument.getDocumentElement(HTMLDocument.java:297)
      ... 39 more
         

            Unassigned Unassigned
            smadishesunw Srinivas Madishetty (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: