Github user josephxsxn commented on the issue:

    https://github.com/apache/nifi/pull/1747
  
    I went and built this, you have alot of checkstyle issues -
    
    [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-checkstyle-plugin:2.15:check (check-style) on 
project nifi-toolkit-flowanalyzer: **You have 187 Checkstyle violations**. -> 
[Help 1]
    
    Mostly just white spaces, but you may wanna try building with:
    ```
    mvn -Pcontrib-check clean install
    ```
    
     That said I did built and run the tool. While it builds I am getting an 
error against an flowfile.
    ```
     /usr/jdk64/jdk1.8.0_60/bin/java -cp 
./nifi-toolkit-flowanalyzer-1.2.0-SNAPSHOT.jar 
org.apache.nifi.toolkit.flowanalyzer.FlowAnalyzerDriver 
/usr/hdf/nifi/conf/flow.xml.gz
    Using flowfile=/usr/hdf/nifi/conf/flow.xml.gz
    java.lang.ArithmeticException: Non-terminating decimal expansion; no exact 
representable decimal result.
            at java.math.BigDecimal.divide(BigDecimal.java:1690)
            at 
org.apache.nifi.toolkit.flowanalyzer.FlowAnalyzerDriver.main(FlowAnalyzerDriver.java:85)
    Exception Occured while attempting to parse Flowfile.xml.  Cause: null
    ```
    
    
    Maybe rounding UP would be ok>?
    
http://stackoverflow.com/questions/4591206/arithmeticexception-non-terminating-decimal-expansion-no-exact-representable
 



---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to