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

IGV can't open some graphs due to script error

XMLWordPrintable

    • generic
    • generic

      I can't open some graph after JDK-8315604. Revert this change works.

      Here is the error message.

      java.lang.ClassCastException: Cannot cast java.lang.String to [Ljava.lang.String;
      at java.base/java.lang.Class.cast(Class.java:3889)
      at org.openjdk.nashorn.internal.scripts.Script$Recompilation$11$7143AAAA$\^eval\_.editProperty(<eval>:201)
      at org.openjdk.nashorn.internal.scripts.Script$10$\^eval\_.:scopeCall-1(<eval>)
      at org.openjdk.nashorn.internal.scripts.Script$10$\^eval\_.:program(<eval>:17)
      at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:646)
      at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
      at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
      at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:442)
      at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:399)
      at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:395)
      at org.openjdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:151)
      at java.scripting/javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:231)
      at com.sun.hotspot.igv.filter.CustomFilter.apply(CustomFilter.java:95)
      at com.sun.hotspot.igv.filter.FilterChain.applyInOrder(FilterChain.java:74)
      at com.sun.hotspot.igv.view.DiagramViewModel.rebuildDiagram(DiagramViewModel.java:390)
      at com.sun.hotspot.igv.view.DiagramViewModel.changed(DiagramViewModel.java:503)
      at com.sun.hotspot.igv.view.DiagramViewModel.changed(DiagramViewModel.java:49)
      at com.sun.hotspot.igv.data.ChangedEvent.fire(ChangedEvent.java:44)
      at com.sun.hotspot.igv.data.ChangedEvent.fire(ChangedEvent.java:31)
      at com.sun.hotspot.igv.data.Event.fire(Event.java:56)
      at com.sun.hotspot.igv.util.RangeSliderModel.setPositions(RangeSliderModel.java:106)
      at com.sun.hotspot.igv.view.DiagramViewModel.selectGraph(DiagramViewModel.java:461)
      at com.sun.hotspot.igv.view.DiagramViewModel.<init>(DiagramViewModel.java:241)
      at com.sun.hotspot.igv.view.GraphViewerImplementation.view(GraphViewerImplementation.java:65)
      at com.sun.hotspot.igv.coordinator.actions.GraphOpenCookie.open(GraphOpenCookie.java:42)
      at org.openide.actions.OpenAction.performAction(OpenAction.java:59)
      at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:561)
      at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:70)
      at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:91)
      at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:74)
      at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:558)
      at org.openide.explorer.view.TreeView$PopupSupport.mouseClicked(TreeView.java:1608)
      at java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:278)
      at java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:277)
      at java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:277)
      at java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:277)
      at java.desktop/java.awt.Component.processMouseEvent(Component.java:6629)
      at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3389)
      at java.desktop/java.awt.Component.processEvent(Component.java:6391)
      at java.desktop/java.awt.Container.processEvent(Container.java:2266)
      at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5001)
      at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
      at java.desktop/java.awt.Component.dispatchEvent(Component.java:4833)
      at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948)
      at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4584)
      at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516)
      at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)
      at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780)
      at java.desktop/java.awt.Component.dispatchEvent(Component.java:4833)
      at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:775)
      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
      at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
      at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
      at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
      at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:747)
      at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
      at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
      at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
      at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:744)
      at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
      [catch] at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
      at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
      at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
      at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
      at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

            rcastanedalo Roberto Castaneda Lozano
            xliu Xin Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: