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 - NPE when type code in the editor
Summary: NPE when type code in the editor
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Andrey Yamkovoy
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2008-04-14 09:00 UTC by Alexandr Scherbatiy
Modified: 2008-04-15 13:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log file (41.27 KB, text/plain)
2008-04-14 09:00 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
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