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

Netbeans start-up exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 9.0
    • None
    • third-party - Other

    Description

      context

      • Starting Netbeans from command-line
      • Previous open Gradle projects to load
      • Previous Source code editor windows to load

      expected / desirable

      • I feel Ntebeans should be starting without Exceptions showing in the log
      • If there were problems with previous project state these can be logged
        • And should be repaired, or dropped
        • In certain case the user might be prompted to supply missing information

      actual

      • There are several errors in the attached messages.log file.
      • As well on this start-up there was also an Assertion Error, see AssertionError.logs attachment.
        • AssertionError stacktrace:
          java.lang.AssertionError: file:/D:/work/products/FourAbs/FourAbsClientCommon/build/classes/groovy/main
          	at org.netbeans.modules.form.project.ClassSource.getClasspath(ClassSource.java:81)
          	at org.netbeans.modules.form.project.ClassPathUtils.loadClass(ClassPathUtils.java:164)
          	at org.netbeans.modules.form.palette.PaletteItem.loadComponentClass(PaletteItem.java:318)
          	at org.netbeans.modules.form.palette.PaletteItem.getComponentClass(PaletteItem.java:146)
          	at org.netbeans.modules.form.palette.PaletteItem.getBeanDescriptor(PaletteItem.java:346)
          	at org.netbeans.modules.form.palette.PaletteItem.getTooltip(PaletteItem.java:264)
          	at org.netbeans.modules.form.palette.PaletteItemDataObject$ItemNode.getShortDescription(PaletteItemDataObject.java:333)
          	at org.openide.nodes.FilterNode.getShortDescription(FilterNode.java:526)
          	at org.openide.nodes.FilterNode.getShortDescription(FilterNode.java:526)
          	at org.netbeans.modules.palette.DefaultItem.getShortDescription(DefaultItem.java:64)
          	at org.netbeans.modules.palette.ui.CategoryList$ItemRenderer.getListCellRendererComponent(CategoryList.java:305)
          	at java.desktop/javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java:1439)
          	at org.netbeans.modules.palette.ui.CategoryList$CategoryListUI.updateLayoutState(CategoryList.java:386)
          	at java.desktop/javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1389)
          	at java.desktop/javax.swing.plaf.basic.BasicListUI.getCellBounds(BasicListUI.java:1027)
          	at java.desktop/javax.swing.JList.getCellBounds(JList.java:1641)
          	at java.desktop/javax.swing.JList.ensureIndexIsVisible(JList.java:1153)
          	at org.netbeans.modules.palette.ui.CategoryDescriptor.doSetOpened(CategoryDescriptor.java:200)
          	at org.netbeans.modules.palette.ui.CategoryDescriptor.<init>(CategoryDescriptor.java:99)
          	at org.netbeans.modules.palette.ui.PalettePanel.computeDescriptors(PalettePanel.java:186)
          	at org.netbeans.modules.palette.ui.PalettePanel.access$500(PalettePanel.java:87)
          	at org.netbeans.modules.palette.ui.PalettePanel$2.run(PalettePanel.java:284)
          	at org.netbeans.modules.palette.ui.PalettePanel.refresh(PalettePanel.java:301)
          	at org.netbeans.modules.palette.ui.PalettePanel.setContent(PalettePanel.java:403)
          	at org.netbeans.spi.palette.PaletteTopComponent.setPaletteController(PaletteTopComponent.java:134)
          	at org.netbeans.spi.palette.PaletteTopComponent.propertyChange(PaletteTopComponent.java:128)
          	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 org.netbeans.spi.palette.PaletteSwitch.showHidePaletteTopComponent(PaletteSwitch.java:226)
          	at org.netbeans.spi.palette.PaletteSwitch.access$400(PaletteSwitch.java:54)
          	at org.netbeans.spi.palette.PaletteSwitch$3.run(PaletteSwitch.java:341)
          	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
          	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
          	at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
          	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:87)
          	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
          	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  

      supporting information

      • messages.log
      • AssertionError.logs - contains ...
        • stacktrace
        • UI log
        • IDE log

      Attachments

        1. messages.log
          406 kB
          aplatypus
        2. AssertionError.logs
          1.14 MB
          aplatypus

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aplatypus aplatypus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: