jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: svn commit: r1412910 - /jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/ReadWriteOakDirectory.java
Date Tue, 27 Nov 2012 10:50:17 GMT

On Tue, Nov 27, 2012 at 12:46 PM, Michael Dürig <mduerig@apache.org> wrote:
> On 23.11.12 15:17, alexparvulescu@apache.org wrote:
>>   - added node types to the index nodes, to prevent a NPE in the node type
>> validation code
> Thanks for fixing this. However, I think we should also fix the NPE. A
> missing node type might be an error condition, but it shouldn't result in a
> NPE. Do you have a way to reproduce this? If you, could you log an issue?

Since the index nodes are hidden the type validator should never be
looking at them in the first place, and thus I'd even like to avoid
having to use workarounds like the extra jcr:primaryType setting in
the index nodes.


Jukka Zitting

View raw message