Skip to content

SimpleJpaRepository.delete(Specification<T> spec) throws NullPointerException [Kotlin] #3439

Closed as not planned
@ASaludo

Description

@ASaludo

Hello,

I have a problem using JpaSpecificationExecutor.delete using a Specification Object

I'm using Kotlin and the @nullable on top of the toPredicate function of Specification used line 477 with the null parameter of query seemed to be the problem

java.lang.NullPointerException: Parameter specified as non-null is null: ... at org.springframework.data.jpa.repository.support.SimpleJpaRepository.delete(SimpleJpaRepository.java:477)

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions