[
https://issues.jboss.org/browse/WFLY-2341?page=com.atlassian.jira.plugin....
]
Scott Marlow commented on WFLY-2341:
------------------------------------
https://bugs.openjdk.java.net/browse/JDK-8026394 mentions the bug being fixed in b56 hs25
but I'm not sure what that means exactly (whether the fix is released yet or not.
WildFly-8.0.0.Beta1 throws an exception during persistence unit
starting on java 1.8.0-ea-b111
----------------------------------------------------------------------------------------------
Key: WFLY-2341
URL:
https://issues.jboss.org/browse/WFLY-2341
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: JPA / Hibernate
Affects Versions: 8.0.0.Beta1
Environment: % java -version
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b111)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b53, mixed mode)
% uname -a
Linux
irtysh.kostousov.net 3.11.1-200.fc19.x86_64 #1 SMP Sat Sep 14 15:04:51 UTC 2013
x86_64 x86_64 x86_64 GNU/Linux
Reporter: Denis Kostousov
Assignee: Scott Marlow
Priority: Critical
Attachments: hibernate.HEAD.build.log
An exception occurs during application deploying on Wildfly 8.0.0.Beta1 after jdk was
changed from 1.8.0-ea-b109 to 1.8.0-ea-b111. On 1.8.0-ea-b109 same code works fine.
{code}
2013-10-19 16:52:49,975 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool --
52) MSC000001: Failed to start service
jboss.persistenceunit."acquiring-gate-ear-0.5-SNAPSHOT.ear/server-0.5-SNAPSHOT.war#AGDirectory":
org.jboss.msc.service.StartException in service
jboss.persistenceunit."acquiring-gate-ear-0.5-SNAPSHOT.ear/server-0.5-SNAPSHOT.war#AGDirectory":
java.lang.IllegalAccessError: tried to access method
java.lang.Object.clone()Ljava/lang/Object; from class
org.hibernate.envers.configuration.internal.metadata.AuditMetadataGenerator
at
org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:169)
[wildfly-jpa-8.0.0.Beta1.jar:8.0.0.Beta1]
at
org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117)
[wildfly-jpa-8.0.0.Beta1.jar:8.0.0.Beta1]
at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0-ea]
at
org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:463)
[wildfly-security-manager-1.0.0.Beta3.jar:1.0.0.Beta3]
at
org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:178)
[wildfly-jpa-8.0.0.Beta1.jar:8.0.0.Beta1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[rt.jar:1.8.0-ea]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[rt.jar:1.8.0-ea]
at java.lang.Thread.run(Thread.java:724) [rt.jar:1.8.0-ea]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
[jboss-threads-2.1.1.Final.jar:2.1.1.Final]
Caused by: java.lang.IllegalAccessError: tried to access method
java.lang.Object.clone()Ljava/lang/Object; from class
org.hibernate.envers.configuration.internal.metadata.AuditMetadataGenerator
at
org.hibernate.envers.configuration.internal.metadata.AuditMetadataGenerator.cloneAndSetupRevisionInfoRelationMapping(AuditMetadataGenerator.java:140)
at
org.hibernate.envers.configuration.internal.metadata.AuditMetadataGenerator.addRevisionInfoRelation(AuditMetadataGenerator.java:152)
at
org.hibernate.envers.configuration.internal.metadata.IdMetadataGenerator.addId(IdMetadataGenerator.java:210)
at
org.hibernate.envers.configuration.internal.metadata.AuditMetadataGenerator.generateFirstPass(AuditMetadataGenerator.java:561)
at
org.hibernate.envers.configuration.internal.EntitiesConfigurator.configure(EntitiesConfigurator.java:110)
at
org.hibernate.envers.configuration.spi.AuditConfiguration.<init>(AuditConfiguration.java:130)
at
org.hibernate.envers.configuration.spi.AuditConfiguration.getFor(AuditConfiguration.java:180)
at org.hibernate.envers.event.spi.EnversIntegrator.integrate(EnversIntegrator.java:76)
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:310)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1837)
at
org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:854)
at
org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:847)
at
org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:396)
at
org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:846)
at
org.jboss.as.jpa.hibernate4.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44)
at
org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:151)
[wildfly-jpa-8.0.0.Beta1.jar:8.0.0.Beta1]
... 8 more
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira