Details
Description
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.
[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
Maven command used for testSimpleGraphSvg is mvn -Dtest=TestGraphGenerator#testSimpleGraphSvg test.
[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
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.
Attachments
Issue Links
- is related to
-
OOZIE-3184 Test case in oozie-core fails with a NullPointerException
- Resolved