You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Bryan Bende (Jira)" <ji...@apache.org> on 2020/11/09 14:47:00 UTC

[jira] [Created] (NIFIREG-430) NiFi Registry fails to start when running on first JDK 11 version

Bryan Bende created NIFIREG-430:
-----------------------------------

             Summary: NiFi Registry fails to start when running on first JDK 11 version 
                 Key: NIFIREG-430
                 URL: https://issues.apache.org/jira/browse/NIFIREG-430
             Project: NiFi Registry
          Issue Type: Bug
    Affects Versions: 0.8.0, 0.7.0, 0.6.0
            Reporter: Bryan Bende


{code:java}
 if (Integer.parseInt(runtimeJavaVersion.substring(0, runtimeJavaVersion.indexOf('.'))) >= 11) {{code}
When runtimeJavaVersion is just "11", then the above code throws an index out of bounds exception.

Apply same fix from - https://issues.apache.org/jira/browse/NIFI-7687



--
This message was sent by Atlassian Jira
(v8.3.4#803005)