-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
DumpStackTrace when using pub run #28344
Comments
Actually, this may be specific to some code changes I am making as our CI environment is encountering the same thing. I'll report back if/when I figure it out. |
The error in CI has more detail (it's a different command too). I'm working on moving our codebase to strong mode if that is a clue...
|
I've narrowed down the cause but have no idea why it should be the cause. If I depend on latest master of webdriver.dart via git, I get the stack trace dump. If I have a local checkout of the same commit and use a path dependency, I get no dump and everything seems to work. |
Which version of Dart SDK are you using? This looks similar to #28072 |
Stable release of 1.21.0 |
I'll give it a whirl tomorrow. Thanks! |
This is a duplicate of #28072 |
We've verified that the latest development build resolves the issue, do you know of any workaround in the stable build? If not, we think it is the latest tag of webdriver.dart that introduced usage of the methods+generics of Dart 1.21 - google/webdriver.dart#131. As I stated above, it's strange because the same code as a local dependency doesn't seem to trigger the issue. |
@fsc8000 would this fix be included in a patch release of the 1.21 line? |
Yes, the next patch release for 1.21 would include the fix. |
MergeToStable issue is #28375 . 1.21.1 will be created with the fix. |
New stable version 1.21.1 has been released with the fix for this issue. |
Given Bill's comment, closing. |
Thanks, FWIW I updated today and verified the previous tag of webdriver.dart no longer triggers this error for us. |
I am using the dart_dev library via pub run and getting a stack trace dump:
This is the second time I've run into the problem.. it went away when I threw out my pub cache and rebooted my machine last time. I can use
pub serve
directly but trying to proxy it thru a dart_dev task results in the stack trace. Same for running tests. If there are more verbose logs I can get, please let me know! Thanks.The text was updated successfully, but these errors were encountered: