Project

General

Profile

Bug #10095

Architecture #9917: Requires Java8 (jdk8) for Rudder 4.1

java.lang.RuntimeException: null with inventory-endpoint

Added by François ARMAND 11 months ago. Updated 10 months ago.

Status:
Released
Priority:
2
Category:
Architecture - Dependencies
Target version:
Target version (plugin):
Severity:
User visibility:
Effort required:
Priority:

Description

It seems that dependending of the compilation option or the actual javac version used, we have a problem with inventory-endpoint at startup:

java.lang.RuntimeException: null
    at org.objectweb.asm.MethodVisitor.visitParameter(Unknown Source) ~[asm-4.2.jar:4.2]
    at org.objectweb.asm.ClassReader.b(Unknown Source) ~[asm-4.2.jar:4.2]
....

It seems to be linked to both the (extremely) old Spring version we used AND asm version.

See for example: https://github.com/cobertura/cobertura/issues/255 or http://www-01.ibm.com/support/docview.wss?uid=swg1PI60902 for similar occurence.

This bug is important, because it is completely silent at compilation time and not clearly caracterized (i.e: I don't know nor found what triggered it exactly in my dev environement - but now, it is always present).


Subtasks

Bug #10096: Update in scala-ldap (java8)ReleasedVincent MEMBRÉ

Bug #10097: Configured Hicari-CP is not the java8 versionReleasedVincent MEMBRÉ

Bug #10099: Use declared dependencies from parent pom in ldap-inventoryReleasedVincent MEMBRÉ

Associated revisions

Revision 765df9c0
Added by François ARMAND 11 months ago

Fixes #10095: java.lang.RuntimeException: null with inventory-endpoint

History

#1 Updated by François ARMAND 11 months ago

We also need to update other dependencies to try to avoid that kind of problems.

#2 Updated by François ARMAND 11 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder-parent-pom/pull/36

#3 Updated by François ARMAND 11 months ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 33 to 100

#4 Updated by Vincent MEMBRÉ 10 months ago

  • Parent task set to #9917

#5 Updated by Vincent MEMBRÉ 10 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.0 which was released today.

Also available in: Atom PDF