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 121901

Summary: [Code Folding] NPE when open file from existing project
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: EditorAssignee: Alexei Mokeev <av-nb>
Status: VERIFIED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: JavaFXPad project
IDE log file

Description Alexandr Scherbatiy 2007-11-14 12:39:05 UTC
Steps to reproduce:

- Open the attached  JavaFXPad project in IDE
- Open the javafxpad.Main.fx file
  The NPE pops up:

java.lang.NullPointerException
  at java.io.StringReader.<init>(StringReader.java:33)
  at org.netbeans.modules.javafx.parser.FXParser.fillResultsForFolding(FXParser.java:249)
  at org.netbeans.modules.javafx.parser.FXParser.parseFiles(FXParser.java:228)
Comment 1 Alexandr Scherbatiy 2007-11-14 12:39:50 UTC
Created attachment 52969 [details]
JavaFXPad project
Comment 2 Alexandr Scherbatiy 2007-11-14 12:40:33 UTC
Created attachment 52970 [details]
IDE log file
Comment 3 Mikhail Kondratyev 2007-11-19 16:54:15 UTC
Very visible, very simple to reproduce, happens very often. Upgrading to P1
Comment 4 Oleg Barbashov 2007-11-22 15:06:23 UTC
Fixed.
Comment 5 Alexandr Scherbatiy 2007-11-26 12:21:02 UTC
verified