polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niclas Hedhman (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (POLYGENE-310) ConstraintViolationException throws NullPointerException
Date Mon, 20 Aug 2018 07:31:00 GMT

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

Niclas Hedhman updated POLYGENE-310:
------------------------------------
    Description: 
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}




  was:

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, a NullPointerCondition
happens.




> 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)

Mime
View raw message