Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Eclipse Profiler Plugin
Eclipse Profiler Plugin [message #76128] Tue, 15 July 2003 12:21 Go to next message
Eclipse UserFriend
Originally posted by: bob.news.gmx.net

I got me the profiler from http://eclipsecolorer.sourceforge.net/ but I
can't seem to get it to work: After extracting the ZIP in the Eclipse
plugins directory the Perspective is recognized but cannot be opened -
apparently because a class is missing:

java.lang.ClassNotFoundException:
ru.nlmk.eclipse.plugins.profiler.ui.ProfilerPerspectiveFacto ry
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.load Class(Delegati
ngURLClassLoader.java:866)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at
org.eclipse.core.internal.plugins.PluginDescriptor.createExe cutableExtensi
on(PluginDescriptor.java:130)
at
org.eclipse.core.internal.plugins.PluginDescriptor.createExe cutableExtensi
on(PluginDescriptor.java:167)
at
org.eclipse.core.internal.plugins.ConfigurationElement.creat eExecutableExt
ension(ConfigurationElement.java:103)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:158)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.ja
va:155)
at
org.eclipse.ui.internal.registry.PerspectiveDescriptor.creat eFactory(Persp
ectiveDescriptor.java:98)
at
org.eclipse.ui.internal.Perspective.loadPredefinedPersp(Pers pective.java:6
53)
at
org.eclipse.ui.internal.Perspective.createPresentation(Persp ective.java:27
8)
at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:177)
at
org.eclipse.ui.internal.WorkbenchPage.createPerspective(Work benchPage.java
:965)
at
org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.jav
a:617)
at org.eclipse.ui.internal.WorkbenchPage.access$8(WorkbenchPage .java:609)
at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.j ava:2705)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:27
03)
at
org.eclipse.ui.internal.ChangeToPerspectiveMenu.run(ChangeTo PerspectiveMen
u.java:58)
at org.eclipse.ui.actions.PerspectiveMenu.run(PerspectiveMenu.j ava:331)
at
org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:346)
at
org.eclipse.ui.actions.PerspectiveMenu$4.widgetSelected(Pers pectiveMenu.ja
va:118)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1838)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1545)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.j
ava:845)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorIm
pl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)


Any ideas what went wrong? TIA!

robert
Re: Eclipse Profiler Plugin [message #76492 is a reply to message #76128] Tue, 15 July 2003 23:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scheglov_ke.nlmk.ru

Robert Klemme <bob.news@gmx.net> wrote:

May be you have earlier messages in log, which tells, why
ProfilerPerspectiveFactory was not loaded, for example your Eclipse
does not have some plugins. Try to remove log file, start Eclipse and
send me log file via mail.
Check also, that you don't have any earlier version of profiler installed.

> I got me the profiler from http://eclipsecolorer.sourceforge.net/ but I
> can't seem to get it to work: After extracting the ZIP in the Eclipse
> plugins directory the Perspective is recognized but cannot be opened -
> apparently because a class is missing:

> java.lang.ClassNotFoundException:
> ru.nlmk.eclipse.plugins.profiler.ui.ProfilerPerspectiveFacto ry
> at
> org.eclipse.core.internal.boot.DelegatingURLClassLoader.load Class(Delegati
> ngURLClassLoader.java:866)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
> at
> org.eclipse.core.internal.plugins.PluginDescriptor.createExe cutableExtensi
> on(PluginDescriptor.java:130)
> at
> org.eclipse.core.internal.plugins.PluginDescriptor.createExe cutableExtensi
> on(PluginDescriptor.java:167)
> at
> org.eclipse.core.internal.plugins.ConfigurationElement.creat eExecutableExt
> ension(ConfigurationElement.java:103)
> at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:158)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> at
> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.ja
> va:155)
> at
> org.eclipse.ui.internal.registry.PerspectiveDescriptor.creat eFactory(Persp
> ectiveDescriptor.java:98)
> at
> org.eclipse.ui.internal.Perspective.loadPredefinedPersp(Pers pective.java:6
> 53)
> at
> org.eclipse.ui.internal.Perspective.createPresentation(Persp ective.java:27
> 8)
> at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:177)
> at
> org.eclipse.ui.internal.WorkbenchPage.createPerspective(Work benchPage.java
> :965)
> at
> org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.jav
> a:617)
> at org.eclipse.ui.internal.WorkbenchPage.access$8(WorkbenchPage .java:609)
> at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.j ava:2705)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> at
> org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:27
> 03)
> at
> org.eclipse.ui.internal.ChangeToPerspectiveMenu.run(ChangeTo PerspectiveMen
> u.java:58)
> at org.eclipse.ui.actions.PerspectiveMenu.run(PerspectiveMenu.j ava:331)
> at
> org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:346)
> at
> org.eclipse.ui.actions.PerspectiveMenu$4.widgetSelected(Pers pectiveMenu.ja
> va:118)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :81)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1838)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1545)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1402)
> at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
> at
> org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.j
> ava:845)
> at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:
> 39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorIm
> pl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
> at org.eclipse.core.launcher.Main.run(Main.java:747)
> at org.eclipse.core.launcher.Main.main(Main.java:583)


> Any ideas what went wrong? TIA!

> robert


--
SY, Konstantin.
Re: Eclipse Profiler Plugin [message #76588 is a reply to message #76128] Wed, 16 July 2003 04:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: arnout.standaert.n-o-s-p-a-m.cit.kuleuven.ac.be

"Robert Klemme" <bob.news@gmx.net> wrote:

>
> I got me the profiler from
> http://eclipsecolorer.sourceforge.net/ but I can't seem to get
> it to work: After extracting the ZIP in the Eclipse plugins
> directory the Perspective is recognized but cannot be opened -
> apparently because a class is missing:
>
> java.lang.ClassNotFoundException:
> ru.nlmk.eclipse.plugins.profiler.ui.ProfilerPerspectiveFacto ry
<snip>
> at org.eclipse.core.launcher.Main.main(Main.java:583)
>
>
> Any ideas what went wrong? TIA!

It's just a hunch, but I guess you haven't got the full Eclipse SDK
installed. Try the following:

Go to the profiler's UI plugin directory
"ru.nlmk.eclipse.plugins.profiler.ui", and open up plugin.xml in a
plain text editor. In the <requires> section, comment out the
following lines:

<!--<import plugin="org.eclipse.pde.ui"/>-->
....
<!--<import plugin="org.eclipse.pde.core"/>-->

This made things work for my Eclipse installation.

This issue has already been brought up several times, an
alternative solution would be to include 'optional="true"' in the
import statement. I think Konstantin once said to incorporate this,
but maybe he didn't manage to do it yet...

Maybe a good opportunity to get this to his attention again :-)

Kind regards,
Wald
Re: Eclipse Profiler Plugin [message #76619 is a reply to message #76492] Wed, 16 July 2003 04:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bob.news.gmx.net

Thanks for the quick response! I'll get back at you via email.

robert

"Konstantin Scheglov" <scheglov_ke@nlmk.ru> schrieb im Newsbeitrag
news:dJGauj0SDHA.3800@fairy.ao.nlmk...
> Robert Klemme <bob.news@gmx.net> wrote:
>
> May be you have earlier messages in log, which tells, why
> ProfilerPerspectiveFactory was not loaded, for example your Eclipse
> does not have some plugins. Try to remove log file, start Eclipse and
> send me log file via mail.
> Check also, that you don't have any earlier version of profiler
installed.
>
> > I got me the profiler from http://eclipsecolorer.sourceforge.net/ but
I
> > can't seem to get it to work: After extracting the ZIP in the Eclipse
> > plugins directory the Perspective is recognized but cannot be opened -
> > apparently because a class is missing:
>
> > java.lang.ClassNotFoundException:
> > ru.nlmk.eclipse.plugins.profiler.ui.ProfilerPerspectiveFacto ry
> > at
> >
org.eclipse.core.internal.boot.DelegatingURLClassLoader.load Class(Delegati
> > ngURLClassLoader.java:866)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
> > at
> >
org.eclipse.core.internal.plugins.PluginDescriptor.createExe cutableExtensi
> > on(PluginDescriptor.java:130)
> > at
> >
org.eclipse.core.internal.plugins.PluginDescriptor.createExe cutableExtensi
> > on(PluginDescriptor.java:167)
> > at
> >
org.eclipse.core.internal.plugins.ConfigurationElement.creat eExecutableExt
> > ension(ConfigurationElement.java:103)
> > at
org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:158)
> > at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> > at
> >
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.ja
> > va:155)
> > at
> >
org.eclipse.ui.internal.registry.PerspectiveDescriptor.creat eFactory(Persp
> > ectiveDescriptor.java:98)
> > at
> >
org.eclipse.ui.internal.Perspective.loadPredefinedPersp(Pers pective.java:6
> > 53)
> > at
> >
org.eclipse.ui.internal.Perspective.createPresentation(Persp ective.java:27
> > 8)
> > at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:177)
> > at
> >
org.eclipse.ui.internal.WorkbenchPage.createPerspective(Work benchPage.java
> > :965)
> > at
> >
org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.jav
> > a:617)
> > at
org.eclipse.ui.internal.WorkbenchPage.access$8(WorkbenchPage .java:609)
> > at
org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.j ava:2705)
> > at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> > at
> >
org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:27
> > 03)
> > at
> >
org.eclipse.ui.internal.ChangeToPerspectiveMenu.run(ChangeTo PerspectiveMen
> > u.java:58)
> > at
org.eclipse.ui.actions.PerspectiveMenu.run(PerspectiveMenu.j ava:331)
> > at
> >
org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:346)
> > at
> >
org.eclipse.ui.actions.PerspectiveMenu$4.widgetSelected(Pers pectiveMenu.ja
> > va:118)
> > at
> >
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
> > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :81)
> > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
> > at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1838)
> > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1545)
> > at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1402)
> > at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
> > at
> >
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.j
> > ava:845)
> > at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:
> > 39)
> > at
> >
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorIm
> > pl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:324)
> > at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
> > at org.eclipse.core.launcher.Main.run(Main.java:747)
> > at org.eclipse.core.launcher.Main.main(Main.java:583)
>
>
> > Any ideas what went wrong? TIA!
>
> > robert
>
>
> --
> SY, Konstantin.
Re: Eclipse Profiler Plugin [message #76664 is a reply to message #76588] Wed, 16 July 2003 06:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scheglov_ke.nlmk.ru

Wald <arnout.standaert@n-o-s-p-a-m.cit.kuleuven.ac.be> wrote:


Yes, you are right, these imports are again not optional.
Problem is that we do some restructuring, and I forgot to move
plugin.xml.

> <!--<import plugin="org.eclipse.pde.ui"/>-->
> ...
> <!--<import plugin="org.eclipse.pde.core"/>-->

> This made things work for my Eclipse installation.

> This issue has already been brought up several times, an
> alternative solution would be to include 'optional="true"' in the
> import statement. I think Konstantin once said to incorporate this,
> but maybe he didn't manage to do it yet...

> Maybe a good opportunity to get this to his attention again :-)

> Kind regards,
> Wald

--
SY, Konstantin.
Re: Eclipse Profiler Plugin [message #77646 is a reply to message #76664] Fri, 18 July 2003 05:07 Go to previous message
Eclipse UserFriend
Originally posted by: bob.news.gmx.net

Thanks to Konstantin's help I was able to track down the error to - the
unzipper. It extracted not all files to where they belong but created an
additional directory presumably for paths that it regarded too long.
Aarrgh!

Thanks again

robert

"Konstantin Scheglov" <scheglov_ke@nlmk.ru> schrieb im Newsbeitrag
news:YvR0OI4SDHA.540@fairy.ao.nlmk...
> Wald <arnout.standaert@n-o-s-p-a-m.cit.kuleuven.ac.be> wrote:
>
>
> Yes, you are right, these imports are again not optional.
> Problem is that we do some restructuring, and I forgot to move
> plugin.xml.
>
> > <!--<import plugin="org.eclipse.pde.ui"/>-->
> > ...
> > <!--<import plugin="org.eclipse.pde.core"/>-->
>
> > This made things work for my Eclipse installation.
>
> > This issue has already been brought up several times, an
> > alternative solution would be to include 'optional="true"' in the
> > import statement. I think Konstantin once said to incorporate this,
> > but maybe he didn't manage to do it yet...
>
> > Maybe a good opportunity to get this to his attention again :-)
>
> > Kind regards,
> > Wald
>
> --
> SY, Konstantin.
Previous Topic:Editor preferences summary
Next Topic:W2K pro upgrade to 2.1.1 problem
Goto Forum:
  


Current Time: Mon May 12 17:36:23 EDT 2025

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

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

Back to the top