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 207735 - File not found exception on default project with Downloadable NetBeans Platform for ANT builds feature
Summary: File not found exception on default project with Downloadable NetBeans Platfo...
Status: RESOLVED INVALID
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-25 14:34 UTC by javydreamercsw
Modified: 2012-01-25 21:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Original file (1.17 KB, text/x-properties)
2012-01-25 14:37 UTC, javydreamercsw
Details
Properties that made it work. (886 bytes, text/x-properties)
2012-01-25 14:38 UTC, javydreamercsw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2012-01-25 14:34:15 UTC
Product Version = NetBeans IDE 7.1 (Build 201112071828)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0_02
Runtime = Java HotSpot(TM) Client VM 22.0-b10

Creating a default suite and adding properties as per this article: http://netbeans.dzone.com/articles/netbeans-71-review-nbplatform causes an error:

C:\Users\jortiz00\Desktop\suite1\build.xml:7: The following error occurred while executing this line:
C:\Users\jortiz00\Desktop\suite1\nbproject\build-impl.xml:41: The following error occurred while executing this line:
C:\Users\jortiz00\Desktop\suite1\nbproject\platform.xml:29: java.io.FileNotFoundException: C:\Users\jortiz00\Desktop\suite1\${suite.dir}\netbeans701
\profiler\lib\jfluid-server-15.jar (The system cannot find the file specified)

See attached properties files for more details.
Comment 1 javydreamercsw 2012-01-25 14:37:50 UTC
Running the original file caused the mentioned errors.

Using the working properties made it work. Afterwards I deleted everything except for the harness files and ran the original one again but this time it was successful. It downloaded all the other modules. (except the ones not in that catalog file).
Comment 2 javydreamercsw 2012-01-25 14:37:55 UTC
Created attachment 115241 [details]
Original file
Comment 3 javydreamercsw 2012-01-25 14:38:05 UTC
Created attachment 115242 [details]
Properties that made it work.
Comment 4 Jesse Glick 2012-01-25 17:28:02 UTC
Your platform.properties has two spaces at the end of the value for autoupdate.catalog.url, which may break things. Your working.properties is filled with \u00A0 for some reason and also has trailing spaces. I have no idea what problem you ran into exactly but it sounds like it was transient, so there is not much to go on.
Comment 5 javydreamercsw 2012-01-25 20:36:53 UTC
Which of the two? I copied from an email I got from Toni Epple, that might be the reason why.
Comment 6 Jesse Glick 2012-01-25 21:21:02 UTC
Comment #2 includes a platform.properties; comment #3 includes a working.properties.

I do not have much time to spend on guessing what bug reporters mean, so if you are going to file a report please take the time to prepare a complete, self-contained, fully reproducible test case with a clear writeup of the problem you discovered. Reports with patches are ideal, but if you can at least confirm that there really is a bug in NetBeans code (as opposed to your own code, the JRE, some server...) and narrow down what components might be responsible, that helps too.