Skip to content

RubySensor.java - NoSuchFieldError: PACKAGES on sonar run #13

@fptiangco

Description

@fptiangco

Thanks for sharing this plugin, folks.

Just thought I'd raise this: Maven build is ok. Though I'm hitting an error when I eventually run a sonar scan using the plugin in SonarQube..

INFO: Sensor RubySensor
Exception in thread "main" java.lang.NoSuchFieldError: PACKAGES
    at com.godaddy.sonar.ruby.RubySensor.computeBaseMetrics(RubySensor.java:85)

It seems PACKAGES no longer exists in org.sonar.api.measures.CoreMetrics.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions