[ https://issues.apache.org/jira/browse/NETBEANS-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16593235#comment-16593235 ]
Geertjan Wielenga commented on NETBEANS-1193: --------------------------------------------- Is this in the officially released version of Apache NetBeans (incubating) 9.0? That's what I'm using all the time with Maven POMs without any problems. > Unable to open any xml file in the IDE > -------------------------------------- > > Key: NETBEANS-1193 > URL: https://issues.apache.org/jira/browse/NETBEANS-1193 > Project: NetBeans > Issue Type: Bug > Components: editor - Code folding > Affects Versions: 9.0 > Reporter: Gaurav Gupta > Priority: Blocker > > Step to reproduce : > Project Node > Maven Project > Right click > Open POM > or directly drop any external xml in the IDE > NetBeans IDE info : > {noformat} > 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 > {noformat} > Stacktrace : > {code:java} > 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) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists