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: * Create a SynchronousSample project * Open the SynchronousSample BPEL process in the text editor * Copy the schema import statement and edit it * Set the 'namespace' field to 'urn:uddi-org:api_v2' * Set the 'location' field to 'http://www.uddi.org/schema/uddi_v2.xsd' As a result the retriever output window will show up and it will contain a log of 8 (!!!!) consequent invocations of retriever for the same file (http://www.uddi.org/schema/uddi_v2.xsd). This was reproduced on a trunk.
Of course I meant "on a trunk build".
No functionality is broken here and with above instruction, it just fetches just once for me.
BTW pl. attach (do not paste) the retriever output.
I am able to reproduce and see the exact same results (8 retrievals) System Info: Product Version: NetBeans IDE Dev (Build 200805221203) Java: 1.6.0_05; Java HotSpot(TM) 64-Bit Server VM 1.6.0_05-b13-52 System: Mac OS X version 10.5.2 running on x86_64; MacRoman; en_US (nb)
Created attachment 61864 [details] Retriever Output
I debugged this issue and I see that the RetrieverImpl is being created multiple times. Here is the call stack. The BpelNode.updateName(BpelNode.java:810) is calling/creating retriever multiple times. Transferring it the BPEL team so that they can debug further. stack trace ============ org.netbeans.modules.xml.retriever.impl.RetrieverEngineImpl.<init>(RetrieverEngineImpl.java:106) org.netbeans.modules.xml.retriever.impl.RetrieverImpl.retrieveResourceImpl(RetrieverImpl.java:138) org.netbeans.modules.xml.retriever.impl.RetrieverImpl.retrieveResource(RetrieverImpl.java:132) org.netbeans.modules.xml.retriever.impl.RetrieverImpl.retrieveResource(RetrieverImpl.java:88) org.netbeans.modules.xml.retriever.impl.Util.retrieveAndCache(Util.java:113) org.netbeans.modules.xml.retriever.catalog.impl.CatalogModelImpl.retrieveCacheAndLookup(CatalogModelImpl.java:396) org.netbeans.modules.xml.retriever.catalog.impl.CatalogModelImpl.doGetModelSource(CatalogModelImpl.java:207) org.netbeans.modules.xml.retriever.catalog.impl.CatalogModelImpl.getModelSource(CatalogModelImpl.java:163) org.netbeans.modules.bpel.model.api.support.ImportHelper.getWsdlModel(ImportHelper.java:85) org.netbeans.modules.bpel.model.api.support.ImportHelper.getWsdlModel(ImportHelper.java:118) org.netbeans.modules.bpel.properties.ResolverUtility.getImportedModelSource(ResolverUtility.java:284) org.netbeans.modules.bpel.properties.ResolverUtility.getImportedFileObject(ResolverUtility.java:294) org.netbeans.modules.bpel.nodes.ImportNode.getRelativePath(ImportNode.java:209) org.netbeans.modules.bpel.nodes.ImportNode.getNameImpl(ImportNode.java:92) org.netbeans.modules.bpel.nodes.BpelNode.getName(BpelNode.java:758) org.netbeans.modules.bpel.nodes.BpelNode.updateName(BpelNode.java:810) org.netbeans.modules.bpel.nodes.BpelNode$Synchronizer.notifyPropertyUpdated(BpelNode.java:1101) org.netbeans.modules.bpel.design.model.DelegatingChangeEventListener$3.run(DelegatingChangeEventListener.java:62) java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) java.awt.EventQueue.dispatchEvent(EventQueue.java:461) org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) java.awt.EventDispatchThread.run(EventDispatchThread.java:110)