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.

Bug 102662 - CASA navigator throw ClassNotFoundException
Summary: CASA navigator throw ClassNotFoundException
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: Composite Application (show other bugs)
Version: 6.x
Hardware: PC All
: P1 blocker (vote)
Assignee: Joshua Sandusky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-26 19:25 UTC by Tientien Li
Modified: 2007-05-02 20:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tientien Li 2007-04-26 19:25:45 UTC
In m9, to reproduce this bug:

- open an exiting CompApp project, e.g., SynchronousSampleApplication
- open the CompApp project in CASA
- Navigator only show top-level nodes
- move the bpel SU in CASA resulting the exception:

java.lang.ClassNotFoundException: Will not load classes from default package 
(s)
	at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:171)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:247)
	at org.openide.util.lookup.MetaInfServicesLookup.search
(MetaInfServicesLookup.java:244)
	at org.openide.util.lookup.MetaInfServicesLookup.beforeLookup
(MetaInfServicesLookup.java:98)
	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.xml.wsdl.model.impl.ElementFactoryRegistry.initialize
(ElementFactoryRegistry.java:64)
	at 
org.netbeans.modules.xml.wsdl.model.impl.ElementFactoryRegistry.<init>
(ElementFactoryRegistry.java:50)
	at 
org.netbeans.modules.xml.wsdl.model.impl.ElementFactoryRegistry.getDefault
(ElementFactoryRegistry.java:55)
	at 
org.netbeans.modules.xml.wsdl.model.impl.WSDLComponentFactoryImpl.create
(WSDLComponentFactoryImpl.java:58)
	at 
org.netbeans.modules.xml.wsdl.model.impl.WSDLComponentFactoryImpl.create
(WSDLComponentFactoryImpl.java:49)
	at 
org.netbeans.modules.xml.wsdl.model.spi.WSDLComponentBase.populateChildren
(WSDLComponentBase.java:62)
	at org.netbeans.modules.xml.xam.AbstractComponent._getChildren
(AbstractComponent.java:130)
	at org.netbeans.modules.xml.xam.AbstractComponent.getChildren
(AbstractComponent.java:114)
	at 
org.netbeans.modules.xml.wsdl.model.visitor.ChildVisitor.visitComponent
(ChildVisitor.java:34)
	at 
org.netbeans.modules.xml.wsdl.model.visitor.FindWSDLComponent.visitComponent
(FindWSDLComponent.java:84)
	at org.netbeans.modules.xml.wsdl.model.visitor.DefaultVisitor.visit
(DefaultVisitor.java:57)
	at org.netbeans.modules.xml.wsdl.model.impl.DefinitionsImpl.accept
(DefinitionsImpl.java:130)
	at 
org.netbeans.modules.xml.wsdl.model.visitor.FindWSDLComponent.findComponent
(FindWSDLComponent.java:60)
	at 
org.netbeans.modules.xml.wsdl.model.visitor.FindWSDLComponent.findComponent
(FindWSDLComponent.java:72)
	at 
org.netbeans.modules.compapp.casaeditor.model.casa.CasaWrapperModel.getWSDLComp
onentFromXLinkHref(CasaWrapperModel.java:302)
	at 
org.netbeans.modules.compapp.casaeditor.model.casa.CasaWrapperModel.getLinkedWS
DLPort(CasaWrapperModel.java:263)
	at 
org.netbeans.modules.compapp.casaeditor.nodes.WSDLEndpointNode$MyChildren.getCh
ildKeys(WSDLEndpointNode.java:169)
	at 
org.netbeans.modules.compapp.casaeditor.nodes.CasaNodeChildren.initialize
(CasaNodeChildren.java:86)
	at 
org.netbeans.modules.compapp.casaeditor.nodes.CasaNodeChildren.addNotify
(CasaNodeChildren.java:78)
	at org.openide.nodes.Children.callAddNotify(Children.java:478)
	at org.openide.nodes.Children.getArray(Children.java:520)
	at org.openide.nodes.Children.getNodes(Children.java:362)
	at org.openide.nodes.Children.getNodesCount(Children.java:448)
	at 
org.netbeans.modules.compapp.casaeditor.navigator.CasaNavigatorContentPanel.fin
dNavigatorNode(CasaNavigatorContentPanel.java:258)
	at 
org.netbeans.modules.compapp.casaeditor.navigator.CasaNavigatorContentPanel.fin
dNavigatorNode(CasaNavigatorContentPanel.java:259)
	at 
org.netbeans.modules.compapp.casaeditor.navigator.CasaNavigatorContentPanel.sel
ectActivatedNodes(CasaNavigatorContentPanel.java:234)
	at 
org.netbeans.modules.compapp.casaeditor.navigator.CasaNavigatorContentPanel.acc
ess$100(CasaNavigatorContentPanel.java:59)
[catch] at 
org.netbeans.modules.compapp.casaeditor.navigator.CasaNavigatorContentPanel$2.r
un(CasaNavigatorContentPanel.java:146)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at java.awt.EventDispatchThread.pumpOneEventForFilters
(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter
(EventDispatchThread.java:183)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 Joshua Sandusky 2007-04-26 21:38:47 UTC
fixed
Comment 2 jlautz 2007-05-02 20:47:27 UTC
Verified on NetBeans IDE 6.0 Preview (M9, build 070502)
1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06
Windows XP version 5.1 running on x86
en_US (nb); Cp1252

I can no longer reproduce the ClassNotFoundException, and the Navigator contains
all nodes that are in the CASA Design view.