Program: 149057
Project: 149057
Buggy source:
protected void createActions(){
  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);
  this.deleteParticleAction=new XSDDeleteParticleAction(this);
  this.newParticleFromTypeAction=new XSDNewParticleFromTypeAction(this);
  this.newParticleFromParticleAction=new XSDNewParticleFromParticleAction(this);
  this.newGroupFromTypeAction=new XSDNewGroupFromTypeAction(this);
  this.newGroupFromParticleAction=new XSDNewGroupFromParticleAction(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=new XSDSetAnnotationForeignKeyAction(this,dataModelName);
  this.setAnnotationForeignKeyInfoAction=new XSDSetAnnotationForeignKeyInfoAction(this,dataModelName);
  this.setAnnotationWriteAction=new XSDSetAnnotationWriteAction(this);
  this.setAnnotationHiddenAction=new XSDSetAnnotationHiddenAction(this,dataModelName);
  this.setAnnotationTargetSystemsAction=new XSDSetAnnotationTargetSystemsAction(this,dataModelName);
  this.setAnnotationSchematronAction=new XSDSetAnnotationSchematronAction(this,dataModelName);
  this.setAnnotationSourceSystemAction=new XSDSetAnnotationSourceSystemAction(this);
  this.setAnnotationDocumentationAction=new XSDSetAnnotationDocumentationAction(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.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.newGroupFromParticleAction=new XSDNewGroupFromParticleAction(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=new XSDSetAnnotationForeignKeyAction(this,dataModelName);
  this.setAnnotationForeignKeyInfoAction=new XSDSetAnnotationForeignKeyInfoAction(this,dataModelName);
  this.setAnnotationWriteAction=new XSDSetAnnotationWriteAction(this);
  this.setAnnotationHiddenAction=new XSDSetAnnotationHiddenAction(this,dataModelName);
  this.setAnnotationTargetSystemsAction=new XSDSetAnnotationTargetSystemsAction(this,dataModelName);
  this.setAnnotationSchematronAction=new XSDSetAnnotationSchematronAction(this,dataModelName);
  this.setAnnotationSourceSystemAction=new XSDSetAnnotationSourceSystemAction(this);
  this.setAnnotationDocumentationAction=new XSDSetAnnotationDocumentationAction(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);
}