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.
An IllegalArgumentException occurs when you try to rename a jsp page name (in the jsf framework) to an already existing file name. For instance you start with: page1.jsp and page2.jsp. If you try to rename page1.jsp to page2.jsp (using double click on the delegate nodes in the project window) you get the following popup: A java.lang.IllegalArgumentException exception has occurred. Please report this at http://www.netbeans.org/issues.html, including a copy of your messages.log file. The messages.log file is located in your C:\users\js138578\vwp_bin\src\visualweb\visualwebsuite\build\testuserdir\system folder However, when I do this same rename in web projects, I get a clean information popup that says I can not rename it as such. I will attach the IllegalArgumentException.
Created attachment 39843 [details] IllegalArgumentException output in messages.log
Do you rename which data object? The jsp data object or the visual jsp data object? From the exception is not clear and from your description it looks like you are talking about the visual jsp.
It is the jsp dataobject. Simply create a web jsf project (not vwp framework). I get this exception in my development environment where vwp is not installed. Just rename the file to another filename which already exists. You will see this error as well.
*** Issue 93515 has been marked as a duplicate of this issue. ***
Created attachment 58783 [details] Redo the exceptions attachment, previous one is not readable!
It is not related to any framework implementation! I can reproduce it on a simple web project without any framework. 1. Create a simple web project without any framework 2. Add 2 JSP files, e.g., P1 and P2 3. Rename P1 to P2 Then you will see the exception I just attached and a dialog shows: "Cannot rename file P1.jsp in ... to P2.jsp" I think the mesg should also mention the reason "P2.jsp already exists", and handle the exception properly.
moving opened issues from TM <= 6.1 to TM=Dev
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. We apologize for any inconvenience. Thank you. The NetBeans Team