-
Notifications
You must be signed in to change notification settings - Fork 50
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
Error thrown by Worker: "changing log factory" #110
Comments
That's weird, does it always happen? I haven't seen it. It comes from here: https://github.com/pinterest/ktlint/blob/master/ktlint-core/src/main/kotlin/com/pinterest/ktlint/core/KtLint.kt#L81 Since |
Only happened once. If it does again, I'll update. I've seen weird stuff before with the Worker API that makes me think things aren't quite synchronized correctly. |
I did just experience it after upgrade to 2.3.0
It did not happen on subsequent runs though. |
Ok, that's good to know. Still a bug, but if it happens once on a version update it's not as severe. |
Closing for now, hopefully we don't run into it ever again in the new design. |
I'm getting this error consistently. Currently using 3.6.0 but saw seeing it consistently on earlier versions too. My build is still passing so I'm not too concerned about it. I can post this project later so you can check it out and debug it if you're interested. |
Yes, please do, thanks! Having a project that can repro the issue will go a long ways towards figuring out how to fix it. I assume the lint task still runs successfully? |
Sorry for the delay responding. So I've been working on this project and I'm not getting the error consistently anymore. I'm actually getting other non fatal lint type errors, basically a |
Thank you @fluxxion82, I've got your file. I'll let you know if I can determine a cause, but it does sound like a somewhat innocuous error. |
Cool, hope it helps! Let me know if you have any questions about the project. |
Version 2.0.0, Gradle 5.4.1.
Just got this stacktrace while testing some changes. Not sure what to make of it. Build still passed.
The text was updated successfully, but these errors were encountered: