[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| RE: [gmf-dev] Failing JUnits in the GMF build... | 
Hello,
 
 samplemodel is generated as part of our tests, 
althought it's strange to see it invoked from different test suite provided each 
test suite runs in clear workspace.
 I've added some cleanup code to make sure we 
remove it after our tests run. 
 
Best wishes,
Artem Tikhomirov
  
  
The JUnits failing in the 
  overnight build are due to an NPE in an EditPart provider class --> 
  
    
    
      | java.lang.NullPointerException at 
        samplemodel.editor.VisualIDRegistry.getDiagramVisualID(VisualIDRegistry.java:26)
 at 
        samplemodel.edit.parts.EditPartFactoryImpl.createDiagramEditPart(EditPartFactoryImpl.java:67)
 at 
        samplemodel.edit.parts.EditPartFactoryImpl.createEditPart(EditPartFactoryImpl.java:47)
 at 
        samplemodel.providers.SampleModelEditPartProvider.createEditPart(SampleModelEditPartProvider.java:83)
 at 
        samplemodel.providers.SampleModelEditPartProvider.provides(SampleModelEditPartProvider.java:124)
 at 
        org.eclipse.gmf.runtime.diagram.ui.services.editpart.EditPartService$ProviderDescriptor.provides(EditPartService.java:95)
 | 
The diagram core runtime team owns the test, but we 
  don't own the class that is causing the NPE.  Can whoever owns the 
  SampleModelEditPartProvider take at look at this failure? 
Thanks, 
Steve. 
________________________________________
Steven R. Shaw
Rational 
  Modeling Platform Diagram Layer Lead
Rational Software | IBM Software 
  Group
770 Palladium Drive, Kanata, ON, Canada, K2V 1C8
tel: 
  613.591.7979
steveshaw@xxxxxxxxxx