juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JUNEAU-86) Avoid NPE stopping RestMicroservice
Date Fri, 12 Oct 2018 23:11:00 GMT
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)

Mime
View raw message