yangzhoucyl opened a new issue #1858:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1858


   ## Bug Report
   
   
   ### Which version of ElasticJob did you use?
    - 3.0.0-RC1
   
   ### Which project did you use? ElasticJob-Lite or ElasticJob-Cloud?
   - ElasticJob-Cloud
   
   ### Expected behavior
   - Project Launch Successfully
   
   ### Actual behavior
   
   > org.apache.shardingsphere.elasticjob.infra.env.HostException: ip is null
   
        at 
org.apache.shardingsphere.elasticjob.infra.env.IpUtils.getIp(IpUtils.java:68)
   
   ### Reason analyze (If you can)
   
       Version before jdk1.8.0_74 `InetAddress.isReachable()` returns 
incorrectly
   
   ### Steps to reproduce the behavior.
   
   - JDK 1.8.0_73
   - ElasticJob-Cloud 3.0.0-RC1
      `@Test
       public void assertGetIp() {
           assertNotNull(IpUtils.getIp());
       }`
   
    
   
   > org.apache.shardingsphere.elasticjob.infra.env.HostException: ip is null
   
        at 
org.apache.shardingsphere.elasticjob.infra.env.IpUtils.getIp(IpUtils.java:68)
        at 
org.apache.shardingsphere.elasticjob.infra.env.IpUtilsTest.assertGetIp(IpUtilsTest.java:33)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
   
   ### Example codes for reproduce this issue (such as a github link).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to