You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Aldrin Piri (JIRA)" <ji...@apache.org> on 2017/03/07 20:10:37 UTC
[jira] [Created] (NIFI-3565) TransformersTest fails when building
under different locales
Aldrin Piri created NIFI-3565:
---------------------------------
Summary: TransformersTest fails when building under different locales
Key: NIFI-3565
URL: https://issues.apache.org/jira/browse/NIFI-3565
Project: Apache NiFi
Issue Type: Bug
Reporter: Aldrin Piri
Running a build with the following
{code}
mvn clean install -Dmaven.surefire.arguments="-Duser.language=FR -Duser.region=fr"
{code}
results in failures with the TransformersTest for presumably similar reasons to NIFI-3483.
{code}
Tests run: 14, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 5.314 sec <<< FAILURE! - in org.apache.nifi.schemaregistry.processors.TransformersTest
[5] input_csv/decimal_logicalType.txt,input_avro/decimal_logicalType_valid_scale_with_no_default.txt,expected_ouput_csv/decimal_logicalType.txt (testCSVRoundtrip)(org.apache.nifi.schemaregistry.processors.TransformersTest) Time elapsed: 0.762 sec <<< ERROR!
java.lang.NumberFormatException: null
at java.math.BigDecimal.<init>(BigDecimal.java:494)
at java.math.BigDecimal.<init>(BigDecimal.java:383)
at java.math.BigDecimal.<init>(BigDecimal.java:806)
at org.apache.nifi.schemaregistry.processors.CSVUtils.write(CSVUtils.java:161)
at org.apache.nifi.schemaregistry.processors.TransformersTest.testCSVRoundtrip(TransformersTest.java:149)
[6] input_csv/decimal_logicalType.txt,input_avro/decimal_logicalType_invalid_scale_with_default.txt,expected_ouput_csv/decimal_logicalType_invalid_scale.txt (testCSVRoundtrip)(org.apache.nifi.schemaregistry.processors.TransformersTest) Time elapsed: 0 sec <<< ERROR!
java.lang.NumberFormatException: null
at java.math.BigDecimal.<init>(BigDecimal.java:494)
at java.math.BigDecimal.<init>(BigDecimal.java:383)
at java.math.BigDecimal.<init>(BigDecimal.java:806)
at org.apache.nifi.schemaregistry.processors.CSVUtils.write(CSVUtils.java:161)
at org.apache.nifi.schemaregistry.processors.TransformersTest.testCSVRoundtrip(TransformersTest.java:149)
[7] input_csv/decimal_logicalType_missing_value.txt,input_avro/decimal_logicalType_valid_scale_with_default.txt,expected_ouput_csv/decimal_logicalType_valid_scale_with_default.txt (testCSVRoundtrip)(org.apache.nifi.schemaregistry.processors.TransformersTest) Time elapsed: 0 sec <<< ERROR!
java.lang.NumberFormatException: null
at java.math.BigDecimal.<init>(BigDecimal.java:494)
at java.math.BigDecimal.<init>(BigDecimal.java:383)
at java.math.BigDecimal.<init>(BigDecimal.java:806)
at org.apache.nifi.schemaregistry.processors.CSVUtils.write(CSVUtils.java:161)
at org.apache.nifi.schemaregistry.processors.TransformersTest.testCSVRoundtrip(TransformersTest.java:149)
Results :
Tests in error:
TransformersTest.testCSVRoundtrip:149 » NumberFormat
TransformersTest.testCSVRoundtrip:149 » NumberFormat
TransformersTest.testCSVRoundtrip:149 » NumberFormat
Tests run: 14, Failures: 0, Errors: 3, Skipped: 0
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)