The below error is logged in aquadataserver.log file. ADServer still startups up correctly but we should fix the issue that is causing the error to be logged.
This occurs due to the following method call in AquaDataServer.java:
private void initNetBeans() { try { // ADServer#2948 - Fix for java.lang.ClassCircularityError: org/netbeans/JarClassLoader$JarURLStreamHandler$1 Class.forName("org.netbeans.JarClassLoader$JarURLStreamHandler"); //NOI18N } catch (Exception ex) { logger.warn("NetBeans fail to initialize", ex); } }
622 KB
6 KB
As per #2948, we preload org.netbeans.JarClassLoader$JarURLStreamHandler (in lib.core.jar) to get around ClassCircularityError. In v18, lib.core.jar has been removed. I removed the class preloading code.
QA: part of verifying this issue is to re-test #2948
QA: part of verifying this issue is to re-test #2948
Verified in ADServer-18.0.0-beta-32.
'NetBeans fail to initialize' Error message is not displayed in aquadataserver.log file. Refer updated screenshot '2978_updated.png' and log file 'aquadataserver.log'
Verified in ADServer-18.0.0-beta-32.
'NetBeans fail to initialize' Error message is not displayed in aquadataserver.log file. Refer updated screenshot '2978_updated.png' and log file 'aquadataserver.log'
Issue #2978 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build 18.0.0-beta-32 |
No time estimate |
1 issue link |
relates to #2948
Issue #2948Some methods of com.aquafold.openapi.compare package does not gives the output and throws exception. |
As per #2948, we preload org.netbeans.JarClassLoader$JarURLStreamHandler (in lib.core.jar) to get around ClassCircularityError. In v18, lib.core.jar has been removed. I removed the class preloading code.