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 cleane4applicationproject

You are missing equinox.events.

Tom

Am 02.07.10 15:04, schrieb Christian Sørensen:
> I added the plugins: 
> 
> Org.eclipse.e4.ui.workbench.renderers.swt
> Org.eclipse.e4.tools.emf.liveeditor
> 
> As "required plugins" and now I get a window, when I launch using the run configuration. I still get some messages:
> 
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2010-07-02 14:52:16.996
> !MESSAGE Event Admin service is not available, unable to publish event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/ui/Context/context/SET].
> 
> Thank you for helping me out. It got me to a point where I can start being productive again. It is very much appreciated.
> 
> /Christian 
> 
> 
> -----Original Message-----
> From: e4-dev-bounces@xxxxxxxxxxx [mailto:e4-dev-bounces@xxxxxxxxxxx] On Behalf Of Christian Sørensen
> Sent: 2. juli 2010 14:18
> To: E4 Project developer mailing list
> Subject: RE: [e4-dev] Nullpointerexception when launching a cleane4applicationproject
> 
> The ds was unchecked and I did as you said. So now there is another error message. When I click run now this is what I get:
> 
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2010-07-02 14:09:40.587
> !MESSAGE Failed to create the presentation engine for URI: platform:/plugin/org.eclipse.e4.ui.workbench.swt/org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine
> 
> /Christian 
> 
> 
> -----Original Message-----
> From: e4-dev-bounces@xxxxxxxxxxx [mailto:e4-dev-bounces@xxxxxxxxxxx] On Behalf Of Toedter, Kai
> Sent: 2. juli 2010 14:11
> To: E4 Project developer mailing list
> Subject: RE: [e4-dev] Nullpointerexception when launching a cleane4application project
> 
>> 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


Back to the top