Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||||||||||||||||
| View Issue Details | ||||||||||||||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
| 0040827 | Openbravo ERP | A. Platform | public | 2019-05-09 15:48 | 2019-05-21 15:17 | |||||||||||||||||||||
| Reporter | alostale | |||||||||||||||||||||||||
| Assigned To | caristu | |||||||||||||||||||||||||
| Priority | normal | Severity | major | Reproducibility | have not tried | |||||||||||||||||||||
| Status | closed | Resolution | fixed | |||||||||||||||||||||||
| Platform | OS | 5 | OS Version | |||||||||||||||||||||||
| Product Version | ||||||||||||||||||||||||||
| Target Version | Fixed in Version | 3.0PR19Q3 | ||||||||||||||||||||||||
| Merge Request Status | ||||||||||||||||||||||||||
| Review Assigned To | alostale | |||||||||||||||||||||||||
| OBNetwork customer | No | |||||||||||||||||||||||||
| Web browser | ||||||||||||||||||||||||||
| Modules | Core | |||||||||||||||||||||||||
| Support ticket | ||||||||||||||||||||||||||
| 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. | |||||||||||||||||||||||||
| Additional Information | ||||||||||||||||||||||||||
| Tags | No tags attached. | |||||||||||||||||||||||||
| Relationships |
| |||||||||||||||||||||||||
| Attached Files | ||||||||||||||||||||||||||
| 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 | OBNetwork customer | => No | |||||||||||||||||||||||
| 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 | ||||||||||||||||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||