arquillian/arquillian-governor

Jira governor - NPE when trying to execute resolved issues

Closed this issue · 0 comments

ARQ 2005 is a resolved jira Issue, when I run the following test:

    @Test
    @Jira(value = "ARQ-2005")
    public void wontBeSkippedBecauseResolved()
    {
        Assert.assertTrue(true);
    }

I got NPE:

java.lang.NullPointerException
    at org.arquillian.extension.governor.jira.impl.JiraTestExecutionDecider.on(JiraTestExecutionDecider.java:114)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

note that closePassed is true in arquillian.xml.

Reason is null because force is set to false. Here is a print of the 'if' which is causing the exception:

jira npe