Project

General

Profile

Actions

Bug #10095

closed

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

java.lang.RuntimeException: null with inventory-endpoint

Added by François ARMAND almost 8 years ago. Updated almost 8 years ago.

Status:
Released
Priority:
2
Category:
Architecture - Dependencies
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

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 3 (0 open3 closed)

Bug #10096: Update in scala-ldap (java8)ReleasedVincent MEMBRÉ2017-01-31Actions
Bug #10097: Configured Hicari-CP is not the java8 versionReleasedVincent MEMBRÉ2017-01-31Actions
Bug #10099: Use declared dependencies from parent pom in ldap-inventoryReleasedVincent MEMBRÉ2017-01-31Actions
Actions #1

Updated by François ARMAND almost 8 years ago

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

Actions #2

Updated by François ARMAND almost 8 years 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
Actions #3

Updated by François ARMAND almost 8 years ago

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

Updated by Vincent MEMBRÉ almost 8 years ago

  • Parent task set to #9917
Actions #5

Updated by Vincent MEMBRÉ almost 8 years ago

  • Status changed from Pending release to Released

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

Actions

Also available in: Atom PDF