You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "John D. Ament (JIRA)" <ji...@apache.org> on 2016/06/26 21:24:51 UTC
[jira] [Commented] (DELTASPIKE-1179) [Deltaspike Data]
ContextNotActiveException: WELD-001303: No active contexts for scope type
javax.enterprise.context.ApplicationScoped
[ https://issues.apache.org/jira/browse/DELTASPIKE-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15350259#comment-15350259 ]
John D. Ament commented on DELTASPIKE-1179:
-------------------------------------------
Hi [~tibor17]
Thanks for the report. I looked at your repo but cannot find any files named "Java8" in there. Are you sure you pushed the branch?
> [Deltaspike Data] ContextNotActiveException: WELD-001303: No active contexts for scope type javax.enterprise.context.ApplicationScoped
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DELTASPIKE-1179
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-1179
> Project: DeltaSpike
> Issue Type: Bug
> Components: Data-Module
> Affects Versions: 1.7.0
> Reporter: Tibor Digana
> Priority: Critical
>
> I have two repositories _MyRepository_ and _Java8Repository_ which refer both to the same entity. They represent a service.
> The first test _producer.Java8RepoTest_ passed but the second test _producer.ProducerTest_ failed in container while trying to call the business method on _MyRepository_. I have no idea why this coincidence happens but standalone tests running always pass but running them together the testset fails.
> Run Maven command
> {code}
> mvn --pl features/generic-dao-producer/deltaspike-generic-dao test
> {code}
> and this is my project in GitHub
> https://github.com/Tibor17/javaee-samples.git
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)