output: #fixed code
                                  @Test
      public void testGetInfo() throws Exception {
  
          if (testConfig.isRunningAgainstFabric10()) {
              HFCAInfo info = client.info();
              assertNull(info.getVersion());
          }
  
          if (!testConfig.isRunningAgainstFabric10()) {
              HFCAInfo info = client.info();
              assertNotNull("client.info returned null.", info);
              String version = info.getVersion();
              assertNotNull("client.info.getVersion returned null.", version);
              assertTrue(format("Version '%s' didn't match expected pattern", version), version.matches("^\\d+\\.\\d+\\.\\d+($|-.*)"));
          }
  
      }
input: #vulnerable code 
                                  @Test
      public void testGetInfo() throws Exception {
  
          if (testConfig.isRunningAgainstFabric10()) {
              HFCAInfo info = client.info();
              assertNull(info.getVersion());
          }
  
          if (!testConfig.isRunningAgainstFabric10()) {
              HFCAInfo info = client.info();
              assertTrue(info.getVersion().contains("1.1.0"));
          }
  
      } 
                              #location 11 
                              #vulnerability type NULL_DEREFERENCE