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 132719

Summary: NPE when type code in the editor
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: EditorAssignee: Andrey Yamkovoy <kaktus>
Status: VERIFIED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log file

Description Alexandr Scherbatiy 2008-04-14 09:00:01 UTC
Steps to reproduce:

- Create a JavaFX Script file
- Type something in th editor. For example:
-----------------------
import javafx.ui.*;

Label{
-----------------------

The NPE pops up:

java.lang.NullPointerException
	at org.netbeans.api.javafx.source.JavaFXSourceUtils.getAdditionalCP(JavaFXSourceUtils.java:128)
	at org.netbeans.api.javafx.source.JavaFXSource.createJavafxcTask(JavaFXSource.java:192)
	at org.netbeans.api.javafx.source.CompilationInfoImpl.getJavafxcTask(CompilationInfoImpl.java:141)
	at org.netbeans.api.javafx.source.JavaFXSource.moveToPhase(JavaFXSource.java:212)
	at org.netbeans.api.javafx.source.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:121)
Comment 1 Alexandr Scherbatiy 2008-04-14 09:00:43 UTC
Created attachment 60110 [details]
IDE log file
Comment 2 Alexandr Scherbatiy 2008-04-14 09:02:00 UTC
JavaFX Script plugin build 2008-04-14_02-32-38.zip
Comment 3 Alexandr Scherbatiy 2008-04-14 09:09:38 UTC
The NPE usually happens when I press <CTRL+SPACE> keys. 
Comment 4 David Strupl 2008-04-14 13:02:45 UTC
I think Andrey works on this ...
Comment 5 Andrey Yamkovoy 2008-04-14 13:51:26 UTC
Fixed in the trunk by removing Reprise from the UserLib classpath.
Comment 6 Alexandr Scherbatiy 2008-04-15 13:56:10 UTC
verified