You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Egli (JIRA)" <ji...@apache.org> on 2017/10/10 09:44:00 UTC

[jira] [Commented] (SLING-7153) NPE in TopologyWebConsolePlugin

    [ https://issues.apache.org/jira/browse/SLING-7153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16198429#comment-16198429 ] 

Stefan Egli commented on SLING-7153:
------------------------------------

minimalistic fix: not log error in this case but only a log.info - done [here|http://svn.apache.org/viewvc?rev=1811654&view=rev]

> NPE in TopologyWebConsolePlugin
> -------------------------------
>
>                 Key: SLING-7153
>                 URL: https://issues.apache.org/jira/browse/SLING-7153
>             Project: Sling
>          Issue Type: Bug
>    Affects Versions: Discovery Oak 1.2.14
>            Reporter: Stefan Egli
>            Assignee: Stefan Egli
>            Priority: Minor
>
> The below NullPointerException has been witnessed. As the TopologyWebConsolePlugin is for display purpose only, there is no impact on functionality as a result of this (hence this is a minor issue)
> {noformat}18.09.2017 21:20:55.536 *ERROR* [Discovery-AsyncEventSender] org.apache.sling.discovery.oak.TopologyWebConsolePlugin addDiscoveryLiteHistoryEntry: Exception: java.lang.NullPointerException
> java.lang.NullPointerException: null
> 	at org.apache.sling.discovery.oak.TopologyWebConsolePlugin.getResourceResolver(TopologyWebConsolePlugin.java:233)
> 	at org.apache.sling.discovery.oak.TopologyWebConsolePlugin.updateDiscoveryLiteHistory(TopologyWebConsolePlugin.java:770)
> 	at org.apache.sling.discovery.oak.TopologyWebConsolePlugin.handleTopologyEvent(TopologyWebConsolePlugin.java:722)
> 	at org.apache.sling.discovery.commons.providers.base.AsyncTopologyEvent.trigger(AsyncTopologyEvent.java:53)
> 	at org.apache.sling.discovery.commons.providers.base.AsyncEventSender.run(AsyncEventSender.java:118)
> 	at java.lang.Thread.run(Thread.java:745){noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)