jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject SPI: NPE in QValue.create
Date Thu, 02 Nov 2006 17:32:42 GMT
Hi,

I'm getting an NPE inside jcr2spi if my QPropertyDefinition returns null 
  upon getDefaultValues(). Looking at the JCR API for 
PropertyDefinition, it seems to me that null and empty arrays have 
different semantics, so SPI should support both...

Best regards, Julian


===

java.lang.NullPointerException
	at org.apache.jackrabbit.value.QValue.create(QValue.java:135)
	at 
org.apache.jackrabbit.jcr2spi.nodetype.PropertyDefinitionImpl.getDefaultValues(PropertyDefinitionImpl.java:77)

Mime
View raw message