Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0044999 | Openbravo ERP | A. Platform | public | 2020-09-07 10:39 | 2020-09-16 12:19 | ||||||||||||||
Reporter | caristu | ||||||||||||||||||
Assigned To | caristu | ||||||||||||||||||
Priority | high | Severity | minor | Reproducibility | have not tried | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | PR20Q4 | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | |||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | Pre packaging ( pi ) | ||||||||||||||||||
Regression date | 2020-09-03 | ||||||||||||||||||
Regression introduced in release | pi | ||||||||||||||||||
Regression introduced by commit | https://gitlab.com/openbravo/product/openbravo/-/commit/d1c5ec1eeac2370f9b2cce15859867e8d837e5ff [^] | ||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0044999: xercesImpl updated causes errors on install.source in JDK8 | ||||||||||||||||||
Description | The xercesImpl update(0044625) causes the following error on install.source using JDK8: [java] Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal [java] at java.lang.ClassLoader.defineClass1(Native Method) [java] at java.lang.ClassLoader.defineClass(ClassLoader.java:756) [java] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) [java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:468) [java] at java.net.URLClassLoader.access$100(URLClassLoader.java:74) [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:369) [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:363) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:362) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) [java] at org.apache.xerces.parsers.AbstractDOMParser.startDocument(Unknown Source) [java] at org.apache.xerces.xinclude.XIncludeHandler.startDocument(Unknown Source) [java] at org.apache.xerces.impl.dtd.XMLDTDValidator.startDocument(Unknown Source) [java] at org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity(Unknown Source) [java] at org.apache.xerces.impl.XMLVersionDetector.startDocumentParsing(Unknown Source) [java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [java] at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) [java] at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) [java] at org.apache.logging.log4j.core.config.xml.XmlConfiguration.<init>(XmlConfiguration.java:95) [java] at org.apache.logging.log4j.core.config.xml.XmlConfigurationFactory.getConfiguration(XmlConfigurationFactory.java:46) [java] at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:453) [java] at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:385) [java] at org.apache.logging.log4j.core.config.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:260) [java] at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:615) [java] at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:636) [java] at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:231) [java] at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:153) [java] at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45) [java] at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194) [java] at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:581) [java] at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:567) [java] at org.openbravo.data.Sqlc.<clinit>(Sqlc.java:93) [java] Caused by: java.lang.ClassNotFoundException: org.w3c.dom.ElementTraversal [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:382) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) The reason is that the new xercesImpl library requires the xml-apis[1] library to complete the task. [1] https://mvnrepository.com/artifact/xml-apis/xml-apis/1.4.01 [^] | ||||||||||||||||||
Steps To Reproduce | 1. Create a new environment from scratch 2. Run ant install.source using JDK8 | ||||||||||||||||||
Proposed Solution | 1. Revert changes introduced with (0044625) 2. Decide how we want to update xerces, the problem is JDK8 requires xml-apis to work, but this library is not needed in JDK11 and it causes split-package problem | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2020-09-07 10:39 | caristu | New Issue | |||||||||||||||||
2020-09-07 10:39 | caristu | Assigned To | => platform | ||||||||||||||||
2020-09-07 10:39 | caristu | Modules | => Core | ||||||||||||||||
2020-09-07 10:39 | caristu | Triggers an Emergency Pack | => No | ||||||||||||||||
2020-09-07 10:39 | caristu | Issue generated from | 0044625 | ||||||||||||||||
2020-09-07 10:39 | caristu | Relationship added | caused by 0044625 | ||||||||||||||||
2020-09-07 10:44 | caristu | Regression level | => Pre packaging ( pi ) | ||||||||||||||||
2020-09-07 10:44 | caristu | Regression date | => 2020-09-03 | ||||||||||||||||
2020-09-07 10:44 | caristu | Regression introduced in release | => pi | ||||||||||||||||
2020-09-07 10:44 | caristu | Regression introduced by commit | => https://gitlab.com/openbravo/product/openbravo/-/commit/d1c5ec1eeac2370f9b2cce15859867e8d837e5ff [^] | ||||||||||||||||
2020-09-07 10:44 | caristu | Assigned To | platform => caristu | ||||||||||||||||
2020-09-07 10:49 | hgbot | Note Added: 0122733 | |||||||||||||||||
2020-09-08 18:45 | hgbot | Note Added: 0122810 | |||||||||||||||||
2020-09-09 07:04 | hgbot | Resolution | open => fixed | ||||||||||||||||
2020-09-09 07:04 | hgbot | Status | new => closed | ||||||||||||||||
2020-09-09 07:04 | hgbot | Note Added: 0122812 | |||||||||||||||||
2020-09-09 07:04 | hgbot | Fixed in Version | => PR20Q4 | ||||||||||||||||
2020-09-09 07:04 | hgbot | Note Added: 0122813 | |||||||||||||||||
2020-09-16 12:19 | hgbot | Note Added: 0123107 | |||||||||||||||||
2022-05-05 18:07 | shuehner | Relationship added | related to 0049242 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|