Buggy code:
public class NorthwindTestServlet extends BreezeControllerServlet { public void customersInBrazil ( HttpServletRequest request , HttpServletResponse response ) { } public void CustomerFirstOrDefault ( HttpServletRequest request , HttpServletResponse response ) { } public void CustomersStartingWithA ( HttpServletRequest request , HttpServletResponse response ) { } public void CustomersStartingWith ( HttpServletRequest request , HttpServletResponse response ) { } public void CustomersOrderedStartingWith ( HttpServletRequest request , HttpServletResponse response ) { } public void CustomersAndOrders ( HttpServletRequest request , HttpServletResponse response ) { } public void CustomerWithScalarResult ( HttpServletRequest request , HttpServletResponse response ) { } public void CustomersWithHttpError ( HttpServletRequest request , HttpServletResponse response ) { } public void CustomersAsHRM ( HttpServletRequest request , HttpServletResponse response ) { } public class CustomerWithBigOrders { public Customer customer ; public List < Order > bigOrders ; public CustomerWithBigOrders ( Customer customer , List < Order > bigOrders ) { } } public void CustomersWithBigOrders ( HttpServletRequest request , HttpServletResponse response ) { } public class CustomersAndProductsBundle { public List < Customer > customers ; public List < Product > products ; public CustomersAndProductsBundle ( List < Customer > customers , List < Product > products ) { } } public void CustomersAndProducts ( HttpServletRequest request , HttpServletResponse response ) { } public void AltCustomers ( HttpServletRequest request , HttpServletResponse response ) { } public void SearchCustomers ( HttpServletRequest request , HttpServletResponse response ) { } public void SearchCustomers2 ( HttpServletRequest request , HttpServletResponse response ) { } public void OrdersCountForCustomer ( HttpServletRequest request , HttpServletResponse response ) { } public void EnumerableEmployees ( HttpServletRequest request , HttpServletResponse response ) { } public void EmployeesMultipleParams ( HttpServletRequest request , HttpServletResponse response ) { } public void CompanyNames ( HttpServletRequest request , HttpServletResponse response ) { } public void CompanyNamesAndIds ( HttpServletRequest request , HttpServletResponse response ) { } public void CompanyNamesAndIdsAsDTO ( HttpServletRequest request , HttpServletResponse response ) { } public void CompanyInfoAndOrders ( HttpServletRequest request , HttpServletResponse response ) { } public void OrdersAndCustomers ( HttpServletRequest request , HttpServletResponse response ) { } public void SearchEmployees ( HttpServletRequest request , HttpServletResponse response ) { } public void EmployeesFilteredByCountryAndBirthdate ( HttpServletRequest request , HttpServletResponse response ) { } @ Override public SaveWorkState createSaveWorkState ( Map saveBundle ) { } public void SaveWithFreight ( HttpServletRequest request , HttpServletResponse response ) { } public void SaveWithExit ( HttpServletRequest request , HttpServletResponse response ) { } public void SaveAndThrow ( HttpServletRequest request , HttpServletResponse response ) { } public void SaveWithEntityErrorsException ( HttpServletRequest request , HttpServletResponse response ) { } public void SaveCheckUnmappedProperty ( HttpServletRequest request , HttpServletResponse response ) { Map saveBundle = extractSaveBundle ( request ) ; SaveWorkState sws = new SaveWorkState ( saveBundle ) { public boolean beforeSaveEntity ( EntityInfo entityInfo ) { <START_BUG> String unmappedValue = ( ( String ) ( entityInfo . unmappedValuesMap . get ( "MyUnmappedProperty" ) ) ) ; <END_BUG> if ( ! ( unmappedValue . equals ( "anything22" ) ) ) { throw new RuntimeException ( ( "wrong<seq2seq4repair_space>value<seq2seq4repair_space>for<seq2seq4repair_space>unmapped<seq2seq4repair_space>property:<seq2seq4repair_space>" + unmappedValue ) ) ; } Customer cust = ( ( Customer ) ( entityInfo . entity ) ) ; return false ; } } ; SaveResult sr = saveChanges ( sws ) ; writeSaveResponse ( response , sr ) ; } }

Fix:
String unmappedValue = ( ( String ) ( entityInfo . unmappedValuesMap . get ( "myUnmappedProperty" ) ) ) ;