You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Alisha Prabhu (JIRA)" <ji...@apache.org> on 2018/03/06 12:26:00 UTC
[jira] [Updated] (OOZIE-3190) Test cases in TestGraphGenerator.java
of oozie-core fail with a NullPointerException
[ https://issues.apache.org/jira/browse/OOZIE-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alisha Prabhu updated OOZIE-3190:
---------------------------------
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.
{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){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){code}
Have attached the log-testSimpleGraphPng.txt and log-testSimpleGraphSvg.txt files below , that has the errors occurred while running the above test case.
was:
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.
Maven command used for testSimpleGraphSvg is mvn -Dtest=TestGraphGenerator#testSimpleGraphSvg test.
Have attached the log-testSimpleGraphPng.txt and log-testSimpleGraphSvg.txt file below , that has the errors occurred while running the above test case.
> 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){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){code}
> Have attached the log-testSimpleGraphPng.txt and log-testSimpleGraphSvg.txt files below , that has the errors occurred while running the above test case.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)