You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.
Issue:
We have a msg flow with a user defined property “DB_SCHEMA_NAME”. When running the scan, the scan stops at the com.exxeta.iss.sonar.msgflow.batch.DSNSensor class - and reports a failure:
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar (default-cli) on project workpace-parent-pom: null: MojoExecutionException: NullPointerException -> [Help 1]
Environment used:
SonarQube: 6.7.1 with sonar-esql-plugin-2.3.2.jar and sonar-msgflow-plugin-1.1.3.jar
Additional comments:
During analysis, it is observed that when an UDP is created in a message flow (msgflow) level, SonarQube analysis fails with Null Pointer Exception. But when the same UDP is present in Sub flow (subflow) level, it works fine.
It is also noted that when the UDP is removed from the message flow, SonarQube analysis is running fine.
The text was updated successfully, but these errors were encountered:
Hi Christoph,
I was not able to reproduce your issue. I created a msgflow with an UDP called DB_SCHEMA_NAME. The analysis worked like expected. (Current LTE Version of SonarQube and current version of the msgflow plugin)
Can you provide a msgflow-file that causes the issue and the complete stackstrace?
Thanks for your msg and sorry for my late reply. Attached an example project and the stack trace. I would of course appreciate if you could take a look at it. Thanks in advance - Christoph
How to get it run:
Prerequisites:
Sonar Qube running on localhost:9000 (if other location you have to pass the sonar.url als parameter in the maven call below)
mvn 3.x and JDK 1.8 - last one set as JAVA_HOME
Execute:
navigate with a bash to the root folder of the sample project - where the pom is placed
run mvn clean (to make sure everything is reset / cleaned up)
Issue:
We have a msg flow with a user defined property “DB_SCHEMA_NAME”. When running the scan, the scan stops at the com.exxeta.iss.sonar.msgflow.batch.DSNSensor class - and reports a failure:
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar (default-cli) on project workpace-parent-pom: null: MojoExecutionException: NullPointerException -> [Help 1]
Environment used:
SonarQube: 6.7.1 with sonar-esql-plugin-2.3.2.jar and sonar-msgflow-plugin-1.1.3.jar
Additional comments:
The text was updated successfully, but these errors were encountered: