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. Open a new BPEL project. 2. Add the XML schema and open it in the Design Mode. 3. Add a new element. 4. Right click on this element and pick "Delete" from context menu. The exception is generated and element is not deleted: "java.lang.ClassNotFoundException: org.netbeans.modules.websvc.wsitconf.refactoring.WSITRefactoringFactory not a subclass of org.netbeans.modules.refactoring.spi.RefactoringPluginFactory at org.openide.util.lookup.MetaInfServicesLookup.search(MetaInfServicesLookup.java:261) at org.openide.util.lookup.MetaInfServicesLookup.beforeLookup(MetaInfServicesLookup.java:102) at org.openide.util.lookup.AbstractLookup$R.beforeLookup(AbstractLookup.java:1016) at org.openide.util.lookup.ProxyLookup$R.myBeforeLookup(ProxyLookup.java:562) at org.openide.util.lookup.ProxyLookup$R.computeResult(ProxyLookup.java:427) at org.openide.util.lookup.ProxyLookup$R.allInstances(ProxyLookup.java:400) at org.netbeans.modules.refactoring.api.AbstractRefactoring.getPlugins(AbstractRefactoring.java:103) at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPreCheck(AbstractRefactoring.java:297) at org.netbeans.modules.refactoring.api.AbstractRefactoring.preCheck(AbstractRefactoring.java:154) at org.netbeans.modules.refactoring.api.AbstractRefactoring.fastCheckParameters(AbstractRefactoring.java:211) at org.netbeans.modules.refactoring.api.AbstractRefactoring.checkParameters(AbstractRefactoring.java:193) at org.netbeans.modules.xml.refactoring.spi.SharedUtils.refactor(SharedUtils.java:309) at org.netbeans.modules.xml.refactoring.spi.SharedUtils.silentDeleteRefactor(SharedUtils.java:285) at org.netbeans.modules.xml.schema.abe.nodes.ABEAbstractNode.safeDelete(ABEAbstractNode.java:507) at org.netbeans.modules.xml.schema.abe.nodes.ABEAbstractNode.remove(ABEAbstractNode.java:316) at org.netbeans.modules.xml.schema.abe.nodes.ABEAbstractNode.destroy(ABEAbstractNode.java:353) at org.openide.explorer.ExplorerActionsImpl$DeleteActionPerformer.doDestroy(ExplorerActionsImpl.java:602) at org.openide.explorer.ExplorerActionsImpl$DeleteActionPerformer.actionPerformed(ExplorerActionsImpl.java:552) at org.openide.util.actions.CallbackSystemAction$DelegateAction$1.run(CallbackSystemAction.java:546) at org.netbeans.modules.openide.util.ActionsBridge$ActionRunnable.actionPerformed(ActionsBridge.java:89) at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:82) at org.netbeans.modules.openide.actions.ActionsBridgeImpl.invokeAction(ActionsBridgeImpl.java:30) at org.netbeans.modules.openide.util.ActionsBridge$ActionRunnable.doRun(ActionsBridge.java:80) at org.netbeans.modules.openide.util.ActionsBridge$1.run(ActionsBridge.java:49) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:541) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:963)"
5. Double click on element to rename it. Enter new element's name and press enter. Changes in name is discarded.
This bug blocks Loan Processing blue print sample tutorial development. Please fix it as soon as possible.
Since this is a regression bug, the priority is upgraded.
I don't understand why this is schematools bug? Just from the stack trace i would say that this issue is dual but not within xml/refactoring or ABE control. First, the NB refactoring API itself should handle bad refactoring plugin registrations such that one should not affect functionality of the rest.
WSITRefactoringFactory is owned by websvc team.
(i) The stack trace is coming from Websvc code, however it shouldnt affect the refactoring functionality. Please see issue#98387 :: WSITRefactoringFactory throws a ClassNotFoundException (ii) I have filed a separate bug for the "Delete" action. Please see issue#98568::XML Schema elements cannot be deleted in Design view (iii) I have fixed the unable to rename element in Design view issue as reported in this bug. The code was putback in build number# 070321_9 Testing:: 1. Open a new BPEL project. 2. Add the XML schema and open it in the Design Mode. 3. Double click on element to rename it. Enter new element's name and press enter. Result:: The element should be renamed.
Verified the fix is in Hual daily build 200703220921