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.
-create a new webapp -d'n'd websvc manager->web services->facebook->Social NS->...->events_get into a JSP => (should be shown directly to the user and not only in the log:) java.lang.IllegalArgumentException: /home/lukas/NetBeansProjects/WebApplication4/web / /home/lukas/NetBeansProjects/WebApplication4/web/index.jsp 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:400) at org.netbeans.modules.web.jspparser_ext.WebAppParseSupport.createCompilationContext(WebAppParseSupport.java:372) at org.netbeans.modules.web.jspparser_ext.WebAppParseSupport.getJspOpenInfo(WebAppParseSupport.java:213) at org.netbeans.modules.web.jspparser.JspParserImpl.getJspOpenInfo(JspParserImpl.java:139) at org.netbeans.modules.web.core.jsploader.TagLibParseSupport.getCachedOpenInfo(TagLibParseSupport.java:268) at org.netbeans.modules.web.core.jsploader.JspDataObject.updateFileEncoding(JspDataObject.java:222) at org.netbeans.modules.web.core.jsploader.BaseJspEditorSupport.saveDocument(BaseJspEditorSupport.java:365) at org.netbeans.modules.web.core.jsploader.BaseJspEditorSupport.saveDocument(BaseJspEditorSupport.java:347) at org.netbeans.modules.web.core.jsploader.BaseJspEditorSupport$4.save(BaseJspEditorSupport.java:309) at org.netbeans.modules.websvc.saas.codegen.java.support.Util.showMethod(Util.java:564) at org.netbeans.modules.websvc.saas.codegen.java.JaxRsEditorDrop$1.run(JaxRsEditorDrop.java:151) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Tome, this seems to be yours - happens also after a rigthclick on the web project's root node with almost the same stacktrace
another interesting message in the IDE's log related to this: USER: /home/lukas/NetBeansProjects/WebApplication4/web / /home/lukas/NetBeansProjects/WebApplication4/web/index.jsp WARNING [null]: WARNING - ErrorManager detected cyclic exception nesting: WARNING [null]: java.lang.IllegalArgumentException: /home/lukas/NetBeansProjects/WebApplication4/web / /home/lukas/NetBeansProjects/WebApplication4/web/index.jsp WARNING [null]: Be sure not to annotate an exception with itself, directly or indirectly.
Created attachment 58773 [details] ide log
in netbeans-hudson-trunk-1247-javaee there is this exception randomly poping up quite often in various occasions, ie: -after creating a web project -after deleting a web project => pretty annoying and very visible => P2
This situation is caused by equals() and hashCode() methods in org.netbeans.modules.web.api.webmodule.WebModule. These method should be removed because they make no sense - I will try to do it after NB 6.1 and we will see. Lowering priority to P3 because this situation only happens if you delete project and immediately create a new one with the same name - not so common case I would say (agreed by jungi).
Reassigning to Andrei - thanks a lot.
See also issue 130865 .
I would suggest raising the priority to P2. I delete and recreate projects with the SAME name all the time when I give Metro demos. I have a lot of precanned web services as part of the demo that depend on certain names. So I need to use the same name when I recreate it at the demo. It has been *very* embarresing (for me and for netbeans) to have to shutdown nb (and glassfish) and restart to work around this bug.
I would suggest raising the priority to P2. I delete and recreate projects with the SAME name all the time when I give Metro demos. I have a lot of precanned web services as part of the demo that depend on certain names. So I need to use the same name when I recreate it at the demo. It has been *very* embarrasing (for me and for netbeans) to have to shutdown nb (and glassfish) and restart to work around this bug.
*** Issue 134943 has been marked as a duplicate of this issue. ***
*** Issue 133740 has been marked as a duplicate of this issue. ***
this issue has more then 50 duplicates => P2
*** This issue has been marked as a duplicate of 135401 ***
ooops :(
*** Issue 135401 has been marked as a duplicate of this issue. ***
*** Issue 135906 has been marked as a duplicate of this issue. ***
This issue has already 100 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=35127
a654bdb61cbd
Andrei - great, thanks! Honzo, should this issue be put into the patch 2?
Integrated into 'main-golden', available in NB_Trunk_Production #239 build Changeset: http://hg.netbeans.org/main/rev/a654bdb61cbd User: Andrei Badea <abadea@netbeans.org> Log: #130683: IllegalArgumentException from jspparser.ContextUtil.findRelativePath
*** Issue 134085 has been marked as a duplicate of this issue. ***
v.
*** Issue 143202 has been marked as a duplicate of this issue. ***