output: #fixed code
                                @Test
    public void testConfigure2() throws Exception {
      double epsilon = 0.000000000000001 ;
      Settings smsemoaSettings = new SMSEMOASettings("Fonseca");
      SMSEMOA algorithm = (SMSEMOA) smsemoaSettings.configure(configuration) ;
      Problem problem = new Fonseca("Real") ;
  
      SBXCrossover crossover = (SBXCrossover) algorithm.getCrossoverOperator() ;
      double pc = crossover.getCrossoverProbability() ;
      double dic = crossover.getDistributionIndex() ;
      PolynomialMutation mutation = (PolynomialMutation)algorithm.getMutationOperator() ;
      double pm = mutation.getMutationProbability() ;
      double dim = mutation.getDistributionIndex() ;
      double offset = algorithm.getOffset() ;
  
      assertEquals(100, algorithm.getPopulationSize());
      assertEquals(25000, algorithm.getMaxEvaluations());
  
      assertEquals(0.9, pc, epsilon);
      assertEquals(20.0, dic, epsilon);
  
      assertEquals(1.0/problem.getNumberOfVariables(), pm, epsilon);
      assertEquals(20.0, dim, epsilon);
  
      assertEquals(100.0, offset, epsilon);
    }
input: #vulnerable code 
                                @Test
    public void testConfigure2() throws Exception {
      double epsilon = 0.000000000000001 ;
      Settings smsemoaSettings = new SMSEMOASettings("Fonseca");
      Algorithm algorithm = smsemoaSettings.configure(configuration_) ;
      Problem problem = new Fonseca("Real") ;
      SBXCrossover crossover = (SBXCrossover)algorithm.getOperator("crossover") ;
      double pc = (Double)crossover.getParameter("probability") ;
      double dic = (Double)crossover.getParameter("distributionIndex") ;
      PolynomialMutation mutation = (PolynomialMutation)algorithm.getOperator("mutation") ;
      double pm = (Double)mutation.getParameter("probability") ;
      double dim = (Double)mutation.getParameter("distributionIndex") ;
  
      assertEquals("SMSEMOA_SettingsTest", 100, ((Integer)algorithm.getInputParameter("populationSize")).intValue());
      assertEquals("SMSEMOA_SettingsTest", 25000, ((Integer)algorithm.getInputParameter("maxEvaluations")).intValue());
  
      assertEquals("SMSEMOA_SettingsTest", 0.9, pc, epsilon);
      assertEquals("SMSEMOA_SettingsTest", 20.0, dic, epsilon);
  
      assertEquals("SMSEMOA_SettingsTest", 1.0/problem.getNumberOfVariables(), pm, epsilon);
      assertEquals("SMSEMOA_SettingsTest", 20.0, dim, epsilon);
      assertEquals("SMSEMOA_SettingsTest", 100.0, ((Double)algorithm.getInputParameter("offset")).doubleValue(), epsilon);
    } 
                              #location 7 
                              #vulnerability type NULL_DEREFERENCE