Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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