Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Nebula example error
Nebula example error [message #5850] Thu, 29 June 2006 16:47 Go to next message
Eclipse UserFriend
Originally posted by: paul.hunter.rmb.co.za

Greetings All

I'm running eclipse 3.1 and jdk1.5.0_07. I have extracted the
nebula_examples.jar file into the eclipse/plugins directory. What
should I do with the nebula_grid.jar file?

When I try and open the nebula examples I get the following error

Unable to create view: Plug-in org.eclipse.swt.nebula.examples was
unable to load class org.eclipse.swt.nebula.examples.ExamplesView.

I have also restarted eclipse a number of time.

Thanks in advance
Paul
Re: Nebula example error [message #5868 is a reply to message #5850] Thu, 29 June 2006 17:44 Go to previous messageGo to next message
Chris Gross is currently offline Chris GrossFriend
Messages: 253
Registered: July 2009
Senior Member
Hi Paul,

Both plugins (jars) in the examples download zip should be extracted
into the plugins directory. The nebula_grid.jar file is not necessary
for the examples plugin to work (the nebula code is in the nebula plugin).

-Chris

Paul wrote:
> Greetings All
>
> I'm running eclipse 3.1 and jdk1.5.0_07. I have extracted the
> nebula_examples.jar file into the eclipse/plugins directory. What
> should I do with the nebula_grid.jar file?
>
> When I try and open the nebula examples I get the following error
>
> Unable to create view: Plug-in org.eclipse.swt.nebula.examples was
> unable to load class org.eclipse.swt.nebula.examples.ExamplesView.
>
> I have also restarted eclipse a number of time.
>
> Thanks in advance
> Paul
Re: Nebula example error [message #5886 is a reply to message #5868] Fri, 30 June 2006 08:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: paul.hunter.rmb.co.za

Thanks for the reply Chris. I have extracted both jars into the plugins
directory and restarted eclipse but still get the following error. I'm
doing something wrong.

java.lang.UnsupportedClassVersionError:
org/eclipse/swt/nebula/examples/ExamplesView (Unsupported major.minor
version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at
org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.d efineClass(DefaultClassLoader.java:370)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineCl ass(EclipseClassLoader.java:227)
at
org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClassImpl(DefaultClassLoader.java:343)
at
org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClass(DefaultClassLoader.java:235)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. findLocalClass(AbstractClassLoader.java:183)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFin dLocalClass(EclipseClassLoader.java:141)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:72)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:337)


Chris Gross wrote:
> Hi Paul,
>
> Both plugins (jars) in the examples download zip should be extracted
> into the plugins directory. The nebula_grid.jar file is not necessary
> for the examples plugin to work (the nebula code is in the nebula plugin).
>
> -Chris
>
> Paul wrote:
>
>> Greetings All
>>
>> I'm running eclipse 3.1 and jdk1.5.0_07. I have extracted the
>> nebula_examples.jar file into the eclipse/plugins directory. What
>> should I do with the nebula_grid.jar file?
>>
>> When I try and open the nebula examples I get the following error
>>
>> Unable to create view: Plug-in org.eclipse.swt.nebula.examples was
>> unable to load class org.eclipse.swt.nebula.examples.ExamplesView.
>>
>> I have also restarted eclipse a number of time.
>>
>> Thanks in advance
>> Paul
Re: Nebula example error [message #5903 is a reply to message #5886] Fri, 30 June 2006 16:17 Go to previous messageGo to next message
Chris Gross is currently offline Chris GrossFriend
Messages: 253
Registered: July 2009
Senior Member
Hi Paul,

No this is my error. I unintentionally compiled the plugins with a 1.5
target (I assume you're using an older jre). I will post a new version
of the plugins with the target lowered but I can't do that right away.
I've made significant changes to Grid since I posted the original
examples download and those changes are not complete. I will upload a
new version in a week or so. Until then you'll need a 1.5 jre.

Sorry,
-Chris

Paul wrote:
> Thanks for the reply Chris. I have extracted both jars into the plugins
> directory and restarted eclipse but still get the following error. I'm
> doing something wrong.
>
> java.lang.UnsupportedClassVersionError:
> org/eclipse/swt/nebula/examples/ExamplesView (Unsupported major.minor
> version 49.0)
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at
> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.d efineClass(DefaultClassLoader.java:370)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineCl ass(EclipseClassLoader.java:227)
>
> at
> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClassImpl(DefaultClassLoader.java:343)
>
> at
> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClass(DefaultClassLoader.java:235)
>
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. findLocalClass(AbstractClassLoader.java:183)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFin dLocalClass(EclipseClassLoader.java:141)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:72)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:337)
>
>
>
> Chris Gross wrote:
>> Hi Paul,
>>
>> Both plugins (jars) in the examples download zip should be extracted
>> into the plugins directory. The nebula_grid.jar file is not necessary
>> for the examples plugin to work (the nebula code is in the nebula
>> plugin).
>>
>> -Chris
>>
>> Paul wrote:
>>
>>> Greetings All
>>>
>>> I'm running eclipse 3.1 and jdk1.5.0_07. I have extracted the
>>> nebula_examples.jar file into the eclipse/plugins directory. What
>>> should I do with the nebula_grid.jar file?
>>>
>>> When I try and open the nebula examples I get the following error
>>>
>>> Unable to create view: Plug-in org.eclipse.swt.nebula.examples was
>>> unable to load class org.eclipse.swt.nebula.examples.ExamplesView.
>>>
>>> I have also restarted eclipse a number of time.
>>>
>>> Thanks in advance
>>> Paul
Re: Nebula example error [message #5920 is a reply to message #5903] Tue, 04 July 2006 08:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: paul.hunter.rmb.co.za

No worries...I have upgraded to Eclipse 3.2 and 1.5 and all is working now

Thanks
Paul

Chris Gross wrote:
> Hi Paul,
>
> No this is my error. I unintentionally compiled the plugins with a 1.5
> target (I assume you're using an older jre). I will post a new version
> of the plugins with the target lowered but I can't do that right away.
> I've made significant changes to Grid since I posted the original
> examples download and those changes are not complete. I will upload a
> new version in a week or so. Until then you'll need a 1.5 jre.
>
> Sorry,
> -Chris
>
> Paul wrote:
>
>> Thanks for the reply Chris. I have extracted both jars into the
>> plugins directory and restarted eclipse but still get the following
>> error. I'm doing something wrong.
>>
>> java.lang.UnsupportedClassVersionError:
>> org/eclipse/swt/nebula/examples/ExamplesView (Unsupported major.minor
>> version 49.0)
>> at java.lang.ClassLoader.defineClass0(Native Method)
>> at java.lang.ClassLoader.defineClass(Unknown Source)
>> at
>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.d efineClass(DefaultClassLoader.java:370)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineCl ass(EclipseClassLoader.java:227)
>>
>> at
>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClassImpl(DefaultClassLoader.java:343)
>>
>> at
>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClass(DefaultClassLoader.java:235)
>>
>> at
>> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. findLocalClass(AbstractClassLoader.java:183)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFin dLocalClass(EclipseClassLoader.java:141)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:72)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:337)
>>
>>
>>
>> Chris Gross wrote:
>>
>>> Hi Paul,
>>>
>>> Both plugins (jars) in the examples download zip should be extracted
>>> into the plugins directory. The nebula_grid.jar file is not
>>> necessary for the examples plugin to work (the nebula code is in the
>>> nebula plugin).
>>>
>>> -Chris
>>>
>>> Paul wrote:
>>>
>>>> Greetings All
>>>>
>>>> I'm running eclipse 3.1 and jdk1.5.0_07. I have extracted the
>>>> nebula_examples.jar file into the eclipse/plugins directory. What
>>>> should I do with the nebula_grid.jar file?
>>>>
>>>> When I try and open the nebula examples I get the following error
>>>>
>>>> Unable to create view: Plug-in org.eclipse.swt.nebula.examples was
>>>> unable to load class org.eclipse.swt.nebula.examples.ExamplesView.
>>>>
>>>> I have also restarted eclipse a number of time.
>>>>
>>>> Thanks in advance
>>>> Paul
Re: Nebula example error [message #5956 is a reply to message #5920] Thu, 06 July 2006 10:45 Go to previous messageGo to next message
Guido Kuepper is currently offline Guido KuepperFriend
Messages: 17
Registered: July 2009
Junior Member
Chris,

I'm also really interested in the nebula table grid. I _can't_ use Java
5, but want to play around with it also. How are your plans to update
the sample code?

By the way: Are you planning to write a JFace viewer for the grid? We
did some wrappers around JFace for our personal needs, and they are all
working with the StructuredViewer interface. By your sample code for
creating the grid it should be easily possible to do a GridViewer based
on the StructuredViewer interface, isn't it? (o.k., you may have to
adapt Content and LabelProvider also, and give the possibility to use a
_useful_ ColorProvider, but also that should be manageable).

Thanks in advance

Guido


Paul schrieb:
> No worries...I have upgraded to Eclipse 3.2 and 1.5 and all is working now
>
> Thanks
> Paul
>
> Chris Gross wrote:
>> Hi Paul,
>>
>> No this is my error. I unintentionally compiled the plugins with a
>> 1.5 target (I assume you're using an older jre). I will post a new
>> version of the plugins with the target lowered but I can't do that
>> right away. I've made significant changes to Grid since I posted the
>> original examples download and those changes are not complete. I will
>> upload a new version in a week or so. Until then you'll need a 1.5 jre.
>>
>> Sorry,
>> -Chris
>>
>> Paul wrote:
>>
>>> Thanks for the reply Chris. I have extracted both jars into the
>>> plugins directory and restarted eclipse but still get the following
>>> error. I'm doing something wrong.
>>>
>>> java.lang.UnsupportedClassVersionError:
>>> org/eclipse/swt/nebula/examples/ExamplesView (Unsupported major.minor
>>> version 49.0)
>>> at java.lang.ClassLoader.defineClass0(Native Method)
>>> at java.lang.ClassLoader.defineClass(Unknown Source)
>>> at
>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.d efineClass(DefaultClassLoader.java:370)
>>>
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineCl ass(EclipseClassLoader.java:227)
>>>
>>> at
>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClassImpl(DefaultClassLoader.java:343)
>>>
>>> at
>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClass(DefaultClassLoader.java:235)
>>>
>>> at
>>> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. findLocalClass(AbstractClassLoader.java:183)
>>>
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFin dLocalClass(EclipseClassLoader.java:141)
>>>
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:72)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:337)
>>>
>>>
>>>
>>> Chris Gross wrote:
>>>
>>>> Hi Paul,
>>>>
>>>> Both plugins (jars) in the examples download zip should be extracted
>>>> into the plugins directory. The nebula_grid.jar file is not
>>>> necessary for the examples plugin to work (the nebula code is in the
>>>> nebula plugin).
>>>>
>>>> -Chris
>>>>
>>>> Paul wrote:
>>>>
>>>>> Greetings All
>>>>>
>>>>> I'm running eclipse 3.1 and jdk1.5.0_07. I have extracted the
>>>>> nebula_examples.jar file into the eclipse/plugins directory. What
>>>>> should I do with the nebula_grid.jar file?
>>>>>
>>>>> When I try and open the nebula examples I get the following error
>>>>>
>>>>> Unable to create view: Plug-in org.eclipse.swt.nebula.examples was
>>>>> unable to load class org.eclipse.swt.nebula.examples.ExamplesView.
>>>>>
>>>>> I have also restarted eclipse a number of time.
>>>>>
>>>>> Thanks in advance
>>>>> Paul
Re: Nebula example error [message #5974 is a reply to message #5956] Thu, 06 July 2006 11:54 Go to previous messageGo to next message
Guido Kuepper is currently offline Guido KuepperFriend
Messages: 17
Registered: July 2009
Junior Member
Sorry about the 'by the way' section, just didn't see the Message of
Hans Mueller-Dieckert.

Guido

> Chris,
>
> I'm also really interested in the nebula table grid. I _can't_ use Java
> 5, but want to play around with it also. How are your plans to update
> the sample code?
>
> By the way: Are you planning to write a JFace viewer for the grid? We
> did some wrappers around JFace for our personal needs, and they are all
> working with the StructuredViewer interface. By your sample code for
> creating the grid it should be easily possible to do a GridViewer based
> on the StructuredViewer interface, isn't it? (o.k., you may have to
> adapt Content and LabelProvider also, and give the possibility to use a
> _useful_ ColorProvider, but also that should be manageable).
>
> Thanks in advance
>
> Guido
>
>
> Paul schrieb:
>> No worries...I have upgraded to Eclipse 3.2 and 1.5 and all is working
>> now
>>
>> Thanks
>> Paul
>>
>> Chris Gross wrote:
>>> Hi Paul,
>>>
>>> No this is my error. I unintentionally compiled the plugins with a
>>> 1.5 target (I assume you're using an older jre). I will post a new
>>> version of the plugins with the target lowered but I can't do that
>>> right away. I've made significant changes to Grid since I posted the
>>> original examples download and those changes are not complete. I
>>> will upload a new version in a week or so. Until then you'll need a
>>> 1.5 jre.
>>>
>>> Sorry,
>>> -Chris
>>>
>>> Paul wrote:
>>>
>>>> Thanks for the reply Chris. I have extracted both jars into the
>>>> plugins directory and restarted eclipse but still get the following
>>>> error. I'm doing something wrong.
>>>>
>>>> java.lang.UnsupportedClassVersionError:
>>>> org/eclipse/swt/nebula/examples/ExamplesView (Unsupported
>>>> major.minor version 49.0)
>>>> at java.lang.ClassLoader.defineClass0(Native Method)
>>>> at java.lang.ClassLoader.defineClass(Unknown Source)
>>>> at
>>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.d efineClass(DefaultClassLoader.java:370)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineCl ass(EclipseClassLoader.java:227)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClassImpl(DefaultClassLoader.java:343)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClass(DefaultClassLoader.java:235)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. findLocalClass(AbstractClassLoader.java:183)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFin dLocalClass(EclipseClassLoader.java:141)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:72)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:337)
>>>>
>>>>
>>>>
>>>> Chris Gross wrote:
>>>>
>>>>> Hi Paul,
>>>>>
>>>>> Both plugins (jars) in the examples download zip should be
>>>>> extracted into the plugins directory. The nebula_grid.jar file is
>>>>> not necessary for the examples plugin to work (the nebula code is
>>>>> in the nebula plugin).
>>>>>
>>>>> -Chris
>>>>>
>>>>> Paul wrote:
>>>>>
>>>>>> Greetings All
>>>>>>
>>>>>> I'm running eclipse 3.1 and jdk1.5.0_07. I have extracted the
>>>>>> nebula_examples.jar file into the eclipse/plugins directory. What
>>>>>> should I do with the nebula_grid.jar file?
>>>>>>
>>>>>> When I try and open the nebula examples I get the following error
>>>>>>
>>>>>> Unable to create view: Plug-in org.eclipse.swt.nebula.examples was
>>>>>> unable to load class org.eclipse.swt.nebula.examples.ExamplesView.
>>>>>>
>>>>>> I have also restarted eclipse a number of time.
>>>>>>
>>>>>> Thanks in advance
>>>>>> Paul
Re: Nebula example error [message #5992 is a reply to message #5956] Fri, 14 July 2006 20:27 Go to previous messageGo to next message
Chris Gross is currently offline Chris GrossFriend
Messages: 253
Registered: July 2009
Senior Member
Hi Guido,

A new version of the Grid has been posted thats compiled with 1.4.

Regards,
-Chris

Guido Küpper wrote:
> Chris,
>
> I'm also really interested in the nebula table grid. I _can't_ use Java
> 5, but want to play around with it also. How are your plans to update
> the sample code?
>
> By the way: Are you planning to write a JFace viewer for the grid? We
> did some wrappers around JFace for our personal needs, and they are all
> working with the StructuredViewer interface. By your sample code for
> creating the grid it should be easily possible to do a GridViewer based
> on the StructuredViewer interface, isn't it? (o.k., you may have to
> adapt Content and LabelProvider also, and give the possibility to use a
> _useful_ ColorProvider, but also that should be manageable).
>
> Thanks in advance
>
> Guido
>
>
> Paul schrieb:
>> No worries...I have upgraded to Eclipse 3.2 and 1.5 and all is working
>> now
>>
>> Thanks
>> Paul
>>
>> Chris Gross wrote:
>>> Hi Paul,
>>>
>>> No this is my error. I unintentionally compiled the plugins with a
>>> 1.5 target (I assume you're using an older jre). I will post a new
>>> version of the plugins with the target lowered but I can't do that
>>> right away. I've made significant changes to Grid since I posted the
>>> original examples download and those changes are not complete. I
>>> will upload a new version in a week or so. Until then you'll need a
>>> 1.5 jre.
>>>
>>> Sorry,
>>> -Chris
>>>
>>> Paul wrote:
>>>
>>>> Thanks for the reply Chris. I have extracted both jars into the
>>>> plugins directory and restarted eclipse but still get the following
>>>> error. I'm doing something wrong.
>>>>
>>>> java.lang.UnsupportedClassVersionError:
>>>> org/eclipse/swt/nebula/examples/ExamplesView (Unsupported
>>>> major.minor version 49.0)
>>>> at java.lang.ClassLoader.defineClass0(Native Method)
>>>> at java.lang.ClassLoader.defineClass(Unknown Source)
>>>> at
>>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.d efineClass(DefaultClassLoader.java:370)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineCl ass(EclipseClassLoader.java:227)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClassImpl(DefaultClassLoader.java:343)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClass(DefaultClassLoader.java:235)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. findLocalClass(AbstractClassLoader.java:183)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFin dLocalClass(EclipseClassLoader.java:141)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:72)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:337)
>>>>
>>>>
>>>>
>>>> Chris Gross wrote:
>>>>
>>>>> Hi Paul,
>>>>>
>>>>> Both plugins (jars) in the examples download zip should be
>>>>> extracted into the plugins directory. The nebula_grid.jar file is
>>>>> not necessary for the examples plugin to work (the nebula code is
>>>>> in the nebula plugin).
>>>>>
>>>>> -Chris
>>>>>
>>>>> Paul wrote:
>>>>>
>>>>>> Greetings All
>>>>>>
>>>>>> I'm running eclipse 3.1 and jdk1.5.0_07. I have extracted the
>>>>>> nebula_examples.jar file into the eclipse/plugins directory. What
>>>>>> should I do with the nebula_grid.jar file?
>>>>>>
>>>>>> When I try and open the nebula examples I get the following error
>>>>>>
>>>>>> Unable to create view: Plug-in org.eclipse.swt.nebula.examples was
>>>>>> unable to load class org.eclipse.swt.nebula.examples.ExamplesView.
>>>>>>
>>>>>> I have also restarted eclipse a number of time.
>>>>>>
>>>>>> Thanks in advance
>>>>>> Paul
Re: Nebula example error [message #6841 is a reply to message #5992] Wed, 19 July 2006 08:43 Go to previous messageGo to next message
Guido Kuepper is currently offline Guido KuepperFriend
Messages: 17
Registered: July 2009
Junior Member
Hi Chris,

thanks a lot for posting the Java 1.4 Version. Unfortunately, when I
integrate it into my Eclipse 3.1 and trying to select the nebula sample
view, the only thing I'm getting is two new entries in eclipse ErrorLog
telling me about an unhandled event loop exception and the next one with
the stack trace added at the bottom of this mail (hope that helps). What
am I doing wrong? Should run under Eclipse 3.1, shouldn't it? I'm really
hot about playing around with it, especially because of an outstanding
local decision trying to use nebula grid in parts of our app (and also
perhaps of developing a viewer for it).

Thanks in advance

Guido

p.s.: The stack trace from the details dialog of the eclipse error log:

java.lang.NoClassDefFoundError: org/eclipse/jface/layout/GridLayoutFactory
at
org.eclipse.swt.nebula.examples.parts.GridExampleTab.createP arameters(GridExampleTab.java:72)
at
org.eclipse.swt.nebula.examples.AbstractExampleTab.create(Ab stractExampleTab.java:175)
at
org.eclipse.swt.nebula.examples.ExamplesView.createPartContr ol(ExamplesView.java:60)
at
org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:305)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:180)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:552)
at org.eclipse.ui.internal.Perspective.showView(Perspective.jav a:1655)
at
org.eclipse.ui.internal.WorkbenchPage.busyShowView(Workbench Page.java:937)
at org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPag e.java:920)
at org.eclipse.ui.internal.WorkbenchPage$13.run(WorkbenchPage.j ava:3199)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage .java:3196)
at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage .java:3174)
at
org.eclipse.ui.handlers.ShowViewHandler.openView(ShowViewHan dler.java:146)
at
org.eclipse.ui.handlers.ShowViewHandler.openOther(ShowViewHa ndler.java:102)
at org.eclipse.ui.handlers.ShowViewHandler.execute(ShowViewHand ler.java:70)
at org.eclipse.ui.internal.ShowViewMenu$3.run(ShowViewMenu.java :113)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)


Chris Gross schrieb:
> Hi Guido,
>
> A new version of the Grid has been posted thats compiled with 1.4.
>
> Regards,
> -Chris
>
> Guido Küpper wrote:
>> Chris,
>>
>> I'm also really interested in the nebula table grid. I _can't_ use
>> Java 5, but want to play around with it also. How are your plans to
>> update the sample code?
>>
>> By the way: Are you planning to write a JFace viewer for the grid? We
>> did some wrappers around JFace for our personal needs, and they are
>> all working with the StructuredViewer interface. By your sample code
>> for creating the grid it should be easily possible to do a GridViewer
>> based on the StructuredViewer interface, isn't it? (o.k., you may have
>> to adapt Content and LabelProvider also, and give the possibility to
>> use a _useful_ ColorProvider, but also that should be manageable).
>>
>> Thanks in advance
>>
>> Guido
>>
>>
>> Paul schrieb:
>>> No worries...I have upgraded to Eclipse 3.2 and 1.5 and all is
>>> working now
>>>
>>> Thanks
>>> Paul
>>>
>>> Chris Gross wrote:
>>>> Hi Paul,
>>>>
>>>> No this is my error. I unintentionally compiled the plugins with a
>>>> 1.5 target (I assume you're using an older jre). I will post a new
>>>> version of the plugins with the target lowered but I can't do that
>>>> right away. I've made significant changes to Grid since I posted the
>>>> original examples download and those changes are not complete. I
>>>> will upload a new version in a week or so. Until then you'll need a
>>>> 1.5 jre.
>>>>
>>>> Sorry,
>>>> -Chris
>>>>
>>>> Paul wrote:
>>>>
>>>>> Thanks for the reply Chris. I have extracted both jars into the
>>>>> plugins directory and restarted eclipse but still get the following
>>>>> error. I'm doing something wrong.
>>>>>
>>>>> java.lang.UnsupportedClassVersionError:
>>>>> org/eclipse/swt/nebula/examples/ExamplesView (Unsupported
>>>>> major.minor version 49.0)
>>>>> at java.lang.ClassLoader.defineClass0(Native Method)
>>>>> at java.lang.ClassLoader.defineClass(Unknown Source)
>>>>> at
>>>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.d efineClass(DefaultClassLoader.java:370)
>>>>>
>>>>> at
>>>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineCl ass(EclipseClassLoader.java:227)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClassImpl(DefaultClassLoader.java:343)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClass(DefaultClassLoader.java:235)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. findLocalClass(AbstractClassLoader.java:183)
>>>>>
>>>>> at
>>>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFin dLocalClass(EclipseClassLoader.java:141)
>>>>>
>>>>> at
>>>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:72)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:337)
>>>>>
>>>>>
>>>>>
>>>>> Chris Gross wrote:
>>>>>
>>>>>> Hi Paul,
>>>>>>
>>>>>> Both plugins (jars) in the examples download zip should be
>>>>>> extracted into the plugins directory. The nebula_grid.jar file is
>>>>>> not necessary for the examples plugin to work (the nebula code is
>>>>>> in the nebula plugin).
>>>>>>
>>>>>> -Chris
>>>>>>
>>>>>> Paul wrote:
>>>>>>
>>>>>>> Greetings All
>>>>>>>
>>>>>>> I'm running eclipse 3.1 and jdk1.5.0_07. I have extracted the
>>>>>>> nebula_examples.jar file into the eclipse/plugins directory.
>>>>>>> What should I do with the nebula_grid.jar file?
>>>>>>>
>>>>>>> When I try and open the nebula examples I get the following error
>>>>>>>
>>>>>>> Unable to create view: Plug-in org.eclipse.swt.nebula.examples
>>>>>>> was unable to load class
>>>>>>> org.eclipse.swt.nebula.examples.ExamplesView.
>>>>>>>
>>>>>>> I have also restarted eclipse a number of time.
>>>>>>>
>>>>>>> Thanks in advance
>>>>>>> Paul
Re: Nebula example error [message #6861 is a reply to message #6841] Wed, 19 July 2006 17:23 Go to previous message
Chris Gross is currently offline Chris GrossFriend
Messages: 253
Registered: July 2009
Senior Member
The Nebula example plugin is designed for Eclipse 3.2. The Nebula Grid
should work fine with Eclipse/SWT 3.1.

-Chris


Guido Küpper wrote:
> Hi Chris,
>
> thanks a lot for posting the Java 1.4 Version. Unfortunately, when I
> integrate it into my Eclipse 3.1 and trying to select the nebula sample
> view, the only thing I'm getting is two new entries in eclipse ErrorLog
> telling me about an unhandled event loop exception and the next one with
> the stack trace added at the bottom of this mail (hope that helps). What
> am I doing wrong? Should run under Eclipse 3.1, shouldn't it? I'm really
> hot about playing around with it, especially because of an outstanding
> local decision trying to use nebula grid in parts of our app (and also
> perhaps of developing a viewer for it).
>
> Thanks in advance
>
> Guido
>
> p.s.: The stack trace from the details dialog of the eclipse error log:
>
> java.lang.NoClassDefFoundError: org/eclipse/jface/layout/GridLayoutFactory
> at
> org.eclipse.swt.nebula.examples.parts.GridExampleTab.createP arameters(GridExampleTab.java:72)
>
> at
> org.eclipse.swt.nebula.examples.AbstractExampleTab.create(Ab stractExampleTab.java:175)
>
> at
> org.eclipse.swt.nebula.examples.ExamplesView.createPartContr ol(ExamplesView.java:60)
>
> at
> org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:305)
>
> at
> org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:180)
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:552)
>
> at org.eclipse.ui.internal.Perspective.showView(Perspective.jav a:1655)
> at
> org.eclipse.ui.internal.WorkbenchPage.busyShowView(Workbench Page.java:937)
> at
> org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPag e.java:920)
> at
> org.eclipse.ui.internal.WorkbenchPage$13.run(WorkbenchPage.j ava:3199)
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> at
> org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage .java:3196)
> at
> org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage .java:3174)
> at
> org.eclipse.ui.handlers.ShowViewHandler.openView(ShowViewHan dler.java:146)
> at
> org.eclipse.ui.handlers.ShowViewHandler.openOther(ShowViewHa ndler.java:102)
> at
> org.eclipse.ui.handlers.ShowViewHandler.execute(ShowViewHand ler.java:70)
> at org.eclipse.ui.internal.ShowViewMenu$3.run(ShowViewMenu.java :113)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
>
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
>
> at
> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
> at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:973)
> at org.eclipse.core.launcher.Main.main(Main.java:948)
>
>
> Chris Gross schrieb:
>> Hi Guido,
>>
>> A new version of the Grid has been posted thats compiled with 1.4.
>>
>> Regards,
>> -Chris
>>
>> Guido Küpper wrote:
>>> Chris,
>>>
>>> I'm also really interested in the nebula table grid. I _can't_ use
>>> Java 5, but want to play around with it also. How are your plans to
>>> update the sample code?
>>>
>>> By the way: Are you planning to write a JFace viewer for the grid? We
>>> did some wrappers around JFace for our personal needs, and they are
>>> all working with the StructuredViewer interface. By your sample code
>>> for creating the grid it should be easily possible to do a GridViewer
>>> based on the StructuredViewer interface, isn't it? (o.k., you may
>>> have to adapt Content and LabelProvider also, and give the
>>> possibility to use a _useful_ ColorProvider, but also that should be
>>> manageable).
>>>
>>> Thanks in advance
>>>
>>> Guido
>>>
>>>
>>> Paul schrieb:
>>>> No worries...I have upgraded to Eclipse 3.2 and 1.5 and all is
>>>> working now
>>>>
>>>> Thanks
>>>> Paul
>>>>
>>>> Chris Gross wrote:
>>>>> Hi Paul,
>>>>>
>>>>> No this is my error. I unintentionally compiled the plugins with a
>>>>> 1.5 target (I assume you're using an older jre). I will post a new
>>>>> version of the plugins with the target lowered but I can't do that
>>>>> right away. I've made significant changes to Grid since I posted
>>>>> the original examples download and those changes are not complete.
>>>>> I will upload a new version in a week or so. Until then you'll
>>>>> need a 1.5 jre.
>>>>>
>>>>> Sorry,
>>>>> -Chris
>>>>>
>>>>> Paul wrote:
>>>>>
>>>>>> Thanks for the reply Chris. I have extracted both jars into the
>>>>>> plugins directory and restarted eclipse but still get the
>>>>>> following error. I'm doing something wrong.
>>>>>>
>>>>>> java.lang.UnsupportedClassVersionError:
>>>>>> org/eclipse/swt/nebula/examples/ExamplesView (Unsupported
>>>>>> major.minor version 49.0)
>>>>>> at java.lang.ClassLoader.defineClass0(Native Method)
>>>>>> at java.lang.ClassLoader.defineClass(Unknown Source)
>>>>>> at
>>>>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.d efineClass(DefaultClassLoader.java:370)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineCl ass(EclipseClassLoader.java:227)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClassImpl(DefaultClassLoader.java:343)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClass(DefaultClassLoader.java:235)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. findLocalClass(AbstractClassLoader.java:183)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFin dLocalClass(EclipseClassLoader.java:141)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:72)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:337)
>>>>>>
>>>>>>
>>>>>>
>>>>>> Chris Gross wrote:
>>>>>>
>>>>>>> Hi Paul,
>>>>>>>
>>>>>>> Both plugins (jars) in the examples download zip should be
>>>>>>> extracted into the plugins directory. The nebula_grid.jar file
>>>>>>> is not necessary for the examples plugin to work (the nebula code
>>>>>>> is in the nebula plugin).
>>>>>>>
>>>>>>> -Chris
>>>>>>>
>>>>>>> Paul wrote:
>>>>>>>
>>>>>>>> Greetings All
>>>>>>>>
>>>>>>>> I'm running eclipse 3.1 and jdk1.5.0_07. I have extracted the
>>>>>>>> nebula_examples.jar file into the eclipse/plugins directory.
>>>>>>>> What should I do with the nebula_grid.jar file?
>>>>>>>>
>>>>>>>> When I try and open the nebula examples I get the following error
>>>>>>>>
>>>>>>>> Unable to create view: Plug-in org.eclipse.swt.nebula.examples
>>>>>>>> was unable to load class
>>>>>>>> org.eclipse.swt.nebula.examples.ExamplesView.
>>>>>>>>
>>>>>>>> I have also restarted eclipse a number of time.
>>>>>>>>
>>>>>>>> Thanks in advance
>>>>>>>> Paul
Re: Nebula example error [message #562761 is a reply to message #5850] Thu, 29 June 2006 17:44 Go to previous message
Chris Gross is currently offline Chris GrossFriend
Messages: 471
Registered: July 2009
Senior Member
Hi Paul,

Both plugins (jars) in the examples download zip should be extracted
into the plugins directory. The nebula_grid.jar file is not necessary
for the examples plugin to work (the nebula code is in the nebula plugin).

-Chris

Paul wrote:
> Greetings All
>
> I'm running eclipse 3.1 and jdk1.5.0_07. I have extracted the
> nebula_examples.jar file into the eclipse/plugins directory. What
> should I do with the nebula_grid.jar file?
>
> When I try and open the nebula examples I get the following error
>
> Unable to create view: Plug-in org.eclipse.swt.nebula.examples was
> unable to load class org.eclipse.swt.nebula.examples.ExamplesView.
>
> I have also restarted eclipse a number of time.
>
> Thanks in advance
> Paul
Re: Nebula example error [message #562786 is a reply to message #5868] Fri, 30 June 2006 08:55 Go to previous message
Paul is currently offline PaulFriend
Messages: 55
Registered: July 2009
Member
Thanks for the reply Chris. I have extracted both jars into the plugins
directory and restarted eclipse but still get the following error. I'm
doing something wrong.

java.lang.UnsupportedClassVersionError:
org/eclipse/swt/nebula/examples/ExamplesView (Unsupported major.minor
version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at
org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.d efineClass(DefaultClassLoader.java:370)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineCl ass(EclipseClassLoader.java:227)
at
org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClassImpl(DefaultClassLoader.java:343)
at
org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClass(DefaultClassLoader.java:235)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. findLocalClass(AbstractClassLoader.java:183)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFin dLocalClass(EclipseClassLoader.java:141)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:72)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:337)


Chris Gross wrote:
> Hi Paul,
>
> Both plugins (jars) in the examples download zip should be extracted
> into the plugins directory. The nebula_grid.jar file is not necessary
> for the examples plugin to work (the nebula code is in the nebula plugin).
>
> -Chris
>
> Paul wrote:
>
>> Greetings All
>>
>> I'm running eclipse 3.1 and jdk1.5.0_07. I have extracted the
>> nebula_examples.jar file into the eclipse/plugins directory. What
>> should I do with the nebula_grid.jar file?
>>
>> When I try and open the nebula examples I get the following error
>>
>> Unable to create view: Plug-in org.eclipse.swt.nebula.examples was
>> unable to load class org.eclipse.swt.nebula.examples.ExamplesView.
>>
>> I have also restarted eclipse a number of time.
>>
>> Thanks in advance
>> Paul
Re: Nebula example error [message #562813 is a reply to message #5886] Fri, 30 June 2006 16:17 Go to previous message
Chris Gross is currently offline Chris GrossFriend
Messages: 471
Registered: July 2009
Senior Member
Hi Paul,

No this is my error. I unintentionally compiled the plugins with a 1.5
target (I assume you're using an older jre). I will post a new version
of the plugins with the target lowered but I can't do that right away.
I've made significant changes to Grid since I posted the original
examples download and those changes are not complete. I will upload a
new version in a week or so. Until then you'll need a 1.5 jre.

Sorry,
-Chris

Paul wrote:
> Thanks for the reply Chris. I have extracted both jars into the plugins
> directory and restarted eclipse but still get the following error. I'm
> doing something wrong.
>
> java.lang.UnsupportedClassVersionError:
> org/eclipse/swt/nebula/examples/ExamplesView (Unsupported major.minor
> version 49.0)
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at
> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.d efineClass(DefaultClassLoader.java:370)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineCl ass(EclipseClassLoader.java:227)
>
> at
> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClassImpl(DefaultClassLoader.java:343)
>
> at
> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClass(DefaultClassLoader.java:235)
>
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. findLocalClass(AbstractClassLoader.java:183)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFin dLocalClass(EclipseClassLoader.java:141)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:72)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:337)
>
>
>
> Chris Gross wrote:
>> Hi Paul,
>>
>> Both plugins (jars) in the examples download zip should be extracted
>> into the plugins directory. The nebula_grid.jar file is not necessary
>> for the examples plugin to work (the nebula code is in the nebula
>> plugin).
>>
>> -Chris
>>
>> Paul wrote:
>>
>>> Greetings All
>>>
>>> I'm running eclipse 3.1 and jdk1.5.0_07. I have extracted the
>>> nebula_examples.jar file into the eclipse/plugins directory. What
>>> should I do with the nebula_grid.jar file?
>>>
>>> When I try and open the nebula examples I get the following error
>>>
>>> Unable to create view: Plug-in org.eclipse.swt.nebula.examples was
>>> unable to load class org.eclipse.swt.nebula.examples.ExamplesView.
>>>
>>> I have also restarted eclipse a number of time.
>>>
>>> Thanks in advance
>>> Paul
Re: Nebula example error [message #562839 is a reply to message #5903] Tue, 04 July 2006 08:37 Go to previous message
Paul is currently offline PaulFriend
Messages: 55
Registered: July 2009
Member
No worries...I have upgraded to Eclipse 3.2 and 1.5 and all is working now

Thanks
Paul

Chris Gross wrote:
> Hi Paul,
>
> No this is my error. I unintentionally compiled the plugins with a 1.5
> target (I assume you're using an older jre). I will post a new version
> of the plugins with the target lowered but I can't do that right away.
> I've made significant changes to Grid since I posted the original
> examples download and those changes are not complete. I will upload a
> new version in a week or so. Until then you'll need a 1.5 jre.
>
> Sorry,
> -Chris
>
> Paul wrote:
>
>> Thanks for the reply Chris. I have extracted both jars into the
>> plugins directory and restarted eclipse but still get the following
>> error. I'm doing something wrong.
>>
>> java.lang.UnsupportedClassVersionError:
>> org/eclipse/swt/nebula/examples/ExamplesView (Unsupported major.minor
>> version 49.0)
>> at java.lang.ClassLoader.defineClass0(Native Method)
>> at java.lang.ClassLoader.defineClass(Unknown Source)
>> at
>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.d efineClass(DefaultClassLoader.java:370)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineCl ass(EclipseClassLoader.java:227)
>>
>> at
>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClassImpl(DefaultClassLoader.java:343)
>>
>> at
>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClass(DefaultClassLoader.java:235)
>>
>> at
>> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. findLocalClass(AbstractClassLoader.java:183)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFin dLocalClass(EclipseClassLoader.java:141)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:72)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:337)
>>
>>
>>
>> Chris Gross wrote:
>>
>>> Hi Paul,
>>>
>>> Both plugins (jars) in the examples download zip should be extracted
>>> into the plugins directory. The nebula_grid.jar file is not
>>> necessary for the examples plugin to work (the nebula code is in the
>>> nebula plugin).
>>>
>>> -Chris
>>>
>>> Paul wrote:
>>>
>>>> Greetings All
>>>>
>>>> I'm running eclipse 3.1 and jdk1.5.0_07. I have extracted the
>>>> nebula_examples.jar file into the eclipse/plugins directory. What
>>>> should I do with the nebula_grid.jar file?
>>>>
>>>> When I try and open the nebula examples I get the following error
>>>>
>>>> Unable to create view: Plug-in org.eclipse.swt.nebula.examples was
>>>> unable to load class org.eclipse.swt.nebula.examples.ExamplesView.
>>>>
>>>> I have also restarted eclipse a number of time.
>>>>
>>>> Thanks in advance
>>>> Paul
Re: Nebula example error [message #562890 is a reply to message #5920] Thu, 06 July 2006 10:45 Go to previous message
Guido Kuepper is currently offline Guido KuepperFriend
Messages: 17
Registered: July 2009
Junior Member
Chris,

I'm also really interested in the nebula table grid. I _can't_ use Java
5, but want to play around with it also. How are your plans to update
the sample code?

By the way: Are you planning to write a JFace viewer for the grid? We
did some wrappers around JFace for our personal needs, and they are all
working with the StructuredViewer interface. By your sample code for
creating the grid it should be easily possible to do a GridViewer based
on the StructuredViewer interface, isn't it? (o.k., you may have to
adapt Content and LabelProvider also, and give the possibility to use a
_useful_ ColorProvider, but also that should be manageable).

Thanks in advance

Guido


Paul schrieb:
> No worries...I have upgraded to Eclipse 3.2 and 1.5 and all is working now
>
> Thanks
> Paul
>
> Chris Gross wrote:
>> Hi Paul,
>>
>> No this is my error. I unintentionally compiled the plugins with a
>> 1.5 target (I assume you're using an older jre). I will post a new
>> version of the plugins with the target lowered but I can't do that
>> right away. I've made significant changes to Grid since I posted the
>> original examples download and those changes are not complete. I will
>> upload a new version in a week or so. Until then you'll need a 1.5 jre.
>>
>> Sorry,
>> -Chris
>>
>> Paul wrote:
>>
>>> Thanks for the reply Chris. I have extracted both jars into the
>>> plugins directory and restarted eclipse but still get the following
>>> error. I'm doing something wrong.
>>>
>>> java.lang.UnsupportedClassVersionError:
>>> org/eclipse/swt/nebula/examples/ExamplesView (Unsupported major.minor
>>> version 49.0)
>>> at java.lang.ClassLoader.defineClass0(Native Method)
>>> at java.lang.ClassLoader.defineClass(Unknown Source)
>>> at
>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.d efineClass(DefaultClassLoader.java:370)
>>>
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineCl ass(EclipseClassLoader.java:227)
>>>
>>> at
>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClassImpl(DefaultClassLoader.java:343)
>>>
>>> at
>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClass(DefaultClassLoader.java:235)
>>>
>>> at
>>> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. findLocalClass(AbstractClassLoader.java:183)
>>>
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFin dLocalClass(EclipseClassLoader.java:141)
>>>
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:72)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:337)
>>>
>>>
>>>
>>> Chris Gross wrote:
>>>
>>>> Hi Paul,
>>>>
>>>> Both plugins (jars) in the examples download zip should be extracted
>>>> into the plugins directory. The nebula_grid.jar file is not
>>>> necessary for the examples plugin to work (the nebula code is in the
>>>> nebula plugin).
>>>>
>>>> -Chris
>>>>
>>>> Paul wrote:
>>>>
>>>>> Greetings All
>>>>>
>>>>> I'm running eclipse 3.1 and jdk1.5.0_07. I have extracted the
>>>>> nebula_examples.jar file into the eclipse/plugins directory. What
>>>>> should I do with the nebula_grid.jar file?
>>>>>
>>>>> When I try and open the nebula examples I get the following error
>>>>>
>>>>> Unable to create view: Plug-in org.eclipse.swt.nebula.examples was
>>>>> unable to load class org.eclipse.swt.nebula.examples.ExamplesView.
>>>>>
>>>>> I have also restarted eclipse a number of time.
>>>>>
>>>>> Thanks in advance
>>>>> Paul
Re: Nebula example error [message #562912 is a reply to message #5956] Thu, 06 July 2006 11:54 Go to previous message
Guido Kuepper is currently offline Guido KuepperFriend
Messages: 17
Registered: July 2009
Junior Member
Sorry about the 'by the way' section, just didn't see the Message of
Hans Mueller-Dieckert.

Guido

> Chris,
>
> I'm also really interested in the nebula table grid. I _can't_ use Java
> 5, but want to play around with it also. How are your plans to update
> the sample code?
>
> By the way: Are you planning to write a JFace viewer for the grid? We
> did some wrappers around JFace for our personal needs, and they are all
> working with the StructuredViewer interface. By your sample code for
> creating the grid it should be easily possible to do a GridViewer based
> on the StructuredViewer interface, isn't it? (o.k., you may have to
> adapt Content and LabelProvider also, and give the possibility to use a
> _useful_ ColorProvider, but also that should be manageable).
>
> Thanks in advance
>
> Guido
>
>
> Paul schrieb:
>> No worries...I have upgraded to Eclipse 3.2 and 1.5 and all is working
>> now
>>
>> Thanks
>> Paul
>>
>> Chris Gross wrote:
>>> Hi Paul,
>>>
>>> No this is my error. I unintentionally compiled the plugins with a
>>> 1.5 target (I assume you're using an older jre). I will post a new
>>> version of the plugins with the target lowered but I can't do that
>>> right away. I've made significant changes to Grid since I posted the
>>> original examples download and those changes are not complete. I
>>> will upload a new version in a week or so. Until then you'll need a
>>> 1.5 jre.
>>>
>>> Sorry,
>>> -Chris
>>>
>>> Paul wrote:
>>>
>>>> Thanks for the reply Chris. I have extracted both jars into the
>>>> plugins directory and restarted eclipse but still get the following
>>>> error. I'm doing something wrong.
>>>>
>>>> java.lang.UnsupportedClassVersionError:
>>>> org/eclipse/swt/nebula/examples/ExamplesView (Unsupported
>>>> major.minor version 49.0)
>>>> at java.lang.ClassLoader.defineClass0(Native Method)
>>>> at java.lang.ClassLoader.defineClass(Unknown Source)
>>>> at
>>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.d efineClass(DefaultClassLoader.java:370)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineCl ass(EclipseClassLoader.java:227)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClassImpl(DefaultClassLoader.java:343)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClass(DefaultClassLoader.java:235)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. findLocalClass(AbstractClassLoader.java:183)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFin dLocalClass(EclipseClassLoader.java:141)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:72)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:337)
>>>>
>>>>
>>>>
>>>> Chris Gross wrote:
>>>>
>>>>> Hi Paul,
>>>>>
>>>>> Both plugins (jars) in the examples download zip should be
>>>>> extracted into the plugins directory. The nebula_grid.jar file is
>>>>> not necessary for the examples plugin to work (the nebula code is
>>>>> in the nebula plugin).
>>>>>
>>>>> -Chris
>>>>>
>>>>> Paul wrote:
>>>>>
>>>>>> Greetings All
>>>>>>
>>>>>> I'm running eclipse 3.1 and jdk1.5.0_07. I have extracted the
>>>>>> nebula_examples.jar file into the eclipse/plugins directory. What
>>>>>> should I do with the nebula_grid.jar file?
>>>>>>
>>>>>> When I try and open the nebula examples I get the following error
>>>>>>
>>>>>> Unable to create view: Plug-in org.eclipse.swt.nebula.examples was
>>>>>> unable to load class org.eclipse.swt.nebula.examples.ExamplesView.
>>>>>>
>>>>>> I have also restarted eclipse a number of time.
>>>>>>
>>>>>> Thanks in advance
>>>>>> Paul
Re: Nebula example error [message #562930 is a reply to message #5956] Fri, 14 July 2006 20:27 Go to previous message
Chris Gross is currently offline Chris GrossFriend
Messages: 471
Registered: July 2009
Senior Member
Hi Guido,

A new version of the Grid has been posted thats compiled with 1.4.

Regards,
-Chris

Guido Küpper wrote:
> Chris,
>
> I'm also really interested in the nebula table grid. I _can't_ use Java
> 5, but want to play around with it also. How are your plans to update
> the sample code?
>
> By the way: Are you planning to write a JFace viewer for the grid? We
> did some wrappers around JFace for our personal needs, and they are all
> working with the StructuredViewer interface. By your sample code for
> creating the grid it should be easily possible to do a GridViewer based
> on the StructuredViewer interface, isn't it? (o.k., you may have to
> adapt Content and LabelProvider also, and give the possibility to use a
> _useful_ ColorProvider, but also that should be manageable).
>
> Thanks in advance
>
> Guido
>
>
> Paul schrieb:
>> No worries...I have upgraded to Eclipse 3.2 and 1.5 and all is working
>> now
>>
>> Thanks
>> Paul
>>
>> Chris Gross wrote:
>>> Hi Paul,
>>>
>>> No this is my error. I unintentionally compiled the plugins with a
>>> 1.5 target (I assume you're using an older jre). I will post a new
>>> version of the plugins with the target lowered but I can't do that
>>> right away. I've made significant changes to Grid since I posted the
>>> original examples download and those changes are not complete. I
>>> will upload a new version in a week or so. Until then you'll need a
>>> 1.5 jre.
>>>
>>> Sorry,
>>> -Chris
>>>
>>> Paul wrote:
>>>
>>>> Thanks for the reply Chris. I have extracted both jars into the
>>>> plugins directory and restarted eclipse but still get the following
>>>> error. I'm doing something wrong.
>>>>
>>>> java.lang.UnsupportedClassVersionError:
>>>> org/eclipse/swt/nebula/examples/ExamplesView (Unsupported
>>>> major.minor version 49.0)
>>>> at java.lang.ClassLoader.defineClass0(Native Method)
>>>> at java.lang.ClassLoader.defineClass(Unknown Source)
>>>> at
>>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.d efineClass(DefaultClassLoader.java:370)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineCl ass(EclipseClassLoader.java:227)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClassImpl(DefaultClassLoader.java:343)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClass(DefaultClassLoader.java:235)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. findLocalClass(AbstractClassLoader.java:183)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFin dLocalClass(EclipseClassLoader.java:141)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:72)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:337)
>>>>
>>>>
>>>>
>>>> Chris Gross wrote:
>>>>
>>>>> Hi Paul,
>>>>>
>>>>> Both plugins (jars) in the examples download zip should be
>>>>> extracted into the plugins directory. The nebula_grid.jar file is
>>>>> not necessary for the examples plugin to work (the nebula code is
>>>>> in the nebula plugin).
>>>>>
>>>>> -Chris
>>>>>
>>>>> Paul wrote:
>>>>>
>>>>>> Greetings All
>>>>>>
>>>>>> I'm running eclipse 3.1 and jdk1.5.0_07. I have extracted the
>>>>>> nebula_examples.jar file into the eclipse/plugins directory. What
>>>>>> should I do with the nebula_grid.jar file?
>>>>>>
>>>>>> When I try and open the nebula examples I get the following error
>>>>>>
>>>>>> Unable to create view: Plug-in org.eclipse.swt.nebula.examples was
>>>>>> unable to load class org.eclipse.swt.nebula.examples.ExamplesView.
>>>>>>
>>>>>> I have also restarted eclipse a number of time.
>>>>>>
>>>>>> Thanks in advance
>>>>>> Paul
Re: Nebula example error [message #562983 is a reply to message #5992] Wed, 19 July 2006 08:43 Go to previous message
Guido Kuepper is currently offline Guido KuepperFriend
Messages: 17
Registered: July 2009
Junior Member
Hi Chris,

thanks a lot for posting the Java 1.4 Version. Unfortunately, when I
integrate it into my Eclipse 3.1 and trying to select the nebula sample
view, the only thing I'm getting is two new entries in eclipse ErrorLog
telling me about an unhandled event loop exception and the next one with
the stack trace added at the bottom of this mail (hope that helps). What
am I doing wrong? Should run under Eclipse 3.1, shouldn't it? I'm really
hot about playing around with it, especially because of an outstanding
local decision trying to use nebula grid in parts of our app (and also
perhaps of developing a viewer for it).

Thanks in advance

Guido

p.s.: The stack trace from the details dialog of the eclipse error log:

java.lang.NoClassDefFoundError: org/eclipse/jface/layout/GridLayoutFactory
at
org.eclipse.swt.nebula.examples.parts.GridExampleTab.createP arameters(GridExampleTab.java:72)
at
org.eclipse.swt.nebula.examples.AbstractExampleTab.create(Ab stractExampleTab.java:175)
at
org.eclipse.swt.nebula.examples.ExamplesView.createPartContr ol(ExamplesView.java:60)
at
org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:305)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:180)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:552)
at org.eclipse.ui.internal.Perspective.showView(Perspective.jav a:1655)
at
org.eclipse.ui.internal.WorkbenchPage.busyShowView(Workbench Page.java:937)
at org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPag e.java:920)
at org.eclipse.ui.internal.WorkbenchPage$13.run(WorkbenchPage.j ava:3199)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage .java:3196)
at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage .java:3174)
at
org.eclipse.ui.handlers.ShowViewHandler.openView(ShowViewHan dler.java:146)
at
org.eclipse.ui.handlers.ShowViewHandler.openOther(ShowViewHa ndler.java:102)
at org.eclipse.ui.handlers.ShowViewHandler.execute(ShowViewHand ler.java:70)
at org.eclipse.ui.internal.ShowViewMenu$3.run(ShowViewMenu.java :113)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)


Chris Gross schrieb:
> Hi Guido,
>
> A new version of the Grid has been posted thats compiled with 1.4.
>
> Regards,
> -Chris
>
> Guido Küpper wrote:
>> Chris,
>>
>> I'm also really interested in the nebula table grid. I _can't_ use
>> Java 5, but want to play around with it also. How are your plans to
>> update the sample code?
>>
>> By the way: Are you planning to write a JFace viewer for the grid? We
>> did some wrappers around JFace for our personal needs, and they are
>> all working with the StructuredViewer interface. By your sample code
>> for creating the grid it should be easily possible to do a GridViewer
>> based on the StructuredViewer interface, isn't it? (o.k., you may have
>> to adapt Content and LabelProvider also, and give the possibility to
>> use a _useful_ ColorProvider, but also that should be manageable).
>>
>> Thanks in advance
>>
>> Guido
>>
>>
>> Paul schrieb:
>>> No worries...I have upgraded to Eclipse 3.2 and 1.5 and all is
>>> working now
>>>
>>> Thanks
>>> Paul
>>>
>>> Chris Gross wrote:
>>>> Hi Paul,
>>>>
>>>> No this is my error. I unintentionally compiled the plugins with a
>>>> 1.5 target (I assume you're using an older jre). I will post a new
>>>> version of the plugins with the target lowered but I can't do that
>>>> right away. I've made significant changes to Grid since I posted the
>>>> original examples download and those changes are not complete. I
>>>> will upload a new version in a week or so. Until then you'll need a
>>>> 1.5 jre.
>>>>
>>>> Sorry,
>>>> -Chris
>>>>
>>>> Paul wrote:
>>>>
>>>>> Thanks for the reply Chris. I have extracted both jars into the
>>>>> plugins directory and restarted eclipse but still get the following
>>>>> error. I'm doing something wrong.
>>>>>
>>>>> java.lang.UnsupportedClassVersionError:
>>>>> org/eclipse/swt/nebula/examples/ExamplesView (Unsupported
>>>>> major.minor version 49.0)
>>>>> at java.lang.ClassLoader.defineClass0(Native Method)
>>>>> at java.lang.ClassLoader.defineClass(Unknown Source)
>>>>> at
>>>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.d efineClass(DefaultClassLoader.java:370)
>>>>>
>>>>> at
>>>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineCl ass(EclipseClassLoader.java:227)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClassImpl(DefaultClassLoader.java:343)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClass(DefaultClassLoader.java:235)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. findLocalClass(AbstractClassLoader.java:183)
>>>>>
>>>>> at
>>>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFin dLocalClass(EclipseClassLoader.java:141)
>>>>>
>>>>> at
>>>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:72)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:337)
>>>>>
>>>>>
>>>>>
>>>>> Chris Gross wrote:
>>>>>
>>>>>> Hi Paul,
>>>>>>
>>>>>> Both plugins (jars) in the examples download zip should be
>>>>>> extracted into the plugins directory. The nebula_grid.jar file is
>>>>>> not necessary for the examples plugin to work (the nebula code is
>>>>>> in the nebula plugin).
>>>>>>
>>>>>> -Chris
>>>>>>
>>>>>> Paul wrote:
>>>>>>
>>>>>>> Greetings All
>>>>>>>
>>>>>>> I'm running eclipse 3.1 and jdk1.5.0_07. I have extracted the
>>>>>>> nebula_examples.jar file into the eclipse/plugins directory.
>>>>>>> What should I do with the nebula_grid.jar file?
>>>>>>>
>>>>>>> When I try and open the nebula examples I get the following error
>>>>>>>
>>>>>>> Unable to create view: Plug-in org.eclipse.swt.nebula.examples
>>>>>>> was unable to load class
>>>>>>> org.eclipse.swt.nebula.examples.ExamplesView.
>>>>>>>
>>>>>>> I have also restarted eclipse a number of time.
>>>>>>>
>>>>>>> Thanks in advance
>>>>>>> Paul
Re: Nebula example error [message #563010 is a reply to message #6841] Wed, 19 July 2006 17:23 Go to previous message
Chris Gross is currently offline Chris GrossFriend
Messages: 471
Registered: July 2009
Senior Member
The Nebula example plugin is designed for Eclipse 3.2. The Nebula Grid
should work fine with Eclipse/SWT 3.1.

-Chris


Guido Küpper wrote:
> Hi Chris,
>
> thanks a lot for posting the Java 1.4 Version. Unfortunately, when I
> integrate it into my Eclipse 3.1 and trying to select the nebula sample
> view, the only thing I'm getting is two new entries in eclipse ErrorLog
> telling me about an unhandled event loop exception and the next one with
> the stack trace added at the bottom of this mail (hope that helps). What
> am I doing wrong? Should run under Eclipse 3.1, shouldn't it? I'm really
> hot about playing around with it, especially because of an outstanding
> local decision trying to use nebula grid in parts of our app (and also
> perhaps of developing a viewer for it).
>
> Thanks in advance
>
> Guido
>
> p.s.: The stack trace from the details dialog of the eclipse error log:
>
> java.lang.NoClassDefFoundError: org/eclipse/jface/layout/GridLayoutFactory
> at
> org.eclipse.swt.nebula.examples.parts.GridExampleTab.createP arameters(GridExampleTab.java:72)
>
> at
> org.eclipse.swt.nebula.examples.AbstractExampleTab.create(Ab stractExampleTab.java:175)
>
> at
> org.eclipse.swt.nebula.examples.ExamplesView.createPartContr ol(ExamplesView.java:60)
>
> at
> org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:305)
>
> at
> org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:180)
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:552)
>
> at org.eclipse.ui.internal.Perspective.showView(Perspective.jav a:1655)
> at
> org.eclipse.ui.internal.WorkbenchPage.busyShowView(Workbench Page.java:937)
> at
> org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPag e.java:920)
> at
> org.eclipse.ui.internal.WorkbenchPage$13.run(WorkbenchPage.j ava:3199)
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> at
> org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage .java:3196)
> at
> org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage .java:3174)
> at
> org.eclipse.ui.handlers.ShowViewHandler.openView(ShowViewHan dler.java:146)
> at
> org.eclipse.ui.handlers.ShowViewHandler.openOther(ShowViewHa ndler.java:102)
> at
> org.eclipse.ui.handlers.ShowViewHandler.execute(ShowViewHand ler.java:70)
> at org.eclipse.ui.internal.ShowViewMenu$3.run(ShowViewMenu.java :113)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
>
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
>
> at
> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
> at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:973)
> at org.eclipse.core.launcher.Main.main(Main.java:948)
>
>
> Chris Gross schrieb:
>> Hi Guido,
>>
>> A new version of the Grid has been posted thats compiled with 1.4.
>>
>> Regards,
>> -Chris
>>
>> Guido Küpper wrote:
>>> Chris,
>>>
>>> I'm also really interested in the nebula table grid. I _can't_ use
>>> Java 5, but want to play around with it also. How are your plans to
>>> update the sample code?
>>>
>>> By the way: Are you planning to write a JFace viewer for the grid? We
>>> did some wrappers around JFace for our personal needs, and they are
>>> all working with the StructuredViewer interface. By your sample code
>>> for creating the grid it should be easily possible to do a GridViewer
>>> based on the StructuredViewer interface, isn't it? (o.k., you may
>>> have to adapt Content and LabelProvider also, and give the
>>> possibility to use a _useful_ ColorProvider, but also that should be
>>> manageable).
>>>
>>> Thanks in advance
>>>
>>> Guido
>>>
>>>
>>> Paul schrieb:
>>>> No worries...I have upgraded to Eclipse 3.2 and 1.5 and all is
>>>> working now
>>>>
>>>> Thanks
>>>> Paul
>>>>
>>>> Chris Gross wrote:
>>>>> Hi Paul,
>>>>>
>>>>> No this is my error. I unintentionally compiled the plugins with a
>>>>> 1.5 target (I assume you're using an older jre). I will post a new
>>>>> version of the plugins with the target lowered but I can't do that
>>>>> right away. I've made significant changes to Grid since I posted
>>>>> the original examples download and those changes are not complete.
>>>>> I will upload a new version in a week or so. Until then you'll
>>>>> need a 1.5 jre.
>>>>>
>>>>> Sorry,
>>>>> -Chris
>>>>>
>>>>> Paul wrote:
>>>>>
>>>>>> Thanks for the reply Chris. I have extracted both jars into the
>>>>>> plugins directory and restarted eclipse but still get the
>>>>>> following error. I'm doing something wrong.
>>>>>>
>>>>>> java.lang.UnsupportedClassVersionError:
>>>>>> org/eclipse/swt/nebula/examples/ExamplesView (Unsupported
>>>>>> major.minor version 49.0)
>>>>>> at java.lang.ClassLoader.defineClass0(Native Method)
>>>>>> at java.lang.ClassLoader.defineClass(Unknown Source)
>>>>>> at
>>>>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.d efineClass(DefaultClassLoader.java:370)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineCl ass(EclipseClassLoader.java:227)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClassImpl(DefaultClassLoader.java:343)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClass(DefaultClassLoader.java:235)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. findLocalClass(AbstractClassLoader.java:183)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFin dLocalClass(EclipseClassLoader.java:141)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:72)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:337)
>>>>>>
>>>>>>
>>>>>>
>>>>>> Chris Gross wrote:
>>>>>>
>>>>>>> Hi Paul,
>>>>>>>
>>>>>>> Both plugins (jars) in the examples download zip should be
>>>>>>> extracted into the plugins directory. The nebula_grid.jar file
>>>>>>> is not necessary for the examples plugin to work (the nebula code
>>>>>>> is in the nebula plugin).
>>>>>>>
>>>>>>> -Chris
>>>>>>>
>>>>>>> Paul wrote:
>>>>>>>
>>>>>>>> Greetings All
>>>>>>>>
>>>>>>>> I'm running eclipse 3.1 and jdk1.5.0_07. I have extracted the
>>>>>>>> nebula_examples.jar file into the eclipse/plugins directory.
>>>>>>>> What should I do with the nebula_grid.jar file?
>>>>>>>>
>>>>>>>> When I try and open the nebula examples I get the following error
>>>>>>>>
>>>>>>>> Unable to create view: Plug-in org.eclipse.swt.nebula.examples
>>>>>>>> was unable to load class
>>>>>>>> org.eclipse.swt.nebula.examples.ExamplesView.
>>>>>>>>
>>>>>>>> I have also restarted eclipse a number of time.
>>>>>>>>
>>>>>>>> Thanks in advance
>>>>>>>> Paul
Previous Topic:New Grid update posted
Next Topic:Several problems and questions
Goto Forum:
  


Current Time: Fri Apr 26 11:58:21 GMT 2024

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

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

Back to the top