sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pankaj Parashar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SLING-8066) MockProperty.setValue(final String[] newValues) throws null pointer exception
Date Wed, 14 Nov 2018 10:04:00 GMT

    [ https://issues.apache.org/jira/browse/SLING-8066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16686286#comment-16686286
] 

Pankaj Parashar commented on SLING-8066:
----------------------------------------

[~sseifert@pro-vision.de], when 1.4.2 will be released?

> MockProperty.setValue(final String[] newValues)  throws null pointer exception
> ------------------------------------------------------------------------------
>
>                 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
>            Assignee: Stefan Seifert
>            Priority: Blocker
>             Fix For: Testing JCR Mock 1.4.2
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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)

Mime
View raw message