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 2014/03/04 12:04:21 UTC
[jira] [Created] (SLING-3431) NPE in analyzeVotings when turning on
DEBUG logging
Stefan Egli created SLING-3431:
----------------------------------
Summary: NPE in analyzeVotings when turning on DEBUG logging
Key: SLING-3431
URL: https://issues.apache.org/jira/browse/SLING-3431
Project: Sling
Issue Type: Bug
Components: Extensions
Affects Versions: Discovery Impl 1.0.2
Reporter: Stefan Egli
Assignee: Stefan Egli
Following NullPointerException occurs when turning log level to DEBUG (ie doesn't occur with higher log levels as this block of code is hidden then):
java.lang.NullPointerException
at org.apache.sling.discovery.impl.common.View.getViewId(View.java:88)
at org.apache.sling.discovery.impl.cluster.voting.VotingView.toString(VotingView.java:151)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at org.apache.sling.discovery.impl.cluster.voting.VotingHandler.analyzeVotings(VotingHandler.java:194)
at org.apache.sling.discovery.impl.cluster.voting.VotingHandler.handleEvent(VotingHandler.java:117)
at org.apache.sling.discovery.impl.setup.Instance$1.onEvent(Instance.java:324)
at org.apache.jackrabbit.core.observation.EventConsumer.consumeEvents(EventConsumer.java:248)
at org.apache.jackrabbit.core.observation.ObservationDispatcher.run(ObservationDispatcher.java:161)
at java.lang.Thread.run(Thread.java:701)
--
This message was sent by Atlassian JIRA
(v6.2#6252)