CDI Injection in Eventlistener is not Working in EAP 7.0.x

Solution In Progress - Updated -

Issue

I get the Error following Error when i try to Inject a Principal in my EntityListener.

java.lang.Exception: {"WFLYCTL0080: Fehlgeschlagene Dienste" => {"jboss.persistenceunit.\"MyWar.war#PUINT\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"MyWar.war#PUINT\": javax.persistence.PersistenceException: [PersistenceUnit: PUINT] Unable to build Hibernate SessionFactory Caused by: javax.persistence.PersistenceException: [PersistenceUnit: PUINT] Unable to build Hibernate SessionFactory Caused by: org.jboss.weld.exceptions.IllegalArgumentException: WELD-001456: Argument resolvedBean must not be null"}}

Environment

  • Red Hat JBOSS Enterprise Application Platform (EAP)
    • 7.0.x.GA

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content