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.
Summary: | Retriever is triggered 8 times when you add an external import | ||
---|---|---|---|
Product: | soa | Reporter: | Kirill Sorokin <ksorokin> |
Component: | BPEL Mapper | Assignee: | issues@soa <issues> |
Status: | NEW --- | ||
Severity: | blocker | CC: | ksorokin, michaelnazarov, tonybeckham |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Retriever Output |
Description
Kirill Sorokin
2008-05-21 18:24:21 UTC
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) |