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.
Steps to reproduce: 1) Create a Web Project 2) In the Web Project create a new webservice file 3) Right click on the webservice file in project explores and select Refactor > Rename 4) Add number 9 to the end of the file name and click refactor It will through a runtime exception which you can view from the IDE log. I have attached the IDE log file also. Dev Build 200809111401 JDK 6 Update 10
Created attachment 69709 [details] log file with the runtime exception
I just tried the steps with latest dev build and get no exception, everything works fine for me. Am I missing something in the reproductions steps? If so, please reopen.
I just tried this with the latest Build 200809181401. i am attaching the log file and the project file too.
Created attachment 70137 [details] log file
Created attachment 70138 [details] project file
Do you run with fresh userdir/fresh created project?
user dir is fresh but am running this with an existing ejb module project
Hmm, your reproduction steps say to create a Web project, not an EJB project. Anything else I'm missing in the reproduction steps?
>>>Hmm, your reproduction steps say to create a Web project, not an EJB project Ooops..! sorry just open the ejb project that i ahve send and create a new webservice file in the flower.album.service package and then follow steps 2 and 3.
Your project seems to be severly broken. I don't see any correctly defined web service there. I see a session bean and a couple of WSDL files. Which file do you try to rename?
Aha, I see. Will try.
Even when I try to open the project, create WS in the package you mention, I'm still able to rename it and don't see the exception.
Anyway, even though I'm not able to reproduce this, you say that you rename a file. However, in the exception trace I see that the designer fires an event "operationRemoved" which doesn't correspond to what you say. I'll try to do some exception handling in WSIT code, but I think the core problem is in the designer, thus reassigning there.
this issues can be generated randomly and i can regenerate this bug when i first start the ide and open this project but sometimes it doesnt happen
Integrated into 'main-golden', will be available in build *200809200201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/3041d799fb32 User: mgrebac@netbeans.org Log: Better error checking for #147028 - [65cat] Webservice file Refactor rename on firsttime throws a runtime exception Need to find out what is wrong there.
Reassigning to mkuchtiak.
This is again the consequence of bad design for webservice model handling. WsitServiceChangeListener is based on FileObject instead of DataObject.
changeset: 179144:f5ba9a81d646 user: Denis Anisimov <ads@netbeans.org> date: Tue Oct 12 10:06:55 2010 +0400 summary: Fix for BZ#147028 - [65cat] Webservice file Refactor rename on firsttime throws a runtime exception