Andrew Lim created NIFI-6205:
--------------------------------

             Summary: Improve error messages if value entered for Concurrent 
Tasks on input/output ports are too large 
                 Key: NIFI-6205
                 URL: https://issues.apache.org/jira/browse/NIFI-6205
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Andrew Lim


When modifying the Concurrent Tasks on an Input/Output port by adding a very 
large integer, I see these two errors:
 * Cannot deserialize value of type {{java.lang.Integer}} from String 
"123123123123": Overflow: numeric value (123123123123) out of range of Integer 
(-2147483648 - 2147483647)
 * at [Source: 
(org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream);
 line: 1, column: 231] (through reference chain: 
org.apache.nifi.web.api.entity.PortEntity["component"]->org.apache.nifi.web.api.dto.PortDTO["concurrentlySchedulableTaskCount"])

We should improve the error messages to be more user-friendly.



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

Reply via email to