You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juneau.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2018/10/12 23:11:00 UTC

[jira] [Created] (JUNEAU-86) Avoid NPE stopping RestMicroservice

Gary Gregory created JUNEAU-86:
----------------------------------

             Summary: Avoid NPE stopping RestMicroservice
                 Key: JUNEAU-86
                 URL: https://issues.apache.org/jira/browse/JUNEAU-86
             Project: Juneau
          Issue Type: Bug
          Components: Code
    Affects Versions: 7.1.0
            Reporter: Gary Gregory


In some cases, usually debugging my integration tests, I can get this NPE:

{noformat}
java.lang.NullPointerException
    at org.apache.juneau.microservice.RestMicroservice$1.run(RestMicroservice.java:149)
{noformat}

This is because the server is already null.

Preparing a PR...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)