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.
Build: NetBeans IDE Dev (Build 200809021401) VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_05-b13-52, Java(TM) SE Runtime Environment, 1.6.0_05-b13-120 OS: Mac OS X, 10.5.2, x86_64 User Comments: Stacktrace: java.lang.IllegalArgumentException: /Users/alc/NetBeansProjects/benevolentact/benevolentact-war/src/main/webapp/WEB-INF / /Users/alc/NetBeansProjects/benevolentact/benevolentact-war/src/main/webapp/WEB-INF/tlds/facelets.tld at org.netbeans.modules.web.jspparser.ContextUtil.findRelativePath(ContextUtil.java:103) at org.netbeans.modules.web.jspparser_ext.WebAppParseSupport.getImplicitLocation(WebAppParseSupport.java:710) at org.netbeans.modules.web.jspparser_ext.WebAppParseSupport.reinitTagLibMappings(WebAppParseSupport.java:684) at org.netbeans.modules.web.jspparser_ext.WebAppParseSupport.reinitCaches(WebAppParseSupport.java:737) at org.netbeans.modules.web.jspparser_ext.WebAppParseSupport$ReinitCaches.run(WebAppParseSupport.java:745) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
Created attachment 69097 [details] stacktrace
Any possibility to provide exact steps to reproduce please? Thanks a lot.
Sorry it's been too long since the exception occured, so I can't remember.
*** Issue 148290 has been marked as a duplicate of this issue. ***
To hurdleg: Is this issue reliably reproducible for you? Do you have exact steps to reproduce please? It would help a lot. Thanks.
Hello: No, unfortunately, I can't repeat this behaviour. Seems to have disappeared: I rebooted my laptop, , and started NetBeans 6.1. I re-created the Web application, using the Java Server Faces framework. I created a new page, and the visual editor appeared as expected. I'm satisfied that this issued has been resolved. I'll leave it to you to change the status. cheers, gerry .
This issue is likely related to issue #130683 but unfortunately I have no reliable steps to reproduce so it's very hard to find out the cause and fix it...
This issue was originally marked as duplicate of issue 130683, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related. Build: NetBeans IDE Dev (Build 200907251401) VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08 OS: Windows Vista, 6.0, x86 User Comments: This bug reproduced in last development build (netbeans-trunk-nightly-200907251401.zip) Stacktrace: java.lang.IllegalArgumentException: C:\Users\Unknown User\Documents\NetBeansProjects\nakrutkam.net\web / C:\Users\Unknown User\Documents\NetBeansProjects\nakrutkam.net\web\offers.jspx at org.netbeans.modules.web.jspparser.ContextUtil.findRelativePath(ContextUtil.java:103) at org.netbeans.modules.web.jspparser.ContextUtil.findRelativeContextPath(ContextUtil.java:121) at org.netbeans.modules.web.jspparser_ext.WebAppParseSupport.getJSPUri(WebAppParseSupport.java:455) at org.netbeans.modules.web.jspparser_ext.WebAppParseSupport.createCompilationContext(WebAppParseSupport.java:422) at org.netbeans.modules.web.jspparser_ext.WebAppParseSupport.getJspOpenInfo(WebAppParseSupport.java:242) at org.netbeans.modules.web.jspparser.JspParserImpl.getJspOpenInfo(JspParserImpl.java:180)
Created attachment 85225 [details] stacktrace
This issue already has 53 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=61901
Jirko S, please advise. Looking at the latest stack trace from a very fresh build: http://www.netbeans.org/nonav/issues/showattachment.cgi/85225/stacktrace.txt It looks like the following call returns false: FileUtil.isParentOf("C:\Users\Unknown User\Documents\NetBeansProjects\nakrutkam.net\web", "C:\Users\Unknown User\Documents\NetBeansProjects\nakrutkam.net\web\offers.jspx") How can that happen? I see that this method may silently swallow FileStateInvalidException, which makes things like this hard to debug. Is this what happened? And why? Wouldn't it be better to log the exception so it can be better diagnosed? Thanks.
Similar problem is described in issue 130998. There probably (never was able to reproduce it locally) exist two valid FileObjects for one physical File. I hope I have fixed it because I haven't got any new report since then. I added some logging directly into ContextUtil from which we can diagnose if this is the same case. Of course much better would be to have reliable test case but I am afraid this is pretty random issue. core-main #867354e561b8
Thanks many times Jirko. Although I am a bit skeptical that this is a duplicate of issue 130998, because that one was fixed in May (before 6.7), and some of the reports in this issue are from 6.7 RC2 and 6.8 Dev. Anyway, for now I am marking as incomplete, let's wait for more logs with the new debug message. Thanks.
decreased to P2 instead INCOMPLETE .... let's wait for new logs
IMHO it is a "duplicate" of issue #130683. AFAIK this can happen only using these steps (that's why I always ask for steps to reproduce, to find out another possible scenario): - have a project A in directory B - delete project A (together with directory B) - create a new project A in directory B => now it _can_ happen (so it is RANDOM) that old parse proxy is used instead of creating a new one (it wasn't gc'ed yet or possible memory leak), so FileObject for WebRoot is not null but is invalid => FileUtil.isParentOf() returns false. I will try to fix/work around, hopefully it will help.
Integrated into 'main-golden', will be available in build *200907281401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/867354e561b8 User: Jiri Skrivanek <jskrivanek@netbeans.org> Log: #146242 - Added debug messages.
Could be fixed, let's wait for feedback. http://hg.netbeans.org/web-main/rev/64b02bc640be
Integrated into 'main-golden', will be available in build *200907300201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/64b02bc640be User: Tomas Mysik <tmysik@netbeans.org> Log: #146242: [65cat] IllegalArgumentException: /Users/alc/NetBeansProjects/benevolentact/benevolentact-war/src/main/webapp/WEB-INF / /Users/alc/NetBeansProjects/benevolentact/benevolentact-war/src/main/webapp/WEB-INF/tlds
*** Issue 170101 has been marked as a duplicate of this issue. ***