You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Karl Pauls (Jira)" <ji...@apache.org> on 2021/06/07 09:09:00 UTC
[jira] [Closed] (SLING-9821) Error message points to non-existing
method
[ https://issues.apache.org/jira/browse/SLING-9821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Pauls closed SLING-9821.
-----------------------------
> Error message points to non-existing method
> -------------------------------------------
>
> Key: SLING-9821
> URL: https://issues.apache.org/jira/browse/SLING-9821
> Project: Sling
> Issue Type: Bug
> Components: JCR
> Reporter: Angela Schreiber
> Assignee: Karl Pauls
> Priority: Trivial
> Fix For: JCR Base 3.1.8
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> https://github.com/apache/sling-org-apache-sling-jcr-base/blame/master/src/main/java/org/apache/sling/jcr/base/AbstractSlingRepositoryManager.java#L573
> logs the following error:
> {code}
> log.error("start: Uncaught Throwable trying to access Repository, calling stopRepository()", e);
> {code}
> but there no method {{stopRepository()}}. the method that is called is {{stop()}}.
> so, the right log output should read instead:
> {code}
> log.error("start: Uncaught Throwable trying to access Repository, calling stop()", e);
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)