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 240097 - [80cat] Maven JavaFX project shows false errors in fxml when compile set to JDK 1.7u45
Summary: [80cat] Maven JavaFX project shows false errors in fxml when compile set to J...
Status: VERIFIED DUPLICATE of bug 239673
Alias: None
Product: javafx
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: PC Windows 8
: P3 normal (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on: 239673 240105
Blocks:
  Show dependency tree
 
Reported: 2014-01-07 20:21 UTC by Lou Dasaro
Modified: 2014-01-21 02:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
False errors shown in the fxml (160.20 KB, image/jpeg)
2014-01-07 20:21 UTC, Lou Dasaro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lou Dasaro 2014-01-07 20:21:01 UTC
Created attachment 143690 [details]
False errors shown in the fxml

Start NetBeans (ALL dist) (running on JDK 8) with clean userdir and cachedir , 
Create a new Maven JavaFX project, accepting the defaults.

Select the Scene.fxml node and invoke "Edit"
Review the fxml, it is error-free.
Go to Project Properties->Build->Compile and change the Java Platform to 1.7u45.
Review the fxml, it now shows a number of errors.

Changing the Java Platform back to 1.8 causes the errors in the fxml to disappear.

Tested using:
Product Version: NetBeans IDE Dev (Build 201401070002)
Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b63
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b121
System: Windows 8 version 6.2 running on x86; Cp1252; en_US (nb)

This is a different error case (fxml) than Bug 239673 , However, I am sure they share the same root cause.
Comment 1 Roman Svitanic 2014-01-08 13:18:20 UTC
(In reply to Lou Dasaro from comment #0)
> This is a different error case (fxml) than Bug 239673 , However, I am sure
> they share the same root cause.

Exactly, root cause is same in both mentioned issues and bug #239996 as well.
Comment 2 Roman Svitanic 2014-01-14 13:27:44 UTC
I am marking this as a duplicate of the bug #239673, since the root cause is the same in both.

*** This bug has been marked as a duplicate of bug 239673 ***
Comment 3 Lou Dasaro 2014-01-21 02:28:00 UTC
Verified fixed in:
Product Version: NetBeans IDE Dev (Build 201401200001)
Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b63
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b121
System: Windows 8 version 6.2 running on x86; Cp1252; en_US (nb)r