|ECommandService in Workbench.init() is null [message #565501]
||Tue, 08 December 2009 05:24
| Jens Keller
Registered: December 2009
Location: Leipzig, Germany
i made an application oriented on the contacts demo. Just a window with a part containing a TableViewer and an exit command. But when i try to start the application i get a NullPointerException at line 313 in the Workbench.init(). This means that the ECommandService is null when trying to define a category:
ECommandService cs = (ECommandService) workbenchContext.get(ECommandService.class.getName());
Category cat = cs.defineCategory(MApplication.class.getName(), "Application Category", null);
I also tried the e4 tuorial from Lars Vogel and get the same error but the contacts demo works great. Maybe somebody can help me on that. Thanks in advance.
I'm using Eclipse 3.6M3 with e4M2 as target platform.
Powered by FUDForum
. Page generated in 0.02145 seconds