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 125551 - IllegalArgumentException when edit an fx code in NB 6.1
Summary: IllegalArgumentException when edit an fx code in NB 6.1
Status: VERIFIED INVALID
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Alexei Mokeev
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2008-01-18 11:19 UTC by Alexandr Scherbatiy
Modified: 2008-04-15 12:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log file (43.39 KB, text/plain)
2008-01-18 11:19 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-01-18 11:19:12 UTC
It is a regression.

The issue is reproduced with NetBeans IDE 6.1 
I use NetBeans IDE 6.1 200801170000 from 
  http://bits.netbeans.org/netbeans/trunk/nightly/latest
and JavaFX Script plugin 2008-01-17_02-01-45.zip from release60 brunch

Steps to reproduce:

- Create  a JavaFX Script file:
-------------------------------------
var a = 10;
a++;
-------------------------------------
- Enable the 'Error Detection and Syntax Highligting'

The exception pops up:

java.lang.IllegalArgumentException: Parameter file was not normalized. Was Documents and Settings\andromeda\My
Documents\NetBeansProjects\test\02\JavaFXApplication3\src\javafxapplication3\Main.fx instead of C:\Program
Files\NetBeans 6.1\Documents and Settings\andromeda\My
Documents\NetBeansProjects\test\02\JavaFXApplication3\src\javafxapplication3\Main.fx
	at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:597)
	at org.netbeans.modules.javafx.parser.FXParser.uriToFileObject(FXParser.java:539)
	at org.netbeans.modules.javafx.parser.FXParser.fillResultsForGoTo(FXParser.java:487)
Comment 1 Alexandr Scherbatiy 2008-01-18 11:19:40 UTC
Created attachment 55242 [details]
IDE log file
Comment 2 Alexei Mokeev 2008-04-14 13:56:50 UTC
release60 version is not intended to be used with 6.1
Comment 3 Alexandr Scherbatiy 2008-04-15 12:20:51 UTC
The issue is not reproduced in build 2008-04-15_02-32-38.zip