title: Spring exception but application starts
body: <p>To start my Spring application I just call</p>
  
  <pre><code>SpringApplication.run(TestclientApplication.class, args);
  </code></pre>
  
  <p>But because my application does not run stable and shuts down randomly, I put a try catch block around it. Like this..</p>
  
  <pre><code>    try {
          SpringApplication.run(TestclientApplication.class, args);
      }
      catch(Exception ex)
      {
          ex.printStackTrace();
          LOGGER.error(ex.getMessage(), ex);
  
      }
  </code></pre>
  
  <p>Interestingly now I get an exception. I wonder why my application started before but of Course this exception was not caught before. But anyway. This is the exception. </p>
  
  <pre><code>org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException
  
  ERROR 20792 --- [           main] d.e.t.c.a.TestcaseController     : null
  </code></pre>
  
  <p>The funny Thing is I put a <code>@Profile("test")</code> above the Controller , so the Controller would only be loaded in case of test, but still I get this error.</p>