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 144391 - [65cat] IllegalArgumentException: C:\NetBeansProjects\ServletExamples1\web\WEB-INF is not inside C:\NetBeansProjects\ServletExamples1\web
Summary: [65cat] IllegalArgumentException: C:\NetBeansProjects\ServletExamples1\web\WE...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Konecny
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on: 204271
Blocks:
  Show dependency tree
 
Reported: 2008-08-19 13:33 UTC by alcmontejo
Modified: 2011-11-08 20:45 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 84718


Attachments
stacktrace (1.73 KB, text/plain)
2008-08-19 13:33 UTC, alcmontejo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alcmontejo 2008-08-19 13:33:05 UTC
Build: NetBeans IDE Dev (Build 200808170243)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b06, Java(TM) SE Runtime Environment, 1.6.0_02-b06
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.IllegalArgumentException: C:\NetBeansProjects\ServletExamples1\web\WEB-INF is not inside C:\NetBeansProjects\ServletExamples1\web
Comment 1 alcmontejo 2008-08-19 13:33:13 UTC
Created attachment 67804 [details]
stacktrace
Comment 2 Milan Kubec 2008-08-25 15:30:30 UTC
Please provide more info about the issue, what were you doing when the issue happened. Thanks.
Comment 3 alcmontejo 2008-08-26 05:31:14 UTC
hi!

When I try to create  web application from sample->Java Web-> Servlet Examples

Comment 4 Milan Kubec 2008-08-26 09:06:53 UTC
Reassigning. Method contains() is documented to throw IAE when the argument file is not inside the root.
Comment 5 David Konecny 2008-08-27 04:38:52 UTC
Fixed locally as #e4fec43dc535
Comment 6 Quality Engineering 2008-08-28 06:34:51 UTC
Integrated into 'main-golden', available in build *200808280201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/e4fec43dc535
User: David Konecny <dkonecny@netbeans.org>
Log: #144391 - prevent IllegalArgumentException
Comment 7 alcmontejo 2008-08-28 09:13:03 UTC
when can i download build *200808280201* not yet in http://bits.netbeans.org/dev/nightly/