Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-1419

AssertionError when edit JDK

    XMLWordPrintableJSON

Details

    Description

      Hello,

      When I right-click on jdk (any version) and choose edit, it will throw an error.

      A org.openide.util.RequestProcessor$SlowItem exception has occurred.

      Clicking Show Details will appear

      java.lang.AssertionError
       at org.openide.awt.HtmlRendererImpl.reset(HtmlRendererImpl.java:78)
       at org.openide.awt.HtmlRendererImpl.getTreeCellRendererComponent(HtmlRendererImpl.java:122)
       at org.openide.explorer.view.NodeRenderer.getTreeCellRendererComponent(NodeRenderer.java:131)
       at java.desktop/javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:3155)
       at java.desktop/javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:493)
       at java.desktop/javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1344)
       at java.desktop/javax.swing.tree.VariableHeightLayoutCache.updateNodeSizes(VariableHeightLayoutCache.java:903)
       at java.desktop/javax.swing.tree.VariableHeightLayoutCache.invalidateSizes(VariableHeightLayoutCache.java:371)
       at java.desktop/javax.swing.plaf.basic.BasicTreeUI.setCellRenderer(BasicTreeUI.java:465)
       at java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.propertyChange(BasicTreeUI.java:3816)
       at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:341)
       at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
       at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:266)
       at java.desktop/java.awt.Component.firePropertyChange(Component.java:8728)
       at java.desktop/javax.swing.JTree.setCellRenderer(JTree.java:775)
       at org.openide.explorer.view.TreeView.initializeTree(TreeView.java:281)
       at org.openide.explorer.view.TreeView.<init>(TreeView.java:213)
       at org.openide.explorer.view.TreeView.<init>(TreeView.java:203)
       at org.openide.explorer.view.BeanTreeView.<init>(BeanTreeView.java:73)
       at org.netbeans.modules.java.platform.ui.PlatformsCustomizer$PlatformsView.<init>(PlatformsCustomizer.java:527)
       at org.netbeans.modules.java.platform.ui.PlatformsCustomizer.initComponents(PlatformsCustomizer.java:153)
       at org.netbeans.modules.java.platform.ui.PlatformsCustomizer.<init>(PlatformsCustomizer.java:94)
       at org.netbeans.api.java.platform.PlatformsCustomizer.showCustomizer(PlatformsCustomizer.java:41)
       at org.netbeans.modules.java.api.common.project.ui.PlatformNode$PlatformEditable.edit(PlatformNode.java:292)
       at org.netbeans.modules.java.api.common.project.ui.EditRootAction.performAction(EditRootAction.java:41)
       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$ActionRunnable.actionPerformed(ActionInvoker.java:137)
       at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:84)
       at org.netbeans.modules.openide.actions.ActionsBridgeImpl.invokeAction(ActionsBridgeImpl.java:35)
       at org.openide.util.actions.ActionInvoker$ActionRunnable.doRun(ActionInvoker.java:128)
       at org.openide.util.actions.ActionInvoker$2.run(ActionInvoker.java:85)
       at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
       at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
       at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
       at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
      Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
       at org.openide.util.RequestProcessor.post(RequestProcessor.java:395)
       at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:89)
       at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:74)
       at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:558)
       at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
       at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
       at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
       at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
       at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369)
       at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1020)
       at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1064)
       at java.desktop/java.awt.Component.processMouseEvent(Component.java:6632)
       at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
       at java.desktop/java.awt.Component.processEvent(Component.java:6397)
       at java.desktop/java.awt.Container.processEvent(Container.java:2263)
       at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
       at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
       at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
       at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
       at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
       at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
       at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
       at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
       at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
       at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
       at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
       at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
       at java.base/java.security.AccessController.doPrivileged(Native Method)
       at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
       at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
       at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
       at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
       at java.base/java.security.AccessController.doPrivileged(Native Method)
       at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
       at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
       at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
       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)
      [catch] at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
      

      Please Help

      Thank you

      PS. Other non-related libraries, such as controlsfx, can be edited.

      Attachments

        Activity

          People

            sakeshar Sarvesh Kesharwani
            Michal_cat Michal Rama
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 40m
                1h 40m