You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously Epics and Stories tab were displayed in Serenity report. Currently its not getting displayed.
I see the below error while building the pom.xml
net.serenitybdd.plugins.jira.model.JQLException: java.lang.NullPointerException
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.findByJQL(JerseyJiraClient.java:128) ~[serenity-jira-plugin-1.8.0.jar:?]
at net.serenitybdd.plugins.jira.requirements.JIRARequirementsProvider.getRequirements(JIRARequirementsProvider.java:114) [serenity-jira-requirements-provider-1.8.0.jar:?]
at net.thucydides.core.requirements.RequirementsProvided.by(RequirementsProvided.java:15) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.requirements.MultiSourceRequirementsService.getRequirements(MultiSourceRequirementsService.java:46) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.requirements.BaseRequirementsService.getRequirementTypes(BaseRequirementsService.java:186) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.reports.html.HtmlAcceptanceTestReporter.addTestOutcomeToContext(HtmlAcceptanceTestReporter.java:162) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.reports.html.HtmlAcceptanceTestReporter.generateReportFor(HtmlAcceptanceTestReporter.java:109) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.reports.ReportService.generateReportFor(ReportService.java:255) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.reports.ReportService.access$100(ReportService.java:32) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.reports.ReportService$1.run(ReportService.java:186) [serenity-core-1.8.19.jar:1.8.19]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_65]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_65]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_65]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_65]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_65]
Caused by: java.lang.NullPointerException
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.convertToComment(JerseyJiraClient.java:300) ~[serenity-jira-plugin-1.8.0.jar:?]
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.commentsIn(JerseyJiraClient.java:290) ~[serenity-jira-plugin-1.8.0.jar:?]
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.convertToIssueSummary(JerseyJiraClient.java:279) ~[serenity-jira-plugin-1.8.0.jar:?]
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.loadByJQLBatches(JerseyJiraClient.java:153) ~[serenity-jira-plugin-1.8.0.jar:?]
at net.serenitybdd.plugins.jira.client.FindByJQLLoaderUsingBatches.load(FindByJQLLoaderUsingBatches.java:17) ~[serenity-jira-plugin-1.8.0.jar:?]
at net.serenitybdd.plugins.jira.client.FindByJQLLoaderUsingBatches.load(FindByJQLLoaderUsingBatches.java:8) ~[serenity-jira-plugin-1.8.0.jar:?]
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3628) ~[guava-20.0.jar:?]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2336) ~[guava-20.0.jar:?]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2295) ~[guava-20.0.jar:?]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2208) ~[guava-20.0.jar:?]
at com.google.common.cache.LocalCache.get(LocalCache.java:4053) ~[guava-20.0.jar:?]
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4057) ~[guava-20.0.jar:?]
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4986) ~[guava-20.0.jar:?]
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.findByJQL(JerseyJiraClient.java:124) ~[serenity-jira-plugin-1.8.0.jar:?]
... 14 more
2018-06-26 15:04:39,347 DEBUG JIRARequirementsProvider [pool-7-thread-2] Loading root requirements done: 0
2018-06-26 15:04:39,352 DEBUG ConcurrentRequirementsLoader [pool-7-thread-2] Loading 0 requirements
2018-06-26 15:04:39,352 DEBUG RequirementsTagProvider [pool-7-thread-2] Requirements found:[]
2018-06-26 15:04:39,353 DEBUG JIRARequirementsProvider [pool-7-thread-2] Find parent requirement in JIRA for SmokeTest for Taxation Event APM
2018-06-26 15:04:39,516 DEBUG JIRARequirementsProvider [pool-7-thread-1] No root requirements found (JQL = issuetype = epic and project=GRK
net.serenitybdd.plugins.jira.model.JQLException: java.lang.NullPointerException
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.findByJQL(JerseyJiraClient.java:128) ~[serenity-jira-plugin-1.8.0.jar:?]
at net.serenitybdd.plugins.jira.requirements.JIRARequirementsProvider.getRequirements(JIRARequirementsProvider.java:114) [serenity-jira-requirements-provider-1.8.0.jar:?]
at net.thucydides.core.requirements.RequirementsProvided.by(RequirementsProvided.java:15) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.requirements.MultiSourceRequirementsService.getRequirements(MultiSourceRequirementsService.java:46) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.requirements.BaseRequirementsService.getRequirementTypes(BaseRequirementsService.java:186) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.reports.html.HtmlAcceptanceTestReporter.addTestOutcomeToContext(HtmlAcceptanceTestReporter.java:162) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.reports.html.HtmlAcceptanceTestReporter.generateReportFor(HtmlAcceptanceTestReporter.java:109) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.reports.ReportService.generateReportFor(ReportService.java:255) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.reports.ReportService.access$100(ReportService.java:32) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.reports.ReportService$1.run(ReportService.java:186) [serenity-core-1.8.19.jar:1.8.19]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_65]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_65]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_65]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_65]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_65]
Caused by: java.lang.NullPointerException
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.convertToComment(JerseyJiraClient.java:300) ~[serenity-jira-plugin-1.8.0.jar:?]
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.commentsIn(JerseyJiraClient.java:290) ~[serenity-jira-plugin-1.8.0.jar:?]
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.convertToIssueSummary(JerseyJiraClient.java:279) ~[serenity-jira-plugin-1.8.0.jar:?]
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.loadByJQLBatches(JerseyJiraClient.java:153) ~[serenity-jira-plugin-1.8.0.jar:?]
at net.serenitybdd.plugins.jira.client.FindByJQLLoaderUsingBatches.load(FindByJQLLoaderUsingBatches.java:17) ~[serenity-jira-plugin-1.8.0.jar:?]
at net.serenitybdd.plugins.jira.client.FindByJQLLoaderUsingBatches.load(FindByJQLLoaderUsingBatches.java:8) ~[serenity-jira-plugin-1.8.0.jar:?]
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3628) ~[guava-20.0.jar:?]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2336) ~[guava-20.0.jar:?]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2295) ~[guava-20.0.jar:?]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2208) ~[guava-20.0.jar:?]
at com.google.common.cache.LocalCache.get(LocalCache.java:4053) ~[guava-20.0.jar:?]
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4057) ~[guava-20.0.jar:?]
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4986) ~[guava-20.0.jar:?]
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.findByJQL(JerseyJiraClient.java:124) ~[serenity-jira-plugin-1.8.0.jar:?]
I am using the following version in my pom.xml file
If there are no comments here, it’s that no one is picked the issue up yet. Open Source projects don’t have an SLA, and the best way to fix an issue is to drill into the code yourself. This is particularly true of integration with commercial third party tools like JIRA.
Previously Epics and Stories tab were displayed in Serenity report. Currently its not getting displayed.
I see the below error while building the pom.xml
net.serenitybdd.plugins.jira.model.JQLException: java.lang.NullPointerException
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.findByJQL(JerseyJiraClient.java:128) ~[serenity-jira-plugin-1.8.0.jar:?]
at net.serenitybdd.plugins.jira.requirements.JIRARequirementsProvider.getRequirements(JIRARequirementsProvider.java:114) [serenity-jira-requirements-provider-1.8.0.jar:?]
at net.thucydides.core.requirements.RequirementsProvided.by(RequirementsProvided.java:15) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.requirements.MultiSourceRequirementsService.getRequirements(MultiSourceRequirementsService.java:46) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.requirements.BaseRequirementsService.getRequirementTypes(BaseRequirementsService.java:186) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.reports.html.HtmlAcceptanceTestReporter.addTestOutcomeToContext(HtmlAcceptanceTestReporter.java:162) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.reports.html.HtmlAcceptanceTestReporter.generateReportFor(HtmlAcceptanceTestReporter.java:109) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.reports.ReportService.generateReportFor(ReportService.java:255) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.reports.ReportService.access$100(ReportService.java:32) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.reports.ReportService$1.run(ReportService.java:186) [serenity-core-1.8.19.jar:1.8.19]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_65]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_65]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_65]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_65]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_65]
Caused by: java.lang.NullPointerException
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.convertToComment(JerseyJiraClient.java:300) ~[serenity-jira-plugin-1.8.0.jar:?]
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.commentsIn(JerseyJiraClient.java:290) ~[serenity-jira-plugin-1.8.0.jar:?]
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.convertToIssueSummary(JerseyJiraClient.java:279) ~[serenity-jira-plugin-1.8.0.jar:?]
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.loadByJQLBatches(JerseyJiraClient.java:153) ~[serenity-jira-plugin-1.8.0.jar:?]
at net.serenitybdd.plugins.jira.client.FindByJQLLoaderUsingBatches.load(FindByJQLLoaderUsingBatches.java:17) ~[serenity-jira-plugin-1.8.0.jar:?]
at net.serenitybdd.plugins.jira.client.FindByJQLLoaderUsingBatches.load(FindByJQLLoaderUsingBatches.java:8) ~[serenity-jira-plugin-1.8.0.jar:?]
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3628) ~[guava-20.0.jar:?]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2336) ~[guava-20.0.jar:?]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2295) ~[guava-20.0.jar:?]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2208) ~[guava-20.0.jar:?]
at com.google.common.cache.LocalCache.get(LocalCache.java:4053) ~[guava-20.0.jar:?]
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4057) ~[guava-20.0.jar:?]
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4986) ~[guava-20.0.jar:?]
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.findByJQL(JerseyJiraClient.java:124) ~[serenity-jira-plugin-1.8.0.jar:?]
... 14 more
2018-06-26 15:04:39,347 DEBUG JIRARequirementsProvider [pool-7-thread-2] Loading root requirements done: 0
2018-06-26 15:04:39,352 DEBUG ConcurrentRequirementsLoader [pool-7-thread-2] Loading 0 requirements
2018-06-26 15:04:39,352 DEBUG RequirementsTagProvider [pool-7-thread-2] Requirements found:[]
2018-06-26 15:04:39,353 DEBUG JIRARequirementsProvider [pool-7-thread-2] Find parent requirement in JIRA for SmokeTest for Taxation Event APM
2018-06-26 15:04:39,516 DEBUG JIRARequirementsProvider [pool-7-thread-1] No root requirements found (JQL = issuetype = epic and project=GRK
net.serenitybdd.plugins.jira.model.JQLException: java.lang.NullPointerException
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.findByJQL(JerseyJiraClient.java:128) ~[serenity-jira-plugin-1.8.0.jar:?]
at net.serenitybdd.plugins.jira.requirements.JIRARequirementsProvider.getRequirements(JIRARequirementsProvider.java:114) [serenity-jira-requirements-provider-1.8.0.jar:?]
at net.thucydides.core.requirements.RequirementsProvided.by(RequirementsProvided.java:15) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.requirements.MultiSourceRequirementsService.getRequirements(MultiSourceRequirementsService.java:46) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.requirements.BaseRequirementsService.getRequirementTypes(BaseRequirementsService.java:186) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.reports.html.HtmlAcceptanceTestReporter.addTestOutcomeToContext(HtmlAcceptanceTestReporter.java:162) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.reports.html.HtmlAcceptanceTestReporter.generateReportFor(HtmlAcceptanceTestReporter.java:109) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.reports.ReportService.generateReportFor(ReportService.java:255) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.reports.ReportService.access$100(ReportService.java:32) [serenity-core-1.8.19.jar:1.8.19]
at net.thucydides.core.reports.ReportService$1.run(ReportService.java:186) [serenity-core-1.8.19.jar:1.8.19]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_65]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_65]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_65]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_65]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_65]
Caused by: java.lang.NullPointerException
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.convertToComment(JerseyJiraClient.java:300) ~[serenity-jira-plugin-1.8.0.jar:?]
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.commentsIn(JerseyJiraClient.java:290) ~[serenity-jira-plugin-1.8.0.jar:?]
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.convertToIssueSummary(JerseyJiraClient.java:279) ~[serenity-jira-plugin-1.8.0.jar:?]
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.loadByJQLBatches(JerseyJiraClient.java:153) ~[serenity-jira-plugin-1.8.0.jar:?]
at net.serenitybdd.plugins.jira.client.FindByJQLLoaderUsingBatches.load(FindByJQLLoaderUsingBatches.java:17) ~[serenity-jira-plugin-1.8.0.jar:?]
at net.serenitybdd.plugins.jira.client.FindByJQLLoaderUsingBatches.load(FindByJQLLoaderUsingBatches.java:8) ~[serenity-jira-plugin-1.8.0.jar:?]
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3628) ~[guava-20.0.jar:?]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2336) ~[guava-20.0.jar:?]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2295) ~[guava-20.0.jar:?]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2208) ~[guava-20.0.jar:?]
at com.google.common.cache.LocalCache.get(LocalCache.java:4053) ~[guava-20.0.jar:?]
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4057) ~[guava-20.0.jar:?]
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4986) ~[guava-20.0.jar:?]
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.findByJQL(JerseyJiraClient.java:124) ~[serenity-jira-plugin-1.8.0.jar:?]
I am using the following version in my pom.xml file
<properties>
<serenity.version>1.8.19</serenity.version>
<serenity.cucumber.version>1.6.9</serenity.cucumber.version>
</properties>
<plugin>
<groupId>net.serenity-bdd.maven.plugins</groupId>
<artifactId>serenity-maven-plugin</artifactId>
<version>1.8.20</version>
<executions>
<execution>
<id>serenity-reports</id>
<phase>post-integration-test</phase>
<goals>
<goal>aggregate</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>net.serenity-bdd</groupId>
<artifactId>serenity-jira-requirements-provider</artifactId>
<version>1.8.0</version>
</dependency>
</dependencies>
</plugin>
<dependency>
<groupId>net.serenity-bdd</groupId>
<artifactId>serenity-core</artifactId>
<version>${serenity.version}</version>
</dependency>
<dependency>
<groupId>net.serenity-bdd</groupId>
<artifactId>serenity-cucumber</artifactId>
<version>${serenity.cucumber.version}</version>
</dependency>
<dependency>
<groupId>net.serenity-bdd</groupId>
<artifactId>serenity-jira-plugin</artifactId>
<version>1.8.0</version>
</dependency>
<dependency>
<groupId>net.serenity-bdd</groupId>
<artifactId>serenity-jira-requirements-provider</artifactId>
<version>1.8.0</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>htmlunit-driver</artifactId>
<version>2.28.5</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>1.9.5</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>20.0</version>
</dependency>
<dependency>
<groupId>net.serenity-bdd</groupId>
<artifactId>serenity-spring</artifactId>
<version>1.8.19</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-common</artifactId>
<version>2.25.1</version>
</dependency>
`
Kindly provide your thoughts on this issue
The text was updated successfully, but these errors were encountered: