You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Andi Huber (Jira)" <ji...@apache.org> on 2022/11/19 06:51:00 UTC
[jira] [Resolved] (ISIS-3282) [JPA] Potential NPE in EclipseLink Exception Translation
[ https://issues.apache.org/jira/browse/ISIS-3282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andi Huber resolved ISIS-3282.
------------------------------
Resolution: Fixed
fixed by handling null case well
> [JPA] Potential NPE in EclipseLink Exception Translation
> --------------------------------------------------------
>
> Key: ISIS-3282
> URL: https://issues.apache.org/jira/browse/ISIS-3282
> Project: Isis
> Issue Type: Bug
> Components: Isis Persistence JPA
> Affects Versions: 2.0.0-M9
> Reporter: Andi Huber
> Assignee: Andi Huber
> Priority: Major
> Fix For: 2.0.0-RC1
>
>
> java.lang.NullPointerException
> ...
> org.apache.isis.persistence.jpa.eclipselink.IsisModulePersistenceJpaEclipselink$2#translateExceptionIfPossible(IsisModulePersistenceJpaEclipselink.java:200)
> see also: https://stackoverflow.com/questions/32466799/why-does-findfirst-throw-a-nullpointerexception-if-the-first-element-it-finds
--
This message was sent by Atlassian Jira
(v8.20.10#820010)