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 116427 - ProjectWebServicesSupportProvider ClassNotFoundException when migrating a blank Creator project
Summary: ProjectWebServicesSupportProvider ClassNotFoundException when migrating a bla...
Status: RESOLVED WORKSFORME
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-RPC (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: bhate
URL:
Keywords:
: 116476 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-23 08:28 UTC by John Baker
Modified: 2007-09-25 22:54 UTC (History)
3 users (show)

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 John Baker 2007-09-23 08:28:35 UTC
I created a new Creator project (didn't add anything, it's a blank project) then opened in 6.0 and
expanded the Project node.

This error occurred:

java.lang.ClassNotFoundException: org.netbeans.modules.websvc.webservices.ProjectWebServicesSupportProvider
   at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
   at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:209)
   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:1031)
   at org.openide.util.lookup.ProxyLookup$R.myBeforeLookup(ProxyLookup.java:560)
   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.websvc.api.webservices.WebServicesSupport.getWebServicesSupport(WebServicesSupport.java:75)
   at
org.netbeans.modules.websvc.jaxrpc.nodes.JaxRpcWebServiceNodeFactory$WsNodeList.addNotify(JaxRpcWebServiceNodeFactory.java:121)
   at org.netbeans.spi.project.ui.support.NodeFactorySupport$DelegateChildren.addNotify(NodeFactorySupport.java:145)
   at org.openide.nodes.Children.callAddNotify(Children.java:516)
   at org.openide.nodes.Children.getArray(Children.java:558)
   at org.openide.nodes.Children.getNodes(Children.java:469)
   at org.openide.nodes.FilterNode$Children.getNodes(FilterNode.java:1448)
   at org.openide.explorer.view.TreeView$2.run(TreeView.java:824)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Comment 1 John Baker 2007-09-23 08:33:54 UTC
I remember seeing some reorganizing of Web Services in the past day.

This breaks visualweb
Comment 2 John Baker 2007-09-23 08:40:55 UTC
From the changes in websvc, does this mean visualweb has to also make changes ?

Comment 3 Quy Nguyen 2007-09-24 17:05:04 UTC
I tried the scenario but could not reproduce the problem.  The
org.netbeans.modules.websvc.jaxrpc.nodes.JaxRpcWebServiceNodeFactory class exists in a module that has been moved to the
update center, so it should not have been possible for it to be present in the stack trace.  Perhaps your environment
has not been updated?
Comment 4 bhate 2007-09-24 18:57:10 UTC
*** Issue 116476 has been marked as a duplicate of this issue. ***
Comment 5 bhate 2007-09-25 00:18:26 UTC
I have removed the metainf services entry for ProjectWebServicesSupportProvider.
Can you retry with fresh user dir?
Comment 6 John Baker 2007-09-25 08:09:55 UTC
With the lastest trunk bits, this issue appears to fixed using my use case, opening a Creator project
Comment 7 bhate 2007-09-25 17:15:34 UTC
i am going to close this bug as worksforme.
Comment 8 John Baker 2007-09-25 22:54:01 UTC
Rico said that there was a fix on Friday, so the issue should be marked as Resolved-Fixed