title: java eclipse debug never enters certain mvc service classes
body: <p>I'm attempting to debug my java mvc web app with eclipse.  However, debug isn't entering my service class that is called from my controller.  I can debug up to the point that my controller is calling the method "getReportsService.getAppReportLinksFromIQ(appid)" but it never enters into the service class using F5 in eclipse. So all I see is the resulting 'nullPointerException' the results from whatever it didn't like in the method.  </p>
  
  <p><strong>controller code:</strong> </p>
  
  <pre><code>try {
      reports = getReportsService.getAppReportLinksFromIQ(appid);
  } catch (Exception e) {
      e.printStackTrace();
  }
  </code></pre>
  
  <p><strong>service code</strong>  NOTE: URL in call is not the real URL</p>
  
  <pre><code>@Service
  public class GetReportsServiceImpl implements GetReportsService {
  
      @Override
      public String getAppIdFromIQ(String appId) {
  
          RestTemplate restTemplate = new RestTemplate();
          //Get encode Application ID
  
          String getAppIdUrl = "http://url" + appId;
          AppIdDTO response = restTemplate.getForObject(getAppIdUrl + "/1", AppIdDTO.class);
          return response.getId();
      }
  </code></pre>