Renato Moutinho Silva created NETBEANS-2228:
-----------------------------------------------
Summary: Got NPE opening a file from PHP project
Key: NETBEANS-2228
URL: https://issues.apache.org/jira/browse/NETBEANS-2228
Project: NetBeans
Issue Type: Bug
Affects Versions: 10.0
Environment: Windows 10
Reporter: Renato Moutinho Silva
Attachments: ide.log
Was working on a PHP project without any issues. However, after closing
netbeans and starting it again, I started getting the NPE below on any file I
try to open:
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.awt.Container.addNotify(Container.java:2773)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at
org.netbeans.modules.editor.impl.CustomizableSideBar$WestSidebarHolder.addNotify(CustomizableSideBar.java:286)
at java.awt.Container.addNotify(Container.java:2773)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at java.awt.Container.addNotify(Container.java:2773)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at java.awt.Container.addNotify(Container.java:2773)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at java.awt.Container.addImpl(Container.java:1121)
at java.awt.Container.add(Container.java:973)
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:1551)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists