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 24836 - Generate actions throw FileStateInvalidException
Summary: Generate actions throw FileStateInvalidException
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Tools (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-15 15:17 UTC by Martin Schovanek
Modified: 2007-09-25 01:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Relative path 'dtd/root' was used. (1.18 KB, text/plain)
2002-06-15 15:22 UTC, Martin Schovanek
Details
Relative path 'dtd/root' was used and file already exists. (1.46 KB, text/plain)
2002-06-15 15:26 UTC, Martin Schovanek
Details
Absolute path '/tmp/docu' was used. ('/tmp' was mount as filesystem) (1.34 KB, text/plain)
2002-06-15 15:35 UTC, Martin Schovanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2002-06-15 15:17:24 UTC
[Nb Build 200206140100, jdk1.4.0]

Generate DTD, Generate Documentation, Generate
CSS, etc. actions
throw exceptions when relative or absolut output
path is used.
P2 because lot of actions are affected.
Comment 1 Martin Schovanek 2002-06-15 15:22:56 UTC
Created attachment 6271 [details]
Relative path 'dtd/root' was used.
Comment 2 Martin Schovanek 2002-06-15 15:26:34 UTC
Created attachment 6272 [details]
Relative path 'dtd/root' was used and file already exists.
Comment 3 Martin Schovanek 2002-06-15 15:35:12 UTC
Created attachment 6273 [details]
Absolute path '/tmp/docu' was used. ('/tmp' was mount as filesystem)
Comment 4 _ lkramolis 2002-06-17 18:00:59 UTC
Generators are able to create files just in same directory now. So if
you write path to different directory, warning will be displayed then.
Comment 5 Martin Schovanek 2002-07-24 13:49:19 UTC
But empty file is created. Please prevent actions create empty files
when some path is used.
Comment 6 _ pkuzel 2003-02-24 15:45:40 UTC
The select button is disabled for invalid file names.
Comment 7 Martin Schovanek 2003-03-13 14:07:51 UTC
VERIFIED