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 165043 - IllegalArgumentException: c:/wsdl.dtd
Summary: IllegalArgumentException: c:/wsdl.dtd
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Tools (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ alexpetrov
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks: 170990
  Show dependency tree
 
Reported: 2009-05-13 11:36 UTC by Oleg Khokhlov
Modified: 2009-12-25 07:13 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 151076


Attachments
stacktrace (3.78 KB, text/plain)
2009-05-13 11:36 UTC, Oleg Khokhlov
Details
stacktrace (1.64 KB, text/plain)
2009-09-08 10:16 UTC, Jaroslav Pospisil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Khokhlov 2009-05-13 11:36:32 UTC
Build: NetBeans IDE Dev (Build 200905120201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP, 5.1, x86

User Comments:
ovk: - 'Generate DTD...' (popup menu item) in xml file;
- type a file name which exists and press OK;



Stacktrace: 
java.lang.IllegalArgumentException: c:/wsdl.dtd
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createDataImpl(FolderObj.java:232)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$1.call(FolderObj.java:214)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$1.call(FolderObj.java:212)
        at org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.runAsInconsistent(FileBasedFileSystem.java:112)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createData(FolderObj.java:217)
        at org.netbeans.modules.xml.tools.generator.SelectFileDialog$1.run(SelectFileDialog.java:122)
Comment 1 Oleg Khokhlov 2009-05-13 11:36:37 UTC
Created attachment 82034 [details]
stacktrace
Comment 2 Jiri Skrivanek 2009-05-14 10:12:52 UTC
Should be handled in xml.
Comment 3 Jaroslav Pospisil 2009-09-08 10:16:29 UTC
Build: NetBeans IDE Dev (Build 200909040632)
VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Windows Vista, 6.0, x86

User Comments: 
Browsing maven Javaee6 web project structure in Projects (after Java Server Faces framework added) ,searching for missing WejcomeJSF.jsp file.

Stacktrace: 
java.lang.IllegalArgumentException: css\default
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createDataImpl(FolderObj.java:232)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$1.call(FolderObj.java:214)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$1.call(FolderObj.java:212)
        at org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.runAsInconsistent(FileBasedFileSystem.java:112)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createData(FolderObj.java:217)
        at org.openide.filesystems.FileUtil.createData(FileUtil.java:802)
Comment 4 Jaroslav Pospisil 2009-09-08 10:16:33 UTC
Created attachment 87253 [details]
stacktrace
Comment 5 Exceptions Reporter 2009-09-08 10:16:38 UTC
This issue already has 9 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=151076
Comment 6 Exceptions Reporter 2009-09-08 21:44:38 UTC
This issue already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=151076
Comment 7 Jaroslav Pospisil 2009-09-09 12:55:04 UTC
This issue causes unable to add Java Server Faces framework for ant or maven based web application (both JavaEE5 and 6).
In case when framework is added in the web app wizard,already,exception appears and wizard is unable to
finish,afterwards,with "css\default" error message. In case of framework is added lately by Properties/Frameworks, only
exception is displayed and also WelcomeJSF.sjp and faces-config.xml files are not created.Raising priority.

NOTICE: Issue seems to be restricted to Windows OS only,because is is unreproducible on both Linux and Mac.
Comment 8 Sergey Lunegov 2009-09-09 13:10:02 UTC
Alex, please take a look.
Comment 9 Exceptions Reporter 2009-09-10 21:23:29 UTC
This issue already has 13 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=151076
Comment 10 _ alexpetrov 2009-09-23 19:14:30 UTC
Fixed: http://hg.netbeans.org/main/rev/f3a8445d9619
Comment 11 Quality Engineering 2009-09-25 09:10:09 UTC
Integrated into 'main-golden', will be available in build *200909241442* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f3a8445d9619
User: Alex Petrov <alexpetrov@netbeans.org>
Log: Fix for issue [#165043]. IllegalArgumentException for absolute path "c:/wsdl.dtd" on Windows
Comment 12 Oleg Khokhlov 2009-12-25 07:13:03 UTC
v. in 20091224