[
https://issues.apache.org/jira/browse/DELTASPIKE-787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14227434#comment-14227434
]
Wojciech Żaboklicki edited comment on DELTASPIKE-787 at 11/27/14 9:34 AM:
--------------------------------------------------------------------------
I have attached wildfly compatible simple test case project.
After deploy you can test by url http://localhost:8080/dto-repository-test/test
was (Author: zabian):
I have attache wildfly compatible simple test case project.
After deploy you can test by url http://localhost:8080/dto-repository-test/test
> NPE in EntityRepositoryHandler for persistent methods of DTO EntityRepository
> -----------------------------------------------------------------------------
>
> Key: DELTASPIKE-787
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-787
> Project: DeltaSpike
> Issue Type: Bug
> Components: Data-Module
> Affects Versions: 1.0.2, 1.0.3, 1.1.0
> Environment: Wildfly 8.1.0.Final/8.2.0.Final, Win7
> Reporter: Wojciech Żaboklicki
> Priority: Critical
> Attachments: dto-repository-test.zip
>
>
> NPE when trying to save object using DTO Repository (or any other persistent
> operation). Non-persistent operations, like finBy or findAll, work fine.
> Piece of stacktrace:
> Caused by: java.lang.NullPointerException
> at
> org.apache.deltaspike.data.impl.handler.EntityRepositoryHandler.save(EntityRepositoryHandler.java:66)
> [deltaspike-data-module-impl-1.1.0.jar:1.1.0]
> Debugger shows that entity provided to the method is correct, that means
> another Repository, used for dto to entity mapping in the same thread, works
> fine.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)