Buggy code:
@ Component @ Scope ( proxyMode = ScopedProxyMode . TARGET_CLASS , value = "session" ) public class PoliticalAdminBean extends BaseBean { @ Autowired private AdminService adminService ; @ Autowired private QueueService queueService ; private TreeNode root ; private TreeNode selectedNode ; private TreeNode selectedLocationNode ; private LocationSearchResult selectedLocationSearchResult ; private List < LocationSearchResult > locationSearchResults ; private List < Person > personSearchResults ; private List < PoliticalBodyType > politicalBodyTypes ; private PoliticalBodyType selectedPoliticalBodyType ; private DataTable dataTable ; private List < PoliticalBodyAdminExtended > politicalBodyAdmins ; private PoliticalBodyAdmin selectedPoliticalBodyAdmin = new PoliticalBodyAdmin ( ) ; private boolean enableRightSidePanel = true ; private boolean showListPanel = true ; private Person selectedPerson = new Person ( ) ; private Party selectedPoliticalParty ; private String createAdminButtonTitle = "Create" ; private boolean updateMode = false ; Logger logger = LoggerFactory . getLogger ( this . getClass ( ) ) ; @ PostConstruct public void init ( ) { } public void createPerson ( ) { } public List < LocationSearchResult > searchLocation ( String query ) { } public List < Person > searchPerson ( String query ) { } public void onNodeExpand ( NodeExpandEvent event ) { } private void loadNodeChild ( TreeNode nodeSelected ) { } public void onNodeCollapse ( NodeCollapseEvent event ) { } public void onNodeSelect ( NodeSelectEvent event ) { } private void selectNode ( TreeNode nodeSelected ) { } public void onStateChange ( StateChangeEvent event ) { } public void onMarkerDrag ( MarkerDragEvent event ) { } public void onNodeUnselect ( NodeUnselectEvent event ) { } public void savePerson ( ActionEvent event ) { logger . info ( ( "saving<seq2seq4repair_space>Person<seq2seq4repair_space>" + ( selectedPerson ) ) ) ; try { selectedPerson = adminService . savePerson ( selectedPerson ) ; logger . info ( ( "Saved<seq2seq4repair_space>Person<seq2seq4repair_space>" + ( selectedPerson ) ) ) ; <START_BUG> queueService . sendRefreshPerson ( selectedPerson . getId ( ) ) ; <END_BUG> } catch ( Exception e ) { sendErrorMessage ( "Error" , e . getMessage ( ) ) ; e . printStackTrace ( ) ; logger . error ( "Error" , e ) ; } } public void saveAdmin ( ActionEvent event ) { } public void cancelAdmin ( ) { } private void disableSaveCancelButtons ( boolean disabled ) { } public void createAdmin ( ) { } private boolean disableCreateAdminButton = true ; private void refreshPoliticalBodyAdmins ( ) { } public void onSelectPoliticalBodyType ( ) { } public void cancel ( ) { } public void displaySelectedSingle ( ) { } public void onItemSelect ( SelectEvent event ) { } public void deleteNode ( ) { } public TreeNode getRoot ( ) { } public void setRoot ( TreeNode root ) { } public TreeNode getSelectedNode ( ) { } public void setSelectedNode ( TreeNode selectedNode ) { } public TreeNode getSelectedLocationNode ( ) { } public void setSelectedLocationNode ( TreeNode selectedLocationNode ) { } public LocationSearchResult getSelectedLocationSearchResult ( ) { } public void setSelectedLocationSearchResult ( LocationSearchResult selectedLocationSearchResult ) { } public List < LocationSearchResult > getLocationSearchResults ( ) { } public void setLocationSearchResults ( List < LocationSearchResult > locationSearchResults ) { } public DataTable getDataTable ( ) { } public void setDataTable ( DataTable dataTable ) { } public List < PoliticalBodyType > getPoliticalBodyTypes ( ) { } public void setPoliticalBodyTypes ( List < PoliticalBodyType > politicalBodyTypes ) { } public PoliticalBodyType getSelectedPoliticalBodyType ( ) { } public void setSelectedPoliticalBodyType ( PoliticalBodyType selectedPoliticalBodyType ) { } public List < PoliticalBodyAdminExtended > getPoliticalBodyAdmins ( ) { } public void setPoliticalBodyAdmins ( List < PoliticalBodyAdminExtended > politicalBodyAdmins ) { } public PoliticalBodyAdmin getSelectedPoliticalBodyAdmin ( ) { } public boolean isEditPersonAllowed ( ) { } public void setSelectedPoliticalBodyAdmin ( PoliticalBodyAdmin selectedPoliticalBodyAdmin ) { } public boolean isEnableRightSidePanel ( ) { } public void setEnableRightSidePanel ( boolean enableRightSidePanel ) { } public boolean isShowListPanel ( ) { } public void setShowListPanel ( boolean showListPanel ) { } public Person getSelectedPerson ( ) { } public void setSelectedPerson ( Person selectedPerson ) { } public List < Person > getPersonSearchResults ( ) { } public void setPersonSearchResults ( List < Person > personSearchResults ) { } public boolean isDisableCreateAdminButton ( ) { } public void setDisableCreateAdminButton ( boolean disableCreateAdminButton ) { } public String getCreateAdminButtonTitle ( ) { } public void setCreateAdminButtonTitle ( String createAdminButtonTitle ) { } public Party getSelectedPoliticalParty ( ) { } public void setSelectedPoliticalParty ( Party selectedPoliticalParty ) { } public boolean isUpdateMode ( ) { } public void setUpdateMode ( boolean updateMode ) { } }

Fix:
queueService . sendRefreshPerson ( selectedPerson . getId ( ) , "web" ) ;