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

Unable to open any xml file in the IDE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Cannot Reproduce
    • 9.0
    • None
    • editor - Code folding
    • None

    Description

      Step to reproduce :
      Project Node > Maven Project > Right click > Open POM
      or directly drop any external xml in the IDE

      NetBeans IDE info :

      Product Version: Apache NetBeans IDE 9.0 (Build incubator-netbeans-release-334-on-20180708)
      Java: 10.0.2; Java HotSpot(TM) 64-Bit Server VM 10.0.2+13
      Runtime: Java(TM) SE Runtime Environment 10.0.2+13
      System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
      User directory: C:\Users\jGauravGupta\AppData\Roaming\NetBeans\9.0
      Cache directory: C:\Users\jGauravGupta\AppData\Local\NetBeans\Cache\9.0
      

      Stacktrace :

      java.lang.NullPointerException
      	at org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.resolveBackColor(CodeFoldingSideBar.java:350)
      	at org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.updateColors(CodeFoldingSideBar.java:365)
      	at org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.access$200(CodeFoldingSideBar.java:99)
      	at org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar$2.preferenceChange(CodeFoldingSideBar.java:228)
      	at org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.addNotify(CodeFoldingSideBar.java:284)
      	at java.desktop/java.awt.Container.addNotify(Container.java:2798)
      	at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
      	at org.netbeans.modules.editor.impl.CustomizableSideBar$WestSidebarHolder.addNotify(CustomizableSideBar.java:286)
      	at java.desktop/java.awt.Container.addNotify(Container.java:2798)
      	at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
      	at java.desktop/java.awt.Container.addNotify(Container.java:2798)
      	at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
      	at java.desktop/java.awt.Container.addNotify(Container.java:2798)
      	at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
      	at java.desktop/java.awt.Container.addImpl(Container.java:1144)
      	at java.desktop/java.awt.Container.add(Container.java:995)
      	at org.openide.text.CloneableEditorInitializer.initCustomEditor(CloneableEditorInitializer.java:523)
      	at org.openide.text.CloneableEditorInitializer.initCustomEditorAndDecorationsInEDT(CloneableEditorInitializer.java:573)
      [catch] at org.openide.text.CloneableEditorInitializer.run(CloneableEditorInitializer.java:321)
      	at org.openide.text.CloneableEditorInitializer.processPendingEDTRequests(CloneableEditorInitializer.java:135)
      	at org.openide.text.CloneableEditorInitializer$1.run(CloneableEditorInitializer.java:84)
      	at org.netbeans.core.windows.WindowManagerImpl$Exclusive$1.run(WindowManagerImpl.java:1546)
      	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)
      	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)
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jgauravgupta Gaurav Gupta
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: