You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@polygene.apache.org by "Niclas Hedhman (JIRA)" <ji...@apache.org> on 2018/08/20 07:31:00 UTC

[jira] [Updated] (POLYGENE-310) ConstraintViolationException throws NullPointerException

     [ https://issues.apache.org/jira/browse/POLYGENE-310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niclas Hedhman updated POLYGENE-310:
------------------------------------
    Affects Version/s: 3.0.0

> ConstraintViolationException throws NullPointerException
> --------------------------------------------------------
>
>                 Key: POLYGENE-310
>                 URL: https://issues.apache.org/jira/browse/POLYGENE-310
>             Project: Polygene
>          Issue Type: New Feature
>    Affects Versions: 3.0.0
>            Reporter: Niclas Hedhman
>            Priority: Major
>
> If the comments in https://issues.apache.org/jira/browse/POLYGENE-309 are removed, a ConstraintViolationException is expected to be thrown. But during the construction of that exception's message, a NullPointerCondition happens.
> {code}
> java.lang.NullPointerException
> 	at org.apache.polygene.api.constraint.ConstraintViolationException.localizedMessageFrom(ConstraintViolationException.java:200)
> 	at org.apache.polygene.api.constraint.ConstraintViolationException.getMessage(ConstraintViolationException.java:247)
> 	at java.lang.Throwable.getLocalizedMessage(Throwable.java:391)
> 	at java.lang.Throwable.toString(Throwable.java:480)
> 	at java.lang.String.valueOf(String.java:2994)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)