You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Pankaj Parashar (JIRA)" <ji...@apache.org> on 2018/11/02 05:32:00 UTC
[jira] [Created] (SLING-8066) MockProperty.setValue(final Value[]
newValues) throws null pointer exception value is passed as null
Pankaj Parashar created SLING-8066:
--------------------------------------
Summary: MockProperty.setValue(final Value[] newValues) throws null pointer exception value is passed as null
Key: SLING-8066
URL: https://issues.apache.org/jira/browse/SLING-8066
Project: Sling
Issue Type: Bug
Components: Testing
Affects Versions: Testing JCR Mock 1.4.0
Reporter: Pankaj Parashar
Fix For: Testing JCR Mock 1.4.2
There is no null check in this api method. In our case product code is passing a null value in the below form for a multivalve property.
currentNode.setProperty(propertyName, (String[])null);
MockProperty api throws null pointer exception when we use JCR mocking.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)