Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getClass not selected from this instance #585

Closed
mdedetrich opened this issue Sep 28, 2023 · 3 comments
Closed

getClass not selected from this instance #585

mdedetrich opened this issue Sep 28, 2023 · 3 comments

Comments

@mdedetrich
Copy link

Describe the bug

Look at the run job at https://github.com/Aiven-Open/guardian-for-apache-kafka/actions/runs/6337433366/job/17212516305?pr=490 and you will see this error message

[error] /home/runner/work/guardian-for-apache-kafka/guardian-for-apache-kafka/cli-restore/src/main/scala/io/aiven/guardian/kafka/restore/Main.scala:35:36: getClass not selected from this instance
[error]         val logClassName: String = getClass.getName
[error]             

When its run in sbt (i.e. sbt-scoverage's coverage command)

Expected behavior

For an error to not happen

What build tool are you using?

sbt

Version of scoverage

v2.0.9

@ckipp01
Copy link
Member

ckipp01 commented Oct 4, 2023

Hey @mdedetrich, thanks for the report. Although when I clone this branch, I see this same error message locally.

Screenshot 2023-10-04 at 10 11 48

I don't believe that this is a coverage related bug.

@mdedetrich
Copy link
Author

Hey @mdedetrich, tahnks for the report. Although when I clone this branch, I see this same error message locally.

Screenshot 2023-10-04 at 10 11 48

I don't believe that this is a coverage related bug.

Thanks, I'll look into it because it still appears to be compiling so it looks erroneous somehow.

@mdedetrich
Copy link
Author

Closing issue, confirm its a change in new scala version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants