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

Tom wrote:
>Isn't this contradicting the whole DS-System

Why do you find contradicting? If you use DS you need an implementation. And besides, many e4 bundles (like org.eclipse.ui.workbench) have hard dependencies to Equinox bundles...

Kai

-----Original Message-----
From: e4-dev-bounces@xxxxxxxxxxx [mailto:e4-dev-bounces@xxxxxxxxxxx] On Behalf Of Tom Schindl
Sent: Friday, July 02, 2010 2:34 PM
To: E4 Project developer mailing list
Subject: Re: [e4-dev] Nullpointerexception when launching a clean e4application project

Hi,

Isn't this contradicting the whole DS-System beside that I'm not really
a friend of optional bundle dependencies.

I thought we are writing out a warning message if we findout DS is not
running.

Tom

Am 02.07.10 14:24, schrieb Toedter, Kai:
> Tom wrote:
>> The possibility to use another implementation of the OSGi-Spec is
>> exactly the reason why we don't add a dependency on Equinox-DS.
> 
> But in my point of view, all e4 bundles that contain an OSGI-INF with DS XMLs in it should at least declare an optional dependency to Equinox-DS. Because what just happened (NPE) will happen to thousands of other Eclipse 4.0 RCP users otherwise...
> 
> Kai
> 
> -----Original Message-----
> From: e4-dev-bounces@xxxxxxxxxxx [mailto:e4-dev-bounces@xxxxxxxxxxx] On Behalf Of Tom Schindl
> Sent: Friday, July 02, 2010 2:19 PM
> To: E4 Project developer mailing list
> Subject: 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
_______________________________________________
e4-dev mailing list
e4-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/e4-dev


Back to the top