You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2008/10/14 09:07:44 UTC
[jira] Created: (JCR-1810) Jcr-Test: SerializationTest logs
exception during tearDown.
Jcr-Test: SerializationTest logs exception during tearDown.
-----------------------------------------------------------
Key: JCR-1810
URL: https://issues.apache.org/jira/browse/JCR-1810
Project: Jackrabbit
Issue Type: Bug
Components: jackrabbit-jcr-tests
Reporter: angela
Priority: Minor
SerializationTest logs during tearDown the following exception:
javax.jcr.RepositoryException: This session has been closed
from my point of view this is caused by the Session.logout already called in the test, while the session used
is the 'superuser' that will later be used to clean up the test data.
setUp:
session = superuser;
tearDown:
if (session != null && session.isLive()) {
session.logout();
session = null;
}
i guess the latter could be skipped. logging out the 'superuser' is completed in the AbstractJCRTest and the other test cases rely on that as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JCRTCK-9) Jcr-Test: SerializationTest logs
exception during tearDown.
Posted by "Nikolay Zamosenchuk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCRTCK-9?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12883835#action_12883835 ]
Nikolay Zamosenchuk commented on JCRTCK-9:
------------------------------------------
Hi, all!
Is it planned to be fixed in near future?
> Jcr-Test: SerializationTest logs exception during tearDown.
> -----------------------------------------------------------
>
> Key: JCRTCK-9
> URL: https://issues.apache.org/jira/browse/JCRTCK-9
> Project: Jackrabbit JCR Tests
> Issue Type: Bug
> Reporter: angela
> Priority: Minor
>
> SerializationTest logs during tearDown the following exception:
> javax.jcr.RepositoryException: This session has been closed
> from my point of view this is caused by the Session.logout already called in the test, while the session used
> is the 'superuser' that will later be used to clean up the test data.
> setUp:
> session = superuser;
> tearDown:
> if (session != null && session.isLive()) {
> session.logout();
> session = null;
> }
> i guess the latter could be skipped. logging out the 'superuser' is completed in the AbstractJCRTest and the other test cases rely on that as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.