Buggy code:
public class BBBMeetingEntityProvider extends AbstractEntityProvider implements CoreEntityProvider , ActionsExecutable , AutoRegisterEntityProvider , CollectionResolvable , Createable , Deleteable , Describeable , Inputable , Outputable , Resolvable , Statisticable , Updateable { protected final Logger LOG = Logger . getLogger ( getClass ( ) ) ; private BBBMeetingManager meetingManager ; public void setMeetingManager ( BBBMeetingManager meetingManager ) { } private UserDirectoryService userDirectoryService = null ; public void setUserDirectoryService ( UserDirectoryService userDirectoryService ) { } private SiteService siteService = null ; public void setSiteService ( SiteService siteService ) { } private IdManager idManager ; public void setIdManager ( IdManager idManager ) { } private ServerConfigurationService serverConfigurationService ; public void setServerConfigurationService ( ServerConfigurationService serverConfigurationService ) { } public String [ ] getHandledOutputFormats ( ) { } public String [ ] getHandledInputFormats ( ) { } public String getEntityPrefix ( ) { } public Object getEntity ( EntityReference ref ) { } public boolean entityExists ( String id ) { } public Object getSampleEntity ( ) { } public String createEntity ( EntityReference ref , Object entity , Map < String , Object > params ) { } public void updateEntity ( EntityReference ref , Object entity , Map < String , Object > params ) { } public List < BBBMeeting > getEntities ( EntityReference ref , Search search ) { } public void deleteEntity ( EntityReference ref , Map < String , Object > params ) { if ( LOG . isDebugEnabled ( ) ) LOG . debug ( "deleteEntity" ) ; if ( ref == null ) { throw new EntityNotFoundException ( "Meeting<seq2seq4repair_space>not<seq2seq4repair_space>found" , null ) ; } try { <START_BUG> meetingManager . endMeeting ( ref . getId ( ) ) ; <END_BUG> } catch ( BBBException e ) { throw new org . sakaiproject . entitybroker . exception . EntityException ( e . getPrettyMessage ( ) , ref . getReference ( ) , 400 ) ; } } @ EntityCustomAction ( viewKey = EntityView . VIEW_LIST ) public String isMeetingRunning ( Map < String , Object > params ) { } @ EntityCustomAction ( viewKey = EntityView . VIEW_LIST ) public String endMeeting ( Map < String , Object > params ) { } @ EntityCustomAction ( viewKey = EntityView . VIEW_SHOW ) public ActionReturn getMeetingInfo ( OutputStream out , EntityView view , EntityReference ref ) { } @ EntityCustomAction ( viewKey = EntityView . VIEW_SHOW ) public ActionReturn getRecordings ( OutputStream out , EntityView view , EntityReference ref ) { } @ EntityCustomAction ( viewKey = EntityView . VIEW_LIST ) public String publishRecordings ( Map < String , Object > params ) { } @ EntityCustomAction ( viewKey = EntityView . VIEW_LIST ) public String deleteRecordings ( Map < String , Object > params ) { } @ EntityCustomAction ( viewKey = EntityView . VIEW_SHOW ) public String joinMeeting ( OutputStream out , EntityView view , EntityReference ref ) { } @ EntityCustomAction ( viewKey = EntityView . VIEW_LIST ) public ActionReturn getUserSelectionOptions ( Map < String , Object > params ) { } @ EntityCustomAction ( viewKey = EntityView . VIEW_LIST ) public String getServerTimeInUserTimezone ( Map < String , Object > params ) { } @ EntityCustomAction ( viewKey = EntityView . VIEW_LIST ) public ActionReturn getNoticeText ( Map < String , Object > params ) { } public String getAssociatedToolId ( ) { } public String [ ] getEventKeys ( ) { } public Map < String , String > getEventNames ( Locale locale ) { } private List < Participant > extractParticipants ( Map < String , Object > params , String meetingOwnerId ) { } }

Fix:
meetingManager . deleteMeeting ( ref . getId ( ) ) ;