You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Andrea Mairegger (JIRA)" <ji...@apache.org> on 2019/08/05 11:52:00 UTC

[jira] [Comment Edited] (NETBEANS-2228) Got NPE opening a file from PHP project

    [ https://issues.apache.org/jira/browse/NETBEANS-2228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16900021#comment-16900021 ] 

Andrea Mairegger edited comment on NETBEANS-2228 at 8/5/19 11:51 AM:
---------------------------------------------------------------------

I´m also struggling with this after updating to Netbeans 8.2 and OpenJDK 8.0.212.04 (Hotspot).

I also imported external options which include the 'netbeans' color scheme. In my old setting, I used the 'netbeans 5.5' schme.

My 'netbeans' color scheme seems to be broken. The profile tabs are either empty or not editable.

The IDE log message states the known NPE.

The only thing that worked for me was to change the color scheme backc to 'netbeans 5.5'. Any other solutions did not work.

Unfortunately, I´m not able to use a newer version of Netbeans.

System: Win 7 64Bit

 

Please tell me if you need further information


was (Author: and-mai):
I´m also struggling with this after updating to Netbeans 8.2 and OpenJDK 8.0.212.04 (Hotspot). My 'netbeans' color scheme seems to be broken. The profile tabs are either empty or not editable.

The IDE log message states the known NPE.

The only thing that worked for me was to change the color scheme. Any other solutions did not work.

Unfortunately, I´m not able to use a newer version of Netbeans.

System: Win 7 64Bit

 

Please tell me if you need further information

> 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
>            Priority: Major
>         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.14#76016)

---------------------------------------------------------------------
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