[ANNOUNCE] Apache Jackrabbit 2.18.2 released

2019-05-28 Thread Julian Reschke

The Apache Jackrabbit community is pleased to announce the release of
Apache Jackrabbit 2.18.2. The release is available for download at:

 http://jackrabbit.apache.org/downloads.html

See the full release notes below for details about this release:



Release Notes -- Apache Jackrabbit -- Version 2.18.2

Introduction


This is Apache Jackrabbit(TM) 2.18.2, a fully compliant implementation 
of the

Content Repository for Java(TM) Technology API, version 2.0 (JCR 2.0) as
specified in the Java Specification Request 283 (JSR 283).

Apache Jackrabbit 2.18.2 is an incremental feature release based on
and compatible with earlier stable Jackrabbit 2.x releases. Jackrabbit
2.18.x releases are considered stable and targeted for production use.

The minimum Java version for this release is Java 8. See

  http://jackrabbit.apache.org/jcr/downloads.html

for maintenance versions that support earlier Java versions.


Changes in Jackrabbit 2.18.2


Bug

[JCR-4425] - NodeSetPrimaryTypeTest.testSetPrimaryType() must not 
use nt:activity


New Feature

[JCR-4429] - Add extension of JackrabbitAccessControlList bound to 
a principal


Task

[JCR-4428] - update Apache parent pom to version 21
[JCR-4439] - disable baseline check for jackrabbit-bundle


For more detailed information about all the changes in this and other
Jackrabbit releases, please see the Jackrabbit issue tracker at

https://issues.apache.org/jira/browse/JCR

Release Contents


This release consists of a single source archive packaged as a zip file.
The archive can be unpacked with the jar tool from your JDK installation.
See the README.txt file for instructions on how to build this release.

The source archive is accompanied by an SHA512 checksum and a
PGP signature that you can use to verify the authenticity of your
download. The public key used for the PGP signature can be found at
https://www.apache.org/dist/jackrabbit/KEYS.

About Apache Jackrabbit
---

Apache Jackrabbit is a fully conforming implementation of the Content
Repository for Java Technology API (JCR). A content repository is a
hierarchical content store with support for structured and unstructured
content, full text search, versioning, transactions, observation, and
more.

For more information, visit http://jackrabbit.apache.org/

About The Apache Software Foundation


Established in 1999, The Apache Software Foundation provides organizational,
legal, and financial support for more than 140 freely-available,
collaboratively-developed Open Source projects. The pragmatic Apache License
enables individual and commercial users to easily deploy Apache software;
the Foundation's intellectual property framework limits the legal exposure
of its 3,800+ contributors.

For more information, visit http://www.apache.org/

Trademarks
--

Apache Jackrabbit, Jackrabbit, Apache, the Apache feather logo, and the 
Apache

Jackrabbit project logo are trademarks of The Apache Software Foundation.


Unused features in AzureDataStore?

2019-05-28 Thread Matt Ryan
Hi,

I'm in the process of updating AzureDataStore to use the latest Azure SDK -
which requires almost a complete rewrite of AzureBlobStoreBackend.  See
OAK-8105.

In doing this I'm seeing some minor features in the old implementation that
do not appear to have a direct counterpart in the new SDK.  So far there
are two that stand out:
- Allowing the use of a proxy (proxy host and port settings) to be used to
communicate with the cloud storage
- Allowing the definition of the connection using a shared-access signature
rather than via account name and account key

Does anyone know if these features are actually used?  I don't wish to
spuriously deprecate features, especially if they are used in the wild.
However, there is already a serious issue with Azure (OAK-8104) waiting on
this update.


-MR


BUILD FAILURE: Jackrabbit Oak - Build # 2177 - Failure

2019-05-28 Thread Apache Jenkins Server
The Apache Jenkins build system has built Jackrabbit Oak (build #2177)

Status: Failure

Check console output at https://builds.apache.org/job/Jackrabbit%20Oak/2177/ to 
view the results.

Changes:
[angela] OAK-8354 : Fix/Add nullability annotations with 
o.a.j.oak.security.user package

[angela] OAK-8321 : Use format specifier for log output (in 
o.a.j.o.security.user)

[mreutegg] OAK-8353: Additional test for OAK-8012

[thomasm] OAK-8261 Indexing lane failing but the index is not marked corrupt

[angela] OAK-8227 : Performance benchmarks (wip)

 

Test results:
3 tests failed.
FAILED:  
org.apache.jackrabbit.oak.jcr.security.user.AuthorizablePropertyTest.testGetPropertyByInvalidRelativePath

Error Message:
null

Stack Trace:
java.lang.NullPointerException
at 
org.apache.jackrabbit.oak.security.user.AuthorizablePropertiesImpl.getOakPath(AuthorizablePropertiesImpl.java:297)
at 
org.apache.jackrabbit.oak.security.user.AuthorizablePropertiesImpl.getProperty(AuthorizablePropertiesImpl.java:99)
at 
org.apache.jackrabbit.oak.security.user.AuthorizableImpl.getProperty(AuthorizableImpl.java:118)
at 
org.apache.jackrabbit.oak.jcr.delegate.AuthorizableDelegator$12.perform(AuthorizableDelegator.java:213)
at 
org.apache.jackrabbit.oak.jcr.delegate.AuthorizableDelegator$12.perform(AuthorizableDelegator.java:209)
at 
org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:207)
at 
org.apache.jackrabbit.oak.jcr.delegate.AuthorizableDelegator.getProperty(AuthorizableDelegator.java:209)
at 
org.apache.jackrabbit.oak.jcr.security.user.AuthorizablePropertyTest.testGetPropertyByInvalidRelativePath(AuthorizablePropertyTest.java:216)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at org.apache.jackrabbit.test.JCRTestResult.run(JCRTestResult.java:75)
at junit.framework.TestCase.run(TestCase.java:129)
at 
org.apache.jackrabbit.test.AbstractJCRTest.run(AbstractJCRTest.java:476)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)


FAILED:  
org.apache.jackrabbit.oak.jcr.security.user.AuthorizablePropertyTest.testHasPropertyByInvalidRelativePath

Error Message:
null

Stack Trace:
java.lang.NullPointerException
at 
org.apache.jackrabbit.oak.security.user.AuthorizablePropertiesImpl.getOakPath(AuthorizablePropertiesImpl.java:297)
at 
org.apache.jackrabbit.oak.security.user.AuthorizablePropertiesImpl.hasProperty(AuthorizablePropertiesImpl.java:90)
at 
org.apache.jackrabbit.oak.security.user.AuthorizableImpl.hasProperty(AuthorizableImpl.java:113)
at 
org.apache.jackrabbit.oak.jcr.delegate.AuthorizableDelegator$9.perform(AuthorizableDelegator.java:182)
at 
org.apache.jackrabbit.oak.jcr.delegate.AuthorizableDelegator$9.perform(AuthorizableDelegator.java:178)
at 
org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:207)
at 
org.apache.jackrabbit.oak.jcr.delegate.AuthorizableDelegator.hasProperty(AuthorizableDelegator.java:178)
at 
org.apache.jackrabbit.oak.jcr.security.user.AuthorizablePropertyTest.testHasPropertyByInvalidRelativePath(AuthorizablePropertyTest.java:241)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 

BUILD FAILURE: Jackrabbit Oak - Build # 2178 - Still Failing

2019-05-28 Thread Apache Jenkins Server
The Apache Jenkins build system has built Jackrabbit Oak (build #2178)

Status: Still Failing

Check console output at https://builds.apache.org/job/Jackrabbit%20Oak/2178/ to 
view the results.

Changes:
[tomekr] OAK-8356: Support append mode in the SegmentStoreMigrator

[tomekr] OAK-8357: Support the truncate operation for the GCJournalFile

[reschke] OAK-8248: Update Oak trunk and 1.10 to Jackrabbit 2.18.2

 

Test results:
3 tests failed.
FAILED:  
org.apache.jackrabbit.oak.jcr.security.user.AuthorizablePropertyTest.testGetPropertyByInvalidRelativePath

Error Message:
null

Stack Trace:
java.lang.NullPointerException
at 
org.apache.jackrabbit.oak.security.user.AuthorizablePropertiesImpl.getOakPath(AuthorizablePropertiesImpl.java:297)
at 
org.apache.jackrabbit.oak.security.user.AuthorizablePropertiesImpl.getProperty(AuthorizablePropertiesImpl.java:99)
at 
org.apache.jackrabbit.oak.security.user.AuthorizableImpl.getProperty(AuthorizableImpl.java:118)
at 
org.apache.jackrabbit.oak.jcr.delegate.AuthorizableDelegator$12.perform(AuthorizableDelegator.java:213)
at 
org.apache.jackrabbit.oak.jcr.delegate.AuthorizableDelegator$12.perform(AuthorizableDelegator.java:209)
at 
org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:207)
at 
org.apache.jackrabbit.oak.jcr.delegate.AuthorizableDelegator.getProperty(AuthorizableDelegator.java:209)
at 
org.apache.jackrabbit.oak.jcr.security.user.AuthorizablePropertyTest.testGetPropertyByInvalidRelativePath(AuthorizablePropertyTest.java:216)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at org.apache.jackrabbit.test.JCRTestResult.run(JCRTestResult.java:75)
at junit.framework.TestCase.run(TestCase.java:129)
at 
org.apache.jackrabbit.test.AbstractJCRTest.run(AbstractJCRTest.java:476)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)


FAILED:  
org.apache.jackrabbit.oak.jcr.security.user.AuthorizablePropertyTest.testHasPropertyByInvalidRelativePath

Error Message:
null

Stack Trace:
java.lang.NullPointerException
at 
org.apache.jackrabbit.oak.security.user.AuthorizablePropertiesImpl.getOakPath(AuthorizablePropertiesImpl.java:297)
at 
org.apache.jackrabbit.oak.security.user.AuthorizablePropertiesImpl.hasProperty(AuthorizablePropertiesImpl.java:90)
at 
org.apache.jackrabbit.oak.security.user.AuthorizableImpl.hasProperty(AuthorizableImpl.java:113)
at 
org.apache.jackrabbit.oak.jcr.delegate.AuthorizableDelegator$9.perform(AuthorizableDelegator.java:182)
at 
org.apache.jackrabbit.oak.jcr.delegate.AuthorizableDelegator$9.perform(AuthorizableDelegator.java:178)
at 
org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:207)
at 
org.apache.jackrabbit.oak.jcr.delegate.AuthorizableDelegator.hasProperty(AuthorizableDelegator.java:178)
at 
org.apache.jackrabbit.oak.jcr.security.user.AuthorizablePropertyTest.testHasPropertyByInvalidRelativePath(AuthorizablePropertyTest.java:241)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at junit.framework.TestCase.runTest(TestCase.java:176)
at 

BUILD FAILURE: Jackrabbit Oak - Build # 2179 - Still Failing

2019-05-28 Thread Apache Jenkins Server
The Apache Jenkins build system has built Jackrabbit Oak (build #2179)

Status: Still Failing

Check console output at https://builds.apache.org/job/Jackrabbit%20Oak/2179/ to 
view the results.

Changes:
[adulceanu] OAK-8358 - oak-run check should have an option for specifying 
memory mapping

 

Test results:
3 tests failed.
FAILED:  
org.apache.jackrabbit.oak.jcr.security.user.AuthorizablePropertyTest.testGetPropertyByInvalidRelativePath

Error Message:
null

Stack Trace:
java.lang.NullPointerException
at 
org.apache.jackrabbit.oak.security.user.AuthorizablePropertiesImpl.getOakPath(AuthorizablePropertiesImpl.java:297)
at 
org.apache.jackrabbit.oak.security.user.AuthorizablePropertiesImpl.getProperty(AuthorizablePropertiesImpl.java:99)
at 
org.apache.jackrabbit.oak.security.user.AuthorizableImpl.getProperty(AuthorizableImpl.java:118)
at 
org.apache.jackrabbit.oak.jcr.delegate.AuthorizableDelegator$12.perform(AuthorizableDelegator.java:213)
at 
org.apache.jackrabbit.oak.jcr.delegate.AuthorizableDelegator$12.perform(AuthorizableDelegator.java:209)
at 
org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:207)
at 
org.apache.jackrabbit.oak.jcr.delegate.AuthorizableDelegator.getProperty(AuthorizableDelegator.java:209)
at 
org.apache.jackrabbit.oak.jcr.security.user.AuthorizablePropertyTest.testGetPropertyByInvalidRelativePath(AuthorizablePropertyTest.java:216)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at org.apache.jackrabbit.test.JCRTestResult.run(JCRTestResult.java:75)
at junit.framework.TestCase.run(TestCase.java:129)
at 
org.apache.jackrabbit.test.AbstractJCRTest.run(AbstractJCRTest.java:476)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)


FAILED:  
org.apache.jackrabbit.oak.jcr.security.user.AuthorizablePropertyTest.testHasPropertyByInvalidRelativePath

Error Message:
null

Stack Trace:
java.lang.NullPointerException
at 
org.apache.jackrabbit.oak.security.user.AuthorizablePropertiesImpl.getOakPath(AuthorizablePropertiesImpl.java:297)
at 
org.apache.jackrabbit.oak.security.user.AuthorizablePropertiesImpl.hasProperty(AuthorizablePropertiesImpl.java:90)
at 
org.apache.jackrabbit.oak.security.user.AuthorizableImpl.hasProperty(AuthorizableImpl.java:113)
at 
org.apache.jackrabbit.oak.jcr.delegate.AuthorizableDelegator$9.perform(AuthorizableDelegator.java:182)
at 
org.apache.jackrabbit.oak.jcr.delegate.AuthorizableDelegator$9.perform(AuthorizableDelegator.java:178)
at 
org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:207)
at 
org.apache.jackrabbit.oak.jcr.delegate.AuthorizableDelegator.hasProperty(AuthorizableDelegator.java:178)
at 
org.apache.jackrabbit.oak.jcr.security.user.AuthorizablePropertyTest.testHasPropertyByInvalidRelativePath(AuthorizablePropertyTest.java:241)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)