Program: 148062
Project: 148062
Buggy source:
protected void createActions(){
  this.newConceptAction=new XSDNewConceptAction(this);
  this.deleteConceptAction=new XSDDeleteConceptAction(this);
  this.newBrowseItemAction=new XSDNewBrowseItemViewAction(this);
  this.deleteConceptWrapAction=new XSDDeleteConceptWrapAction(this);
  this.newElementAction=new XSDNewElementAction(this);
  this.deleteElementAction=new XSDDeleteElementAction(this);
  this.changeToComplexTypeAction=new XSDChangeToComplexTypeAction(this,false);
  this.changeSubElementGroupAction=new XSDChangeToComplexTypeAction(this,true);
  this.deleteParticleAction=new XSDDeleteParticleAction(this);
  this.newParticleFromTypeAction=new XSDNewParticleFromTypeAction(this);
  this.newParticleFromParticleAction=new XSDNewParticleFromParticleAction(this);
  this.newGroupFromTypeAction=new XSDNewGroupFromTypeAction(this);
  this.editParticleAction=new XSDEditParticleAction(this);
  this.editConceptAction=new XSDEditConceptAction(this);
  this.editElementAction=new XSDEditElementAction(this);
  this.deleteIdentityConstraintAction=new XSDDeleteIdentityConstraintAction(this);
  this.editIdentityConstraintAction=new XSDEditIdentityConstraintAction(this);
  this.newIdentityConstraintAction=new XSDNewIdentityConstraintAction(this);
  this.deleteXPathAction=new XSDDeleteXPathAction(this);
  this.newXPathAction=new XSDNewXPathAction(this);
  this.editXPathAction=new XSDEditXPathAction(this);
  this.changeToSimpleTypeAction=new XSDChangeToSimpleTypeAction(this);
  this.changeBaseTypeAction=new XSDChangeBaseTypeAction(this);
  this.getXPathAction=new XSDGetXPathAction(this);
  this.setAnnotationLabelAction=new XSDSetAnnotationLabelAction(this);
  this.setAnnotationDescriptionsAction=new XSDSetAnnotationDescriptionsAction(this);
  this.setAnnotationForeignKeyAction=(XSDSetAnnotationForeignKeyAction)getAdapter(XSDSetAnnotationForeignKeyAction.class);
  visibleRuleAction=new XSDVisibleRuleAction(this,dataModelName);
  defaultValueRuleAction=new XSDDefaultValueRuleAction(this,dataModelName);
  this.setAnnotationFKFilterAction=(XSDSetAnnotationFKFilterAction)getAdapter(XSDSetAnnotationFKFilterAction.class);
  this.setAnnotationForeignKeyInfoAction=(XSDSetAnnotationForeignKeyInfoAction)getAdapter(XSDSetAnnotationForeignKeyInfoAction.class);
  this.setAnnotationWriteAction=(XSDSetAnnotationWriteAction)getAdapter(XSDSetAnnotationWriteAction.class);
  this.setAnnotationWrapWriteAction=(XSDSetAnnotationWrapWriteAction)getAdapter(XSDSetAnnotationWrapWriteAction.class);
  this.setAnnotationNoAction=(XSDSetAnnotationNoAction)getAdapter(XSDSetAnnotationNoAction.class);
  this.setAnnotationWrapNoAction=(XSDSetAnnotationWrapNoAction)getAdapter(XSDSetAnnotationWrapNoAction.class);
  this.setAnnotationDisplayFomatAction=new XSDSetAnnotaionDisplayFormatAction(this);
  this.setAnnotationLookupFieldsAction=new XSDAnnotationLookupFieldsAction(this);
  this.setAnnotationPrimaryKeyInfoAction=new XSDSetAnnotationPrimaryKeyInfoAction(this);
  this.deleteTypeDefinition=new XSDDeleteTypeDefinition(this);
  this.newComplexTypeAction=new XSDNewComplexTypeDefinition(this);
  this.newSimpleTypeAction=new XSDNewSimpleTypeDefinition(this);
  this.editComplexTypeAction=new XSDEditComplexTypeAction(this);
  this.setFacetMsgAction=new XSDSetFacetMessageAction(this);
  deleteConceptWrapAction.regisDelAction(XSDElementDeclarationImpl.class,deleteConceptAction);
  deleteConceptWrapAction.regisDelAction(XSDParticleImpl.class,deleteParticleAction);
  deleteConceptWrapAction.regisDelAction(XSDIdentityConstraintDefinitionImpl.class,deleteIdentityConstraintAction);
  deleteConceptWrapAction.regisDelAction(XSDXPathDefinitionImpl.class,deleteXPathAction);
  deleteConceptWrapAction.regisDelAction(null,deleteElementAction);
  deleteConceptWrapAction.regisDelAction(XSDComplexTypeDefinitionImpl.class,deleteTypeDefinition);
  deleteConceptWrapAction.regisDelAction(XSDSimpleTypeDefinitionImpl.class,deleteTypeDefinition);
}

Fixed version (ground truth):
protected void createActions(){
  this.newConceptAction=new XSDNewConceptAction(this);
  this.deleteConceptAction=(XSDDeleteConceptAction)getAdapter(XSDDeleteConceptAction.class);
  this.newBrowseItemAction=new XSDNewBrowseItemViewAction(this);
  this.deleteConceptWrapAction=new XSDDeleteConceptWrapAction(this);
  this.newElementAction=new XSDNewElementAction(this);
  this.deleteElementAction=new XSDDeleteElementAction(this);
  this.changeToComplexTypeAction=new XSDChangeToComplexTypeAction(this,false);
  this.changeSubElementGroupAction=new XSDChangeToComplexTypeAction(this,true);
  this.deleteParticleAction=new XSDDeleteParticleAction(this);
  this.newParticleFromTypeAction=new XSDNewParticleFromTypeAction(this);
  this.newParticleFromParticleAction=new XSDNewParticleFromParticleAction(this);
  this.newGroupFromTypeAction=new XSDNewGroupFromTypeAction(this);
  this.editParticleAction=new XSDEditParticleAction(this);
  this.editConceptAction=new XSDEditConceptAction(this);
  this.editElementAction=new XSDEditElementAction(this);
  this.deleteIdentityConstraintAction=new XSDDeleteIdentityConstraintAction(this);
  this.editIdentityConstraintAction=new XSDEditIdentityConstraintAction(this);
  this.newIdentityConstraintAction=new XSDNewIdentityConstraintAction(this);
  this.deleteXPathAction=new XSDDeleteXPathAction(this);
  this.newXPathAction=new XSDNewXPathAction(this);
  this.editXPathAction=new XSDEditXPathAction(this);
  this.changeToSimpleTypeAction=new XSDChangeToSimpleTypeAction(this);
  this.changeBaseTypeAction=new XSDChangeBaseTypeAction(this);
  this.getXPathAction=new XSDGetXPathAction(this);
  this.setAnnotationLabelAction=new XSDSetAnnotationLabelAction(this);
  this.setAnnotationDescriptionsAction=new XSDSetAnnotationDescriptionsAction(this);
  this.setAnnotationForeignKeyAction=(XSDSetAnnotationForeignKeyAction)getAdapter(XSDSetAnnotationForeignKeyAction.class);
  visibleRuleAction=new XSDVisibleRuleAction(this,dataModelName);
  defaultValueRuleAction=new XSDDefaultValueRuleAction(this,dataModelName);
  this.setAnnotationFKFilterAction=(XSDSetAnnotationFKFilterAction)getAdapter(XSDSetAnnotationFKFilterAction.class);
  this.setAnnotationForeignKeyInfoAction=(XSDSetAnnotationForeignKeyInfoAction)getAdapter(XSDSetAnnotationForeignKeyInfoAction.class);
  this.setAnnotationWriteAction=(XSDSetAnnotationWriteAction)getAdapter(XSDSetAnnotationWriteAction.class);
  this.setAnnotationWrapWriteAction=(XSDSetAnnotationWrapWriteAction)getAdapter(XSDSetAnnotationWrapWriteAction.class);
  this.setAnnotationNoAction=(XSDSetAnnotationNoAction)getAdapter(XSDSetAnnotationNoAction.class);
  this.setAnnotationWrapNoAction=(XSDSetAnnotationWrapNoAction)getAdapter(XSDSetAnnotationWrapNoAction.class);
  this.setAnnotationDisplayFomatAction=new XSDSetAnnotaionDisplayFormatAction(this);
  this.setAnnotationLookupFieldsAction=new XSDAnnotationLookupFieldsAction(this);
  this.setAnnotationPrimaryKeyInfoAction=new XSDSetAnnotationPrimaryKeyInfoAction(this);
  this.deleteTypeDefinition=new XSDDeleteTypeDefinition(this);
  this.newComplexTypeAction=new XSDNewComplexTypeDefinition(this);
  this.newSimpleTypeAction=new XSDNewSimpleTypeDefinition(this);
  this.editComplexTypeAction=new XSDEditComplexTypeAction(this);
  this.setFacetMsgAction=new XSDSetFacetMessageAction(this);
  deleteConceptWrapAction.regisDelAction(XSDElementDeclarationImpl.class,deleteConceptAction);
  deleteConceptWrapAction.regisDelAction(XSDParticleImpl.class,deleteParticleAction);
  deleteConceptWrapAction.regisDelAction(XSDIdentityConstraintDefinitionImpl.class,deleteIdentityConstraintAction);
  deleteConceptWrapAction.regisDelAction(XSDXPathDefinitionImpl.class,deleteXPathAction);
  deleteConceptWrapAction.regisDelAction(null,deleteElementAction);
  deleteConceptWrapAction.regisDelAction(XSDComplexTypeDefinitionImpl.class,deleteTypeDefinition);
  deleteConceptWrapAction.regisDelAction(XSDSimpleTypeDefinitionImpl.class,deleteTypeDefinition);
}