Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040827 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | have not tried | 2019-05-09 15:48 | 2019-05-21 15:17 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR19Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 9c2b642b9342 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | 12+ | |||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | alostale | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040827: JDK 12: cannot start application due to Weld error | |||||||
Description | When trying to start Openbravo using JDK 12 or higher, an error is thrown. This is caused by Weld issue 2572 [1]. --- [1] https://issues.jboss.org/browse/WELD-2572 [^] | |||||||
Steps To Reproduce | Using JDK 12 try to start Tomcat Caused by: org.jboss.weld.exceptions.WeldException: WELD-001524: Unable to load proxy class for bean Implicit Bean [javax.enterprise.event.Event] with qualifiers [@Default] with class interface javax.enterprise.event.Event at org.jboss.weld.bean.proxy.ProxyFactory.getProxyClass(ProxyFactory.java:378) at org.jboss.weld.bean.builtin.AbstractFacadeBean.initializeAfterBeanDiscovery(AbstractFacadeBean.java:61) at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$AfterBeanDiscoveryInitializerFactory.doWork(ConcurrentBeanDeployer.java:111) at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$AfterBeanDiscoveryInitializerFactory.doWork(ConcurrentBeanDeployer.java:102) at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:62) at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:55) ... 4 more Caused by: java.lang.Error: java.lang.NoSuchFieldException: override at org.jboss.classfilewriter.ClassFile$1.run(ClassFile.java:394) at org.jboss.classfilewriter.ClassFile$1.run(ClassFile.java:385) at java.base/java.security.AccessController.doPrivileged(AccessController.java:551) at org.jboss.classfilewriter.ClassFile.<clinit>(ClassFile.java:385) at org.jboss.weld.bean.proxy.ProxyFactory.newClassFile(ProxyFactory.java:494) at org.jboss.weld.bean.proxy.ProxyFactory.createProxyClass(ProxyFactory.java:444) at org.jboss.weld.bean.proxy.ProxyFactory.getProxyClass(ProxyFactory.java:370) ... 9 more Caused by: java.lang.NoSuchFieldException: override at java.base/java.lang.Class.getDeclaredField(Class.java:2417) at org.jboss.classfilewriter.ClassFile$1.run(ClassFile.java:392) ... 15 more | |||||||
Proposed Solution | Update Weld to at least 3.1.1 which fixes the issue. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||||||||||||||||
|
Notes | |
(0111637) hgbot (developer) 2019-05-13 09:29 |
Repository: erp/devel/pi Changeset: 9c2b642b9342b02921a2c306c7b82839acd70924 Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Mon May 13 09:10:41 2019 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/9c2b642b9342b02921a2c306c7b82839acd70924 [^] fixes issue 40827: update weld to version 3.1.1 Update Weld to version 3.1.1 which contains the fix[1] for the issue that causes Tomcat not correctly start using JDK 12. [1] https://issues.jboss.org/browse/WELD-2572 [^] --- M legal/Licensing.txt A modules/org.openbravo.base.weld/lib/runtime/jboss-classfilewriter-1.2.4.Final.jar A modules/org.openbravo.base.weld/lib/runtime/weld-core-impl-3.1.1.Final.jar A modules/org.openbravo.base.weld/lib/runtime/weld-environment-common-3.1.1.Final.jar A modules/org.openbravo.base.weld/lib/runtime/weld-jsf-3.1.1.Final.jar A modules/org.openbravo.base.weld/lib/runtime/weld-servlet-core-3.1.1.Final.jar A modules/org.openbravo.base.weld/lib/runtime/weld-web-3.1.1.Final.jar R modules/org.openbravo.base.weld/lib/runtime/jboss-classfilewriter-1.2.3.Final.jar R modules/org.openbravo.base.weld/lib/runtime/weld-core-impl-3.1.0.Final.jar R modules/org.openbravo.base.weld/lib/runtime/weld-environment-common-3.1.0.Final.jar R modules/org.openbravo.base.weld/lib/runtime/weld-jsf-3.1.0.Final.jar R modules/org.openbravo.base.weld/lib/runtime/weld-servlet-core-3.1.0.Final.jar R modules/org.openbravo.base.weld/lib/runtime/weld-web-3.1.0.Final.jar --- |
(0111761) alostale (manager) 2019-05-17 09:08 |
tested with jdk 12.0.1+12 and 13-ea+21 |
(0112026) hudsonbot (developer) 2019-05-21 15:17 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9b8f37d9d85e [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2019-05-09 15:48 | alostale | New Issue | |
2019-05-09 15:48 | alostale | Assigned To | => platform |
2019-05-09 15:48 | alostale | Modules | => Core |
2019-05-09 15:48 | alostale | Triggers an Emergency Pack | => No |
2019-05-09 15:48 | alostale | Relationship added | related to 0040193 |
2019-05-09 15:49 | alostale | Relationship added | blocks 0040826 |
2019-05-09 16:32 | shuehner | Issue Monitored: shuehner | |
2019-05-09 19:15 | caristu | Assigned To | platform => caristu |
2019-05-10 15:00 | caristu | Relationship added | related to 0040840 |
2019-05-13 09:29 | hgbot | Checkin | |
2019-05-13 09:29 | hgbot | Note Added: 0111637 | |
2019-05-13 09:29 | hgbot | Status | new => resolved |
2019-05-13 09:29 | hgbot | Resolution | open => fixed |
2019-05-13 09:29 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/9c2b642b9342b02921a2c306c7b82839acd70924 [^] |
2019-05-13 12:54 | caristu | Review Assigned To | => alostale |
2019-05-17 09:08 | alostale | Note Added: 0111761 | |
2019-05-17 09:08 | alostale | Status | resolved => closed |
2019-05-17 09:08 | alostale | Fixed in Version | => 3.0PR19Q3 |
2019-05-21 15:17 | hudsonbot | Checkin | |
2019-05-21 15:17 | hudsonbot | Note Added: 0112026 |
Copyright © 2000 - 2009 MantisBT Group |