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 213567 - IllegalArgumentException: C:\java\proyectos\portal\webapp\jsp\tiles\layout.jsp@45892e00:56d6d0fa not under C:\Users\OS7-PRO\Documents\NetBeansProjects\Portal\web@4ebe246b:85cb926 C:\Users\OS7-PRO\Docu
Summary: IllegalArgumentException: C:\java\proyectos\portal\webapp\jsp\tiles\layout.js...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 7.1
Hardware: All All
: P2 normal (vote)
Assignee: Petr Hejl
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2012-06-04 22:49 UTC by Exceptions Reporter
Modified: 2016-05-21 01:57 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 137971


Attachments
stacktrace (6.29 KB, text/plain)
2012-06-04 22:49 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-06-04 22:49:45 UTC
This bug was originally marked as duplicate of bug 146242, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.1.2 (Build 201204101705)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b22
OS: Windows 7

User Comments:
GUEST: I was copying one projekt to another. My Netbeans folder is located on a samba network folder.




Stacktrace: 
java.lang.IllegalArgumentException: C:\java\proyectos\portal\webapp\jsp\tiles\layout.jsp@45892e00:56d6d0fa not under C:\Users\OS7-PRO\Documents\NetBeansProjects\Portal\web@4ebe246b:85cb926
C:\Users\OS7-PRO\Documents\NetBeansProjects\Portal\web@4ebe246b:85cb926 valid=true id=140294438 filesystem=[org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem@5cafad58]
C:\java\proyectos\portal\webapp\jsp\tiles\layout.jsp@45892e00:56d6d0fa valid=true id=1456918778 filesystem=[org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem@5cafad58]
C:\java\proyectos\portal\webapp\jsp\tiles@55a00d1f:449ca2c1 valid=true id=1151115969 filesystem=[org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem@5cafad58]
C:\java\proyectos\portal\webapp\jsp@ade3de34:4b2bbf33 valid=true id=1261158195 filesystem=[org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem@5cafad58]
C:\java\proyectos\portal\webapp@e45b9fab:257dbd91 valid=true id=628997521 filesystem=[org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSy
   at org.netbeans.modules.web.jspparser.ContextUtil.findRelativePath(ContextUtil.java:144)
   at org.netbeans.modules.web.jspparser.ContextUtil.findRelativeContextPath(ContextUtil.java:163)
   at org.netbeans.modules.web.jspparser_ext.WebAppParseSupport.getJSPUri(WebAppParseSupport.java:459)
   at org.netbeans.modules.web.jspparser_ext.WebAppParseSupport.createCompilationContext(WebAppParseSupport.java:426)
   at org.netbeans.modules.web.jspparser_ext.WebAppParseSupport.getJspOpenInfo(WebAppParseSupport.java:244)
   at org.netbeans.modules.web.jspparser.JspParserImpl.getJspOpenInfo(JspParserImpl.java:183)
Comment 1 Exceptions Reporter 2012-06-04 22:49:50 UTC
Created attachment 120346 [details]
stacktrace
Comment 2 Exceptions Reporter 2016-04-26 11:30:02 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=137971
Comment 3 Petr Hejl 2016-05-20 14:16:28 UTC
It looks like the WebAppParseSupport created for module stores the document root and is not ready for the fact it might change. At least WebModuleImpl in maven might return different values when pom is changed.
Comment 4 Petr Hejl 2016-05-20 16:53:18 UTC
Not a perfect solution, but should work - web-main 4de920d9435b.
Comment 5 Quality Engineering 2016-05-21 01:57:38 UTC
Integrated into 'main-silver', will be available in build *201605210002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/4de920d9435b
User: Petr Hejl <phejl@netbeans.org>
Log: #213567 - IllegalArgumentException: C:\java\proyectos\portal\webapp\jsp\tiles\layout.jsp@45892e00:56d6d0fa not under C:\Users\OS7-PRO\Documents\NetBeansProjects\Portal\web@4ebe246b:85cb926 C:\Users\OS7-PRO\Docu