This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 254975

Summary: NullPointerException at org.netbeans.modules.editor.fold.ui.FoldViewFactory.refreshColors
Product: editor Reporter: Jiri Kovalsky <jkovalsky>
Component: Code foldingAssignee: Svata Dedic <sdedic>
Status: RESOLVED FIXED    
Severity: normal CC: MackSix, mentlicher, mr_lou_d, vriha, ytn01
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 219665
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description Jiri Kovalsky 2015-09-03 15:24:47 UTC
Build: NetBeans IDE Dev (Build 201509030002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Linux

User Comments:
jkovalsky: After testing first JUnit suite on Java application I wanted to create a new Ant based web application. After selecting Java Web > Web Application project type and pushing "Next >" button, IDE threw this exception and Ergonomics started to activate JavaEE and Wed functionality.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.editor.fold.ui.FoldViewFactory.refreshColors(FoldViewFactory.java:196)
   at org.netbeans.modules.editor.fold.ui.FoldViewFactory.resultChanged(FoldViewFactory.java:175)
   at sun.reflect.GeneratedMethodAccessor35.invoke(GeneratedMethodAccessor35.java:0)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:497)
   at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:487)
Comment 1 Jiri Kovalsky 2015-09-03 15:24:49 UTC
Created attachment 155866 [details]
stacktrace
Comment 2 ytn01 2015-09-03 18:15:31 UTC
Created attachment 155874 [details]
stacktrace

Uninstalled "All in one" version of Dev build, along with home and installation directory.
Downloaded and installed "Java SE" Dev version of IDE, from same day.

Launched IDE,.. installed c/c++ support module from plugins manager. (IDE restarted for changes to apply)

Went back to plugins managment, selected 3 plugins for installation (FindBugs, CVS, Tan UI theme), and clicked install.
Exception was thrown after accepting license and hitting next.
Comment 3 Martin Entlicher 2015-09-04 12:54:38 UTC
Created attachment 155901 [details]
stacktrace

I've changed editor background to black and foreground to white.
Comment 4 Vladimir Riha 2015-09-05 11:48:40 UTC
Created attachment 155918 [details]
stacktrace

applying changes in "mark occurences" color settings
Comment 5 Exceptions Reporter 2015-09-06 18:03:40 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=219665
Comment 6 Lou Dasaro 2015-09-06 23:54:40 UTC
Created attachment 155929 [details]
stacktrace

Create a JavaFX project. JavaFX is activated.
Delete the project and sources.
In the Plugins manager, Deactivate the JavaFX plugin. Restart the IDE.
Create a "Samples" JavaFX project "Advanced Media"
Exception occurs.
Comment 7 Svata Dedic 2015-09-07 07:22:25 UTC
Should be fixed in jet-main#dcc628ec75d0
Comment 8 Quality Engineering 2015-09-10 01:29:06 UTC
Integrated into 'main-silver', will be available in build *201509100002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/dcc628ec75d0
User: Svata Dedic <sdedic@netbeans.org>
Log: #254975: prevent updates on released hierearchy