Description
The AggregateManagerImpl.mount() contains this line of code:
assert mountpoint.getWorkspace().equals(session.getWorkspace().getName());
This assertion is throwing an Null Pointer Exception as mount point.getWorkspace() returns null if the workspace is '-'.
In addition my mountpoint's workspace is '-' and the session's workspace name is 'crx.default' and it works so I would think the assertion is not correct or at least overzealous.
Jackrabbit VLT is used within Apache Sling impl-vlt package and that is used inside an IntelliJ Plugin. By default IntelliJ runs with the '-ea' flag causing my code to fail with an NPE.