| Summary: | SWTException when selecting Differencing Engine | ||
|---|---|---|---|
| Product: | [Modeling] EMFCompare | Reporter: | aurelien.mariage |
| Component: | Core | Assignee: | EMF Compare <emf.compare-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | laurent.goubet |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Hi, This is due to us having set the icon as "optional" ... while coding as if it were required. The icon is now really optional :). The fix will be available in 1.2.0M6. |
Build Identifier: 20100917-0705 A SWTException is raised when I add a new DiffEngine thanks to the plugin extension, that seems to be thrown by VisualEngineSelector. > org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:4083) .... Caused by: java.lang.NullPointerException at org.eclipse.emf.compare.ui.internal.VisualEngineSelector$EngineDescriptorLabelProvider.getImage(VisualEngineSelector.java:141) ... In the file plugin.xml contained in the package org.eclipse.emf.compare.diff, the icon filepath references a non existing file(icons/DiffEngine.gif). Thus, when the selector try to get the image, it crashes ... Reproducible: Always Steps to Reproduce: 1. Add a new DiffEngine component thanks to org.eclipse.emf.compare.diff.engine extension point 2. Run a comparison > the diff window displays nothing