[ 
https://issues.apache.org/jira/browse/OOZIE-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16394997#comment-16394997
 ] 

Andras Piros commented on OOZIE-3190:
-------------------------------------

Thanks for your work [~alishap] on the issue!

> Test cases in TestGraphGenerator.java of oozie-core fail with a 
> NullPointerException
> ------------------------------------------------------------------------------------
>
>                 Key: OOZIE-3190
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3190
>             Project: Oozie
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 5.0.0b1
>         Environment: uname -a
> Linux pts00607-vm1 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:05:18 UTC 
> 2016 ppc64le ppc64le ppc64le GNU/Linux
>            Reporter: Alisha Prabhu
>            Priority: Major
>              Labels: ppc64le
>
> The test cases testSimpleGraphPng and testSimpleGraphSvg under 
> TestGraphGenerator.java fail with java.lang.NullPointerException.
>  Maven command used for testSimpleGraphPng is mvn 
> -Dtest=TestGraphGenerator#testSimpleGraphPng test.
> {code:java}
> [INFO] Running org.apache.oozie.util.graph.TestGraphGenerator
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
> 24.229 s <<< FAILURE! - in org.apache.oozie.util.graph.TestGraphGenerator
> [ERROR] testSimpleGraphPng(org.apache.oozie.util.graph.TestGraphGenerator) 
> Time elapsed: 24.229 s <<< FAILURE!
> java.lang.AssertionError: Render and write PNG failed for 
> graph-workflow-simple.xml: java.util.concurrent.ExecutionException: 
> java.lang.NullPointerException
> at 
> org.apache.oozie.util.graph.TestGraphGenerator.generateAndAssertPng(TestGraphGenerator.java:96)
> at 
> org.apache.oozie.util.graph.TestGraphGenerator.testSimpleGraphPng(TestGraphGenerator.java:64)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Failures:
> [ERROR] TestGraphGenerator.testSimpleGraphPng:64->generateAndAssertPng:96 
> Render and write PNG failed for graph-workflow-simple.xml: 
> java.util.concurrent.ExecutionException: java.lang.NullPointerException
> {code}
> Maven command used for testSimpleGraphSvg is mvn 
> -Dtest=TestGraphGenerator#testSimpleGraphSvg test.
> {code:java}
> [INFO] Running org.apache.oozie.util.graph.TestGraphGenerator
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
> 24.113 s <<< FAILURE! - in org.apache.oozie.util.graph.TestGraphGenerator
> [ERROR] testSimpleGraphSvg(org.apache.oozie.util.graph.TestGraphGenerator) 
> Time elapsed: 24.113 s <<< FAILURE!
> java.lang.AssertionError: Render and write SVG failed: 
> java.util.concurrent.ExecutionException: java.lang.NullPointerException
> at 
> org.apache.oozie.util.graph.TestGraphGenerator.testSimpleGraphSvg(TestGraphGenerator.java:144)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Failures:
> [ERROR] TestGraphGenerator.testSimpleGraphSvg:144 Render and write SVG 
> failed: java.util.concurrent.ExecutionException: 
> java.lang.NullPointerException
> {code}
> Have observed that the test cases use the values from the enum OutputFormat 
> which contains 3 constants : PNG, DOT & SVG
> The test cases using OutputFormat.DOT have passed whereas the once which have 
> used the other two constants i.e PNG and SVG , fail on ppc64le arch.



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

Reply via email to