Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Communications Framework (ECF) » [NewBie] ClassNotFoundException when trying to use the Skype plugin
[NewBie] ClassNotFoundException when trying to use the Skype plugin [message #623738] Tue, 01 July 2008 15:56 Go to next message
Mauro Molinari is currently offline Mauro MolinariFriend
Messages: 280
Registered: July 2009
Senior Member
Hello! I was just trying the use ECF for the first time, using Ganymede.
I downloaded the Skype plugin using the ECF extra update site.
The installation went well, but when I try to click on "Connect to
provider" => "Skype", I get the following exception in console:

(by the way: I can see this error in the console only launching Eclipse
with eclipsec.exe; I can't see it in the log...)

org.eclipse.ecf.core.ContainerCreateException: Could not create skype
container
at
org.eclipse.ecf.provider.skype.SkypeContainerInstantiator.cr eateInsta
nce(SkypeContainerInstantiator.java:41)
at
org.eclipse.ecf.core.ContainerFactory.createContainer(Contai nerFactor
y.java:259)
at
org.eclipse.ecf.core.ContainerFactory.createContainer(Contai nerFactor
y.java:233)
at
org.eclipse.ecf.internal.ui.actions.SelectProviderAction.ope nConnectW
izard(SelectProviderAction.java:141)
at
org.eclipse.ecf.internal.ui.actions.SelectProviderAction.acc ess$0(Sel
ectProviderAction.java:137)
at
org.eclipse.ecf.internal.ui.actions.SelectProviderAction$1.w idgetSele
cted(SelectProviderAction.java:100)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:
228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3823)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3422)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.ja
va:288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.jav
a:488)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEAppli
cation.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandl
e.java:193)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runAppli
cation(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(Ec
lipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.ja
va:382)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.ja
va:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Caused by: java.lang.IllegalStateException: The connector couldn't be
initialize
d.
at com.skype.connector.Connector.getInstance(Connector.java:109 )
at com.skype.Utils.getProperty(Utils.java:153)
at com.skype.Profile.getId(Profile.java:225)
at
org.eclipse.ecf.provider.skype.SkypeContainerInstantiator.cr eateInsta
nce(SkypeContainerInstantiator.java:39)
... 30 more
Caused by: java.lang.ClassNotFoundException:
com.skype.connector.win32.Win32Connector
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assIntern
al(BundleLoader.java:481)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(Bundl
eLoader.java:397)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(Bundl
eLoader.java:385)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(De
faultClassLoader.java:87)
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:169)
at com.skype.connector.Connector.getInstance(Connector.java:105 )
... 33 more

It says it can't find com.skype.connector.win32.Win32Connector, but I do
have com.skype.win32.win32.x86_0.1.0.v20080622-1600.jar in my plugins
folder and that JAR does contain that class...

Plese note I'm using Eclipse 3.4 64 bit under Windows XP x64 Edition.

Thanks in advance for any help.
Mauro.
Re: [NewBie] ClassNotFoundException when trying to use the Skype plugin [message #623739 is a reply to message #623738] Tue, 01 July 2008 16:59 Go to previous messageGo to next message
Scott Lewis is currently offline Scott LewisFriend
Messages: 974
Registered: July 2009
Senior Member
Hi Mauro,

Mauro Molinari wrote:
<stuff deleted>
> It says it can't find com.skype.connector.win32.Win32Connector, but I do
> have com.skype.win32.win32.x86_0.1.0.v20080622-1600.jar in my plugins
> folder and that JAR does contain that class...
>
> Plese note I'm using Eclipse 3.4 64 bit under Windows XP x64 Edition.


I'm almost certain this (64 bit) is the issue. We've not been able to
do any testing on the winxp 64 bit edition.

The com.skype.win32... fragment has a line in its manifest like this:

Eclipse-PlatformFilter: (& (osgi.ws=win32) (osgi.os=win32) (osgi.arch=x86))

I'm not sure, since I've never run win64, but I would guess that one of
these system properties does not match for win64, and so this fragment
is not consulted for classes...resulting in the classnotfoundexception.

If you could check the value of these system properties for your system
and let me know we can add them to the filter...and then perhaps we can
enlist you for some 64-bit windows testing?

I've created this bug to track

https://bugs.eclipse.org/bugs/show_bug.cgi?id=239146

Thanks,

Scott


>
> Thanks in advance for any help.
> Mauro.
Re: [NewBie] ClassNotFoundException when trying to use the Skype plugin [message #623823 is a reply to message #623739] Wed, 02 July 2008 07:09 Go to previous messageGo to next message
Mauro Molinari is currently offline Mauro MolinariFriend
Messages: 280
Registered: July 2009
Senior Member
Hi Scott!

Scott Lewis ha scritto:
> I'm almost certain this (64 bit) is the issue. We've not been able to
> do any testing on the winxp 64 bit edition.
>
> The com.skype.win32... fragment has a line in its manifest like this:
>
> Eclipse-PlatformFilter: (& (osgi.ws=win32) (osgi.os=win32) (osgi.arch=x86))
>
> I'm not sure, since I've never run win64, but I would guess that one of
> these system properties does not match for win64, and so this fragment
> is not consulted for classes...resulting in the classnotfoundexception.
>
> If you could check the value of these system properties for your system
> and let me know we can add them to the filter...and then perhaps we can
> enlist you for some 64-bit windows testing?

Yes, I can help you to make some testing, if you wish. Please consider
that I'm an ECF newbie, though...

These are the values of those properties in my system:
osgi.os=win32
osgi.ws=win32
osgi.arch=x86_64

> I've created this bug to track
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=239146

Thank you, I added myself to cc:.

Please note that today I encountered another problem: while yesterday I
successfully installed Skype plugin via the new update manager, today I
tried to install another plugin (Usage Data Collector) through the same
update manager and I'm given the following error:

Cannot complete the request. See the details.
Unsatisfied dependency:
[org.eclipse.ecf.provider.skype_feature.feature.group
2.0.0.v20080622-1600] requiredCapability:
org.eclipse.equinox.p2.iu/com.skype.win32.win32.x86/[0.1.0.v 20080622-1600,0.1.0.v20080622-1600]

and I cannot proceed to install the Usage Data Collector plugin...
Any hint on what's wrong and how to fix this?

Mauro.
Re: [NewBie] ClassNotFoundException when trying to use the Skype plugin [message #623824 is a reply to message #623823] Wed, 02 July 2008 15:28 Go to previous messageGo to next message
Scott Lewis is currently offline Scott LewisFriend
Messages: 974
Registered: July 2009
Senior Member
Hello Mauro,

Mauro Molinari wrote:
> Hi Scott!
>
> Scott Lewis ha scritto:
>> I'm almost certain this (64 bit) is the issue. We've not been able to
>> do any testing on the winxp 64 bit edition.
>>
>> The com.skype.win32... fragment has a line in its manifest like this:
>>
>> Eclipse-PlatformFilter: (& (osgi.ws=win32) (osgi.os=win32)
>> (osgi.arch=x86))
>>
<stuff deleted>
>
> These are the values of those properties in my system:
> osgi.os=win32
> osgi.ws=win32
> osgi.arch=x86_64


This last one is the issue (x86_64 rather than x86). This is preventing
this fragment from being consulted.

We can update this to include x86_64 and then ask you (Mauro) to check
whether the fragment will/would then work.


>
>> I've created this bug to track
>>
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=239146
>
> Thank you, I added myself to cc:.
>
> Please note that today I encountered another problem: while yesterday I
> successfully installed Skype plugin via the new update manager, today I
> tried to install another plugin (Usage Data Collector) through the same
> update manager and I'm given the following error:
>
> Cannot complete the request. See the details.
> Unsatisfied dependency:
> [org.eclipse.ecf.provider.skype_feature.feature.group
> 2.0.0.v20080622-1600] requiredCapability:
> org.eclipse.equinox.p2.iu/com.skype.win32.win32.x86/[0.1.0.v 20080622-1600,0.1.0.v20080622-1600]
>
>
> and I cannot proceed to install the Usage Data Collector plugin...
> Any hint on what's wrong and how to fix this?


This seems likely to me to be a problem with p2 caused by the inability
for it to find the com.skype.win32.win32.x86 fragment. I would consider
this a p2 bug though, as it should be able to recover from this situation.

Perhaps if you uninstall the skype feature it would allow you to
continue with installing the UDC.

Thanks,

Scott
Re: [NewBie] ClassNotFoundException when trying to use the Skype plugin [message #623826 is a reply to message #623824] Wed, 02 July 2008 15:32 Go to previous message
Mauro Molinari is currently offline Mauro MolinariFriend
Messages: 280
Registered: July 2009
Senior Member
Scott Lewis ha scritto:
>> These are the values of those properties in my system:
>> osgi.os=win32
>> osgi.ws=win32
>> osgi.arch=x86_64
>
>
> This last one is the issue (x86_64 rather than x86). This is preventing
> this fragment from being consulted.
>
> We can update this to include x86_64 and then ask you (Mauro) to check
> whether the fragment will/would then work.

Ok, let me know when an update is available!

> This seems likely to me to be a problem with p2 caused by the inability
> for it to find the com.skype.win32.win32.x86 fragment. I would consider
> this a p2 bug though, as it should be able to recover from this situation.
>
> Perhaps if you uninstall the skype feature it would allow you to
> continue with installing the UDC.

I will try to file a bug against P2... thank you.

Mauro.
Previous Topic:Share menu option is gone
Next Topic:Reminder: ECF conference call TODAY 7/3/2008
Goto Forum:
  


Current Time: Wed Nov 26 21:57:55 GMT 2014

Powered by FUDForum. Page generated in 0.02386 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software