Skip to content
This repository was archived by the owner on Apr 8, 2022. It is now read-only.
This repository was archived by the owner on Apr 8, 2022. It is now read-only.

DSNSensor NullPointerException for UserDefinedProperty (DB_SCHEMA_NAME) #21

@WeissChristoph

Description

@WeissChristoph

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:

  1. 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.
  2. It is also noted that when the UDP is removed from the message flow, SonarQube analysis is running fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions