jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Parvulescu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-299) Node Type support: SQL2QueryResultTest fails
Date Mon, 10 Sep 2012 13:40:07 GMT
Alex Parvulescu created OAK-299:
-----------------------------------

             Summary: Node Type support: SQL2QueryResultTest fails
                 Key: OAK-299
                 URL: https://issues.apache.org/jira/browse/OAK-299
             Project: Jackrabbit Oak
          Issue Type: Sub-task
            Reporter: Alex Parvulescu


Another jackrabit query test that fails: {{SQL2QueryResultTest#testSQL2SelectColums}} [0]

I think this one is about node types [1]




[0]
https://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/SQL2QueryResultTest.java

[1]
javax.jcr.nodetype.ConstraintViolationException: Can't add node node1 at /testroot
	at org.apache.jackrabbit.oak.plugins.type.TypeValidator.throwConstraintViolationException(TypeValidator.java:213)
	at org.apache.jackrabbit.oak.plugins.type.TypeValidator.childNodeAdded(TypeValidator.java:114)
	at org.apache.jackrabbit.oak.spi.commit.CompositeValidator.childNodeAdded(CompositeValidator.java:68)
	at org.apache.jackrabbit.oak.spi.commit.ValidatingHook$ValidatorDiff.childNodeAdded(ValidatingHook.java:157)
	at org.apache.jackrabbit.oak.spi.state.AbstractNodeState.compareAgainstBaseState(AbstractNodeState.java:134)
	at org.apache.jackrabbit.oak.kernel.KernelNodeState.compareAgainstBaseState(KernelNodeState.java:233)
	at org.apache.jackrabbit.oak.spi.commit.ValidatingHook$ValidatorDiff.validate(ValidatingHook.java:112)
	at org.apache.jackrabbit.oak.spi.commit.ValidatingHook$ValidatorDiff.validate(ValidatingHook.java:103)
	at org.apache.jackrabbit.oak.spi.commit.ValidatingHook$ValidatorDiff.childNodeChanged(ValidatingHook.java:175)
	at org.apache.jackrabbit.oak.spi.state.AbstractNodeState.compareAgainstBaseState(AbstractNodeState.java:127)
	at org.apache.jackrabbit.oak.kernel.KernelNodeState.compareAgainstBaseState(KernelNodeState.java:233)
	at org.apache.jackrabbit.oak.spi.commit.ValidatingHook$ValidatorDiff.validate(ValidatingHook.java:112)
	at org.apache.jackrabbit.oak.spi.commit.ValidatingHook$ValidatorDiff.validate(ValidatingHook.java:103)
	at org.apache.jackrabbit.oak.spi.commit.ValidatingHook.processCommit(ValidatingHook.java:75)
	at org.apache.jackrabbit.oak.spi.commit.CompositeHook.processCommit(CompositeHook.java:50)
	at org.apache.jackrabbit.oak.kernel.KernelNodeStoreBranch.merge(KernelNodeStoreBranch.java:128)
	at org.apache.jackrabbit.oak.core.RootImpl$1.run(RootImpl.java:172)
	at org.apache.jackrabbit.oak.core.RootImpl$1.run(RootImpl.java:1)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:337)
	at org.apache.jackrabbit.oak.core.RootImpl.commit(RootImpl.java:167)
	at org.apache.jackrabbit.oak.jcr.SessionDelegate.save(SessionDelegate.java:225)
	at org.apache.jackrabbit.oak.jcr.SessionImpl.save(SessionImpl.java:274)
	at org.apache.jackrabbit.core.query.SQL2QueryResultTest.setUp(SQL2QueryResultTest.java:59)
	at junit.framework.TestCase.runBare(TestCase.java:132)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at org.apache.jackrabbit.test.AbstractJCRTest.run(AbstractJCRTest.java:456)
	at junit.framework.TestSuite.runTest(TestSuite.java:243)
	at junit.framework.TestSuite.run(TestSuite.java:238)
	at junit.framework.TestSuite.runTest(TestSuite.java:243)
	at org.apache.jackrabbit.test.ConcurrentTestSuite.access$001(ConcurrentTestSuite.java:29)
	at org.apache.jackrabbit.test.ConcurrentTestSuite$2.run(ConcurrentTestSuite.java:67)
	at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:662)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message