-
Bug
-
Resolution: Done
-
Major
-
7.1.1.GA
The customer is in process of migrating their application servers from EAP 7.0.9 to EAP 7.1.1.
Application server starts without errors and applications are deployed without problems. However, when accessing web administration console to show application status (deployments --> server groups --> server group --> application) it shows an error "There's no server running in server group".
2018-04-12 15:03:55,871 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 14) WFLYCTL0013: Operación ("read-attribute") falló - dirección: ([ ("deployment" => "CCADPF10.ear"), ("subdeployment" => "CCADPF10_WAR-0.0.1-SNAPSHOT.war"), ("subsystem" => "jpa"), ("hibernate-persistence-unit" => "CCADPF10.ear/CCADPF10_WAR-0.0.1-SNAPSHOT.war#CCADPF10_JPA"), ("entity-cache" => "es.ccasa.ccad.model.Acceso") ]): java.lang.NullPointerException at org.hibernate.internal.CacheImpl.getSecondLevelCacheRegion(CacheImpl.java:376) at org.hibernate.internal.SessionFactoryImpl.getSecondLevelCacheRegion(SessionFactoryImpl.java:1171) at org.hibernate.stat.internal.ConcurrentStatisticsImpl.getSecondLevelCacheStatistics(ConcurrentStatisticsImpl.java:334) at org.jboss.as.jpa.hibernate5.management.HibernateEntityCacheStatistics.getStatistics(HibernateEntityCacheStatistics.java:94) at org.jboss.as.jpa.hibernate5.management.HibernateEntityCacheStatistics$4.invoke(HibernateEntityCacheStatistics.java:126) at org.jboss.as.jpa.hibernate5.management.HibernateAbstractStatistics.getValue(HibernateAbstractStatistics.java:99) at org.jboss.as.jpa.management.ManagementResourceDefinition$1.handle(ManagementResourceDefinition.java:130) at org.jboss.as.jpa.management.ManagementResourceDefinition$AbstractMetricsHandler.executeRuntimeStep(ManagementResourceDefinition.java:268) at org.jboss.as.controller.AbstractRuntimeOnlyHandler$1.execute(AbstractRuntimeOnlyHandler.java:59) at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:982) at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:726) at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:450) at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1402) at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:418) at org.jboss.as.controller.ModelControllerImpl.lambda$execute$1(ModelControllerImpl.java:243) at org.jboss.as.controller.ModelControllerImpl.dt_access$1285(ModelControllerImpl.java) at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:263) at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:229) at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:243)
Error in the logs seems to imply there's a problem when accessing the second level cache. However, the customer applications are not configured to use a second level cache in JPA.
- is caused by
-
WFLY-10260 NullPointerException when read deployment with jpa
- Closed
- is duplicated by
-
JBEAP-14683 (7.1.z) HHH-12508 HHH-12520 Bugs related to second-level/query cache not enabled
- Closed
- is incorporated by
-
JBEAP-14459 [GSS](7.1.z) Upgrade Hibernate ORM from 5.1.13 to 5.1.14
- Closed