Github user trixpan commented on the issue:

    https://github.com/apache/nifi/pull/1614
  
    also please note there seem to be an unrelated issue affecting another test 
unit that fails unter pt_BR and fr_FR but passes ja_JP. I suspect it is a comma 
vs dot number notation issue. 
    
    ```
    -------------------------------------------------------
     T E S T S
    -------------------------------------------------------
    Running org.apache.nifi.schemaregistry.processors.TransformersTest
    Tests run: 14, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.518 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.013 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.004 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.005 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
    
    ```
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to