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 242235 - While making a minor edit to an FXML file, the editor attempted to download: Retrieving Location: http://javafx.com/javafx/8
Summary: While making a minor edit to an FXML file, the editor attempted to download: ...
Status: REOPENED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: PC Windows 8
: P4 normal (vote)
Assignee: Svata Dedic
URL: http://javafx.com/javafx/8
Keywords:
: 255664 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-02-22 23:17 UTC by Lou Dasaro
Modified: 2016-08-05 10:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (67.04 KB, text/plain)
2014-02-22 23:17 UTC, Lou Dasaro
Details
IDE Log associated with test case (64.37 KB, text/plain)
2014-08-17 02:22 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-02-22 23:17:15 UTC
If memory serves, this seems to happen whenever I edit something that appears on the same line as something that looks like a URL.

Environment:
Product Version = NetBeans IDE 8.0 RC1 (Build 201402202300)
Operating System = Windows 8 version 6.2 running on x86
Java; VM; Vendor = 1.8.0
Runtime = Java HotSpot(TM) Client VM 25.0-b69
Comment 1 Lou Dasaro 2014-02-22 23:17:18 UTC
Created attachment 145499 [details]
IDE log
Comment 2 Roman Svitanic 2014-08-06 15:45:06 UTC
Lou, I tried to reproduce the issue with the latest dev build, but all attempts were unsuccessful. Therefore I close this as "works for me" for now. If you can still reproduce the issue, please give me some hint how it can be reproduced. Thanks.
Comment 3 Lou Dasaro 2014-08-06 19:25:10 UTC
Hi Roman. I got it to happen three times today in the space of an hour. Twice with JavaFX FXML projects and once with a Maven JavaFX project. Each time it happened I wrote up steps to reproduce it, but could NOT reproduce it using those steps. However, I can tell you that the FXML file must first be edited and saved with Scene Builder before the anomaly occurs, and it usually happens when editing something near  xmlns="http://javafx.com/javafx/8"

Reducing priority to 4 since it is more of an annoyance than anything...

Anomaly recurs today using:
Product Version: NetBeans IDE 8.0.1 RC1 (Build 201408011942)
Java: 1.8.0_20-ea; Java HotSpot(TM) Client VM 25.20-b22
Runtime: Java(TM) SE Runtime Environment 1.8.0_20-ea-b23
System: Windows 8(.1) version 6.2 running on x86; Cp1252; en_US (nb)
Comment 4 Lou Dasaro 2014-08-13 22:00:37 UTC
Within the FXML file, editing the following text frequently causes the anomaly:

fx:controller="javafxapplication10.FXMLController"

For example, delete "java" in the above text, then type "java" again where it used to be. The anomaly does not consistently appear.
Comment 5 Lou Dasaro 2014-08-17 01:33:52 UTC
Using NetBeans FCS 8.0.1 installed on JDK 1.8.0_20 (non-final)
1. With a clean userdir and cachedir, start NetBeans.
2. Invoke Tools | Options... from main menu (or NetBeans | Preferences... on OS X). "Options" dialog appears.
3. Click on the "Java" icon at the top of the dialog, then click on the "JavaFX" tab. IF the "Activate" button appears, follow these directions (otherwise, skip to the next line): Click the "Activate" button. Dialog responds "Activating JavaFX". Lower left of main window displays "Starting module". Dialog disappears. When the dialog reappears, Click on the "JavaFX" tab.
4. Verify that the "Scene Builder Home" is pre-populated with the default location of Scene Builder 2.0.
5. Invoke File | New Project... from main menu. "New Project" wizard appears.
In the first step of the wizard select "JavaFX" category and "JavaFX FXML Application" project. Push Next > button. Keep all default settings and push Finish. 
6. Open the project tree and find the FXML file node. Invoke pop-up menu and select Open or double-click the node to open the fxml file in Scene Builder.
7. In Scene Builder, from the Library of "Controls" (upper left), drag a Button control onto the Anchor Pane above the existing button.
8. Click on the "Code" tab for this new Button control (bottom right) and the Code tab will expand. Type a unique name for the control in the "fxid:" field.
Type a unique name for the method in the "On Action" field.
9. Invoke File | Save action in the main Scene Builder menu. Close JavaFX Scene Builder 2.0 and return to NetBeans
10. Select the FXML file in the Projects view. Invoke the popup menu and select "Edit". Make an edit to the package name associated with "fx:controller:", then change it back to the way it was. 

At this point the editor thinks it is some XML that needs to be downloaded, and attempts to download it.
Comment 6 Lou Dasaro 2014-08-17 02:22:30 UTC
Created attachment 148735 [details]
IDE Log associated with test case
Comment 7 Lou Dasaro 2015-08-25 08:15:47 UTC
Strangely, the 20150824 dev dist of NB actually reports retrieving as follows:

Aug 25, 2015 1:26:57 AM : Retrieving Location: http://javafx.com/javafx/8.0.40 

	Retrieved :    http://www.oracle.com/technetwork/java/javase/overview/index.html 
	Saved at: C:\Users\Lu\Documents\NetBeans Test Cases\JavaFXApplication4\nbproject\private\retriever\www.oracle.com\technetwork\java\javase\overview\index.html
Comment 8 Lou Dasaro 2015-10-04 17:07:27 UTC
*** Bug 255664 has been marked as a duplicate of this bug. ***
Comment 9 mienamoo 2016-08-05 10:17:49 UTC
With dev build 201608040002 I saw this the first time I edited the file. But I could not reproduce it, even after restarting the IDE and creating a new project.
Comment 10 mienamoo 2016-08-05 10:44:20 UTC
Link: http://services.netbeans.org/synergy/client/app/index.html#/case/5702/suite/2086

With a clean user folder, I now got this again!


05 Aug 2016 12:41:09 PM : Retrieving Location: http://javafx.com/javafx/8.0.60 

	Retrieved :    http://www.oracle.com/technetwork/java/javase/overview/index.html 
	Saved at: C:\Users\Alien\Documents\NetBeansProjects\JavaFXApplication4\nbproject\private\retriever\www.oracle.com\technetwork\java\javase\overview\index.html