Knowledge Doc: [Static Code Analyzer] Error validating lightbend license file: Malformed signature

 
0 Likes

Summary
The issue is becase of the encoding of the license file, it should be UNIX LF instead of Windows CR LF.

Products
Fortify Static Code Analyzer

Environment
SCA 22.1
Lightbend

Situation
Customer is having the following error when trying to run Lightbend.
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:4.3.0:compile (default) on project smote: Execution default of goal net.alchim31.maven:scala-maven-plugin:4.3.0:compile failed: Error validating license file `C:\Users\AzureUser1\.lightbend\license`: Malformed signature: BufferUnderflowException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.alchim31.maven:scala-maven-plugin:4.3.0:compile (default) on project smote: Execution default of goal net.alchim31.maven:scala-maven-plugin:4.3.0:compile failed: Error validating license file `C:\Users\AzureUser1\.lightbend\license`

Resolution
The issue is becase of the encoding of the license file, it should be UNIX LF instead of Windows CR LF. So we changed the encoding using the following steps.
In the Notepad++ menubar click Edit → EOL Conversion → UNIX/OSX format to format for entire files.

Knowledge Doc Article Link

URL Name
KM000009636

Labels:

Knowledge Docs
Comment List
Related
Recommended