You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "David Gradwell (JIRA)" <ji...@apache.org> on 2018/11/14 17:40:00 UTC

[jira] [Created] (NETBEANS-1685) Running on Mac OSX a java source file editor fails to open - nullPointerException

David Gradwell created NETBEANS-1685:
----------------------------------------

             Summary: Running on Mac OSX a java source file editor fails to open - nullPointerException
                 Key: NETBEANS-1685
                 URL: https://issues.apache.org/jira/browse/NETBEANS-1685
             Project: NetBeans
          Issue Type: Bug
          Components: java - Editor
    Affects Versions: 9.0
            Reporter: David Gradwell


Using Mac OSX Mojave version 10.14.1, NetBeans 9.0, Java 9.

 

When I click on a java file in the projects window I always get the following exception.  I've not succeeded in viewing a source file when running on Mac OS X and NetBeans 9.0 yet !

 

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:2797)
    at javax.swing.JComponent.addNotify(JComponent.java:4775)
    at org.netbeans.modules.editor.impl.CustomizableSideBar$WestSidebarHolder.addNotify(CustomizableSideBar.java:286)
    at java.awt.Container.addNotify(Container.java:2797)
    at javax.swing.JComponent.addNotify(JComponent.java:4775)
    at java.awt.Container.addNotify(Container.java:2797)
    at javax.swing.JComponent.addNotify(JComponent.java:4775)
    at java.awt.Container.addNotify(Container.java:2797)
    at javax.swing.JComponent.addNotify(JComponent.java:4775)
    at java.awt.Container.addImpl(Container.java:1141)
    at java.awt.Container.add(Container.java:993)
    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.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:759)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:712)
    at java.awt.EventQueue$3.run(EventQueue.java:706)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:729)
    at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:115)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:104)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:100)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:81)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists