You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Timothee Maret (JIRA)" <ji...@apache.org> on 2015/12/16 11:48:46 UTC
[jira] [Commented] (SLING-5380) NPE in TopologyWebConsolePlugin
addDiscoveryLiteHistoryEntry
[ https://issues.apache.org/jira/browse/SLING-5380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15059820#comment-15059820 ]
Timothee Maret commented on SLING-5380:
---------------------------------------
It may be that {{resourceResolverFactory}} is {{null}} in the {{getResourceResolver}} thus causing the NPE.
> NPE in TopologyWebConsolePlugin addDiscoveryLiteHistoryEntry
> ------------------------------------------------------------
>
> Key: SLING-5380
> URL: https://issues.apache.org/jira/browse/SLING-5380
> Project: Sling
> Issue Type: Bug
> Components: Extensions
> Affects Versions: Discovery Oak 1.2.0
> Reporter: Timothee Maret
>
> In our logs we sometimes observe a NPE at start up.
> {code}
> Error Message
> error.log contains the unexpected line: 14.12.2015 16:52:50.791 *ERROR* [Discovery-AsyncEventSender] org.apache.sling.discovery.oak.TopologyWebConsolePlugin addDiscoveryLiteHistoryEntry: Exception: java.lang.NullPointerException
> Stacktrace
> junit.framework.AssertionFailedError: error.log contains the unexpected line: 14.12.2015 16:52:50.791 *ERROR* [Discovery-AsyncEventSender] org.apache.sling.discovery.oak.TopologyWebConsolePlugin addDiscoveryLiteHistoryEntry: Exception: java.lang.NullPointerException
> at junit.framework.Assert.fail(Assert.java:57)
> at com.adobe.granite.quickstart.it.AAALogFileIT.testLogFiles(AAALogFileIT.java:100)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)