Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] Nullpointerexception when launching a clean e4application project

If they follow the OSGi-Spec but IIRC Spring DM uses another format for
injection Kai knows more about it.

The possibility to use another implementation of the OSGi-Spec is
exactly the reason why we don't add a dependency on Equinox-DS.

Tom

Am 02.07.10 14:15, schrieb Angelo zerr:
> Hi Tom,
> 
> Just (a newbie) question. Why DS is required for E4 Application? Is it
> possible to use some another declarative OSGi service framework like
> Spring DM?
> Thank's for your answer.
> 
> Regards Angelo
> 
> 2010/7/2  <yves.yang@xxxxxxxxxxx>:
>> Good advice!
>>
>> yves
>>>> a) How do I check that equinox.ds is running?
>>>
>>> 1) Open your run configuration
>>> 2) type ds in the filter field
>>> 3) check org.eclipse.equinox.ds
>>> 4) Clear the filter
>>> 5) Click "Add required plugins"
>>> 6) Run :)
>>>
>>> Kai
>>>
>>>
>>> -----Original Message-----
>>> From: e4-dev-bounces@xxxxxxxxxxx [mailto:e4-dev-bounces@xxxxxxxxxxx] On
>>> Behalf Of Christian Sørensen
>>> Sent: Friday, July 02, 2010 2:06 PM
>>> To: E4 Project developer mailing list
>>> Subject: RE: [e4-dev] Nullpointerexception when launching a clean
>>> e4application project
>>>
>>> Hi,
>>>
>>> Thank you for the quick answer.
>>>
>>> a) How do I check that equinox.ds is running?
>>> b) The org.eclipse.e4.core.commands is added as a dependency in the
>>> .product file. Is that what you meant?
>>>
>>> I am sorry if I am asking the obvious.
>>>
>>> /Christian
>>>
>>>
>>> -----Original Message-----
>>> From: e4-dev-bounces@xxxxxxxxxxx [mailto:e4-dev-bounces@xxxxxxxxxxx] On
>>> Behalf Of Tom Schindl
>>> Sent: 2. juli 2010 13:59
>>> To: E4 Project developer mailing list
>>> Subject: Re: [e4-dev] Nullpointerexception when launching a clean
>>> e4application project
>>>
>>> Hi,
>>>
>>> Can you check that:
>>>
>>> a) equinox.ds is running
>>> b) the org.eclipse.e4.core.commands bundle is your launch config
>>>
>>> You are most likely missing a)
>>>
>>> Tom
>>>
>>> Am 02.07.10 13:52, schrieb Christian Sørensen:
>>>> Hi developers of e4
>>>>
>>>>
>>>>
>>>> Thanks for all the hard work you are putting into the e4. It is really
>>>> looking promising. I ran into a problem when trying it out though.
>>>>
>>>> I am using the eclipse-e4-SDK-incubation-I20100701-1000-win32 build. I
>>>> created a new project using the "e4 application project" wizard. I did
>>>> not change anything but the name of the project. Now when I click
>>>> "launch an Eclipse Application" in the .product file I get the following
>>>> error:
>>>>
>>>>
>>>>
>>>> !ENTRY org.eclipse.osgi 4 0 2010-07-02 13:34:51.014
>>>>
>>>> !MESSAGE Application error
>>>>
>>>> !STACK 1
>>>>
>>>> _java.lang.NullPointerException_
>>>>
>>>>            at
>>>> org.eclipse.e4.ui.internal.workbench.E4CommandProcessor.processCommands(_E4CommandProcessor.java:52_)
>>>>
>>>>            at
>>>> org.eclipse.e4.ui.internal.workbench.E4Workbench.init(_E4Workbench.java:110_)
>>>>
>>>>            at
>>>> org.eclipse.e4.ui.internal.workbench.E4Workbench.<init>(_E4Workbench.java:73_)
>>>>
>>>>            at
>>>> org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(_E4Application.java:242_)
>>>>
>>>>            at
>>>> org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(_E4Application.java:109_)
>>>>
>>>>            at
>>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(_EclipseAppHandle.java:196_)
>>>>
>>>>            at
>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(_EclipseAppLauncher.java:110_)
>>>>
>>>>            at
>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(_EclipseAppLauncher.java:79_)
>>>>
>>>>            at
>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(_EclipseStarter.java:369_)
>>>>
>>>>            at
>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(_EclipseStarter.java:179_)
>>>>
>>>>            at sun.reflect.NativeMethodAccessorImpl.invoke0(_Native
>>>> Method_)
>>>>
>>>>            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
>>>> Source)
>>>>
>>>>            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
>>>> Source)
>>>>
>>>>            at java.lang.reflect.Method.invoke(Unknown Source)
>>>>
>>>>            at
>>>> org.eclipse.equinox.launcher.Main.invokeFramework(_Main.java:619_)
>>>>
>>>>            at
>>>> org.eclipse.equinox.launcher.Main.basicRun(_Main.java:574_)
>>>>
>>>>            at org.eclipse.equinox.launcher.Main.run(_Main.java:1407_)
>>>>
>>>>            at org.eclipse.equinox.launcher.Main.main(_Main.java:1383_)
>>>>
>>>>
>>>>
>>>> I hope someone can point me in some direction or just help me out
>>>> somehow.
>>>>
>>>>
>>>>
>>>> /Christian
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> e4-dev mailing list
>>>> e4-dev@xxxxxxxxxxx
>>>> https://dev.eclipse.org/mailman/listinfo/e4-dev
>>>
>>>
>>> --
>>> B e s t S o l u t i o n . a t                        EDV Systemhaus GmbH
>>> ------------------------------------------------------------------------
>>> tom schindl                                        geschaeftsfuehrer/CEO
>>> ------------------------------------------------------------------------
>>> eduard-bodem-gasse 5/1    A-6020 innsbruck      phone    ++43 512 935834
>>> _______________________________________________
>>> e4-dev mailing list
>>> e4-dev@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/e4-dev
>>> _______________________________________________
>>> e4-dev mailing list
>>> e4-dev@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/e4-dev
>>> _______________________________________________
>>> e4-dev mailing list
>>> e4-dev@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/e4-dev
>>>
>>
>>
>> _______________________________________________
>> e4-dev mailing list
>> e4-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/e4-dev
>>
> _______________________________________________
> e4-dev mailing list
> e4-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/e4-dev


-- 
B e s t S o l u t i o n . a t                        EDV Systemhaus GmbH
------------------------------------------------------------------------
tom schindl                                        geschaeftsfuehrer/CEO
------------------------------------------------------------------------
eduard-bodem-gasse 5/1    A-6020 innsbruck      phone    ++43 512 935834


Back to the top