-
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
DartVM: null object can not be caught using the typed catch clause #1789
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
Comments
Added Fixed label. |
DartBot
added
Type-Defect
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
labels
Feb 22, 2012
copybara-service bot
pushed a commit
that referenced
this issue
Nov 25, 2022
Bump pub to 6fdcdd4357645817e7d7027ee2157ed68ef69c53 Changes: ``` > git log --format="%C(auto) %h %s" 6ac42d7..6fdcdd4 https://dart.googlesource.com/pub.git/+/6fdcdd43 Support `--native-assets` in kernel compilation commands (#3667) https://dart.googlesource.com/pub.git/+/7202dd5e Fix error message for missing transitive dependency (#3196) https://dart.googlesource.com/pub.git/+/ab3304e1 Ignore analysis_options.yaml everywhere (#3666) https://dart.googlesource.com/pub.git/+/54e0b1eb Only check for sdk updates during resolveExecutable (#3665) https://dart.googlesource.com/pub.git/+/327d9ee8 Fix global activate --git-ref (#3656) https://dart.googlesource.com/pub.git/+/1485d60c Add env var flag to override stdout.hasTerminal for output animations (#3658) https://dart.googlesource.com/pub.git/+/13ca9de1 Fix escapeShellArgument (#3663) https://dart.googlesource.com/pub.git/+/75c671c7 Allow adding from multiple sources (#3571) https://dart.googlesource.com/pub.git/+/1acfd4f7 dart pub get --enforce-lockfile (#3637) https://dart.googlesource.com/pub.git/+/9810fc6f Suggest using 2.12 as lower-bound SDK constraint (#3660) https://dart.googlesource.com/pub.git/+/f481f27a Add a README.md to the pub cache after command ends (#3650) https://dart.googlesource.com/pub.git/+/d54d52d3 Have executableForCommand rerun pub get if sdk changed minor version (#3652) https://dart.googlesource.com/pub.git/+/ea986525 Delete move.yml (#3648) ``` Diff: https://dart.googlesource.com/pub.git/+/6ac42d7644dedfcc500147ab47886eecab4b1b38~..6fdcdd4357645817e7d7027ee2157ed68ef69c53/ Bump webdev to 637b406f325669507b5c1048c19a7c0083c1bd6e Changes: ``` > git log --format="%C(auto) %h %s" 3ec168f..637b406 https://dart.googlesource.com/webdev.git/+/637b406 Support `--native-assets` in `FrontendServerClient` (#1797) https://dart.googlesource.com/webdev.git/+/a19d563 Save debug information in `chrome.storage` after a Dart app loads (#1791) https://dart.googlesource.com/webdev.git/+/9cc10d4 Connect to a `chrome.runtime` port to keep the service worker alive (#1789) ``` Diff: https://dart.googlesource.com/webdev.git/+/3ec168f6815af9d5f11278111d147bc82c0755c3~..637b406f325669507b5c1048c19a7c0083c1bd6e/ Update CHANGELOG Bump pub to 6fdcdd4357645817e7d7027ee2157ed68ef69c53 Changes: ``` > git log --format="%C(auto) %h %s" 6ac42d7..6fdcdd4 https://dart.googlesource.com/pub.git/+/6fdcdd43 Support `--native-assets` in kernel compilation commands (#3667) https://dart.googlesource.com/pub.git/+/7202dd5e Fix error message for missing transitive dependency (#3196) https://dart.googlesource.com/pub.git/+/ab3304e1 Ignore analysis_options.yaml everywhere (#3666) https://dart.googlesource.com/pub.git/+/54e0b1eb Only check for sdk updates during resolveExecutable (#3665) https://dart.googlesource.com/pub.git/+/327d9ee8 Fix global activate --git-ref (#3656) https://dart.googlesource.com/pub.git/+/1485d60c Add env var flag to override stdout.hasTerminal for output animations (#3658) https://dart.googlesource.com/pub.git/+/13ca9de1 Fix escapeShellArgument (#3663) https://dart.googlesource.com/pub.git/+/75c671c7 Allow adding from multiple sources (#3571) https://dart.googlesource.com/pub.git/+/1acfd4f7 dart pub get --enforce-lockfile (#3637) https://dart.googlesource.com/pub.git/+/9810fc6f Suggest using 2.12 as lower-bound SDK constraint (#3660) https://dart.googlesource.com/pub.git/+/f481f27a Add a README.md to the pub cache after command ends (#3650) https://dart.googlesource.com/pub.git/+/d54d52d3 Have executableForCommand rerun pub get if sdk changed minor version (#3652) https://dart.googlesource.com/pub.git/+/ea986525 Delete move.yml (#3648) ``` Diff: https://dart.googlesource.com/pub.git/+/6ac42d7644dedfcc500147ab47886eecab4b1b38~..6fdcdd4357645817e7d7027ee2157ed68ef69c53/ Change-Id: I65b928479b44f08305853078b0f34a6b66602709 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/271709 Auto-Submit: Sigurd Meldgaard <sigurdm@google.com> Reviewed-by: Jonas Jensen <jonasfj@google.com> Commit-Queue: Jonas Jensen <jonasfj@google.com>
copybara-service bot
pushed a commit
that referenced
this issue
Nov 28, 2022
Revisions updated by `dart tools/rev_sdk_deps.dart`. ffi (https://github.com/dart-lang/ffi/compare/3ede231..17a8142): 17a8142 2022-11-21 Daco Harkes Add links to API reference and examples to README (#167) fixnum (https://github.com/dart-lang/fixnum/compare/bca3816..62916f2): 62916f2 2022-11-24 Lasse R.H. Nielsen Split into separate libraries instead of using parts. (#97) 14d4827 2022-11-23 Lasse R.H. Nielsen Add `tryParse` methods. (#96) http (https://github.com/dart-lang/http/compare/d56141d..047d6ed): 047d6ed 2022-11-22 Brian Quinlan Fixes a bug where requests made in different Clients would fail (#827) 9dbbafb 2022-11-17 Brian Quinlan Add tests for compressed responses (#823) markdown (https://github.com/dart-lang/markdown/compare/37951d1..ee3f4e9): ee3f4e9 2022-11-24 Zhiguang Chen Fix a blockquote issue (#496) c9048c0 2022-11-16 Zhiguang Chen Optimise DelimiterSyntax (#492) protobuf (https://github.com/dart-lang/protobuf/compare/ae90e53..c181573): c181573 2022-11-23 Kevin Moore [api_benchmark] migrate to null-safety (#776) 648deaf 2022-11-23 Kevin Moore Standardize and fix lints (#775) bfa4c0d 2022-11-23 Kevin Moore Fix `///` at the top of generated Dart files (#774) ed68426 2022-11-17 Devon Carew Remove duplicate consts (#773) sse (https://github.com/dart-lang/sse/compare/283568d..8d018dd): 8d018dd 2022-11-23 Elliott Brooks (she/her) Format markdown files (#68) 2f6f151 2022-11-23 Elliott Brooks (she/her) Add optional `debugKey` parameter to SSE client (#67) eaee6a8 2022-11-23 Elliott Brooks (she/her) Use Fetch API in SSE Client (#66) test (https://github.com/dart-lang/test/compare/7756833..b25dac9): b25dac99 2022-11-21 Kevin Moore checks: finish async tests (#1793) 3166163e 2022-11-18 Devon Carew Update scorecards-analysis.yml (#1792) d930d5b0 2022-11-18 Nate Bosch Add support for async soft checks (#1789) b1411a21 2022-11-18 Devon Carew blast_repo fixes (#1788) a6aa04e0 2022-11-18 Jacob MacDonald disable wasm tests for now as they are failing (#1791) 8b5174c1 2022-11-17 Kevin Moore Starting on async tests (#1787) Change-Id: Ic361fce7753d08d43fc827f13cb1bfa1738cc16e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/272343 Auto-Submit: Devon Carew <devoncarew@google.com> Reviewed-by: Kevin Moore <kevmoo@google.com> Commit-Queue: Devon Carew <devoncarew@google.com>
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
This issue was originally filed by ief...@unipro.ru
What steps will reproduce the problem?
run the following test:
main() {
try {
throw null;
} catch (int x) { }
}
What is the expected output? What do you see instead?
Expected: test passed
Actual: unhandled exception - null object
What version of the product are you using? On what operating system?
DartVM r4423
The text was updated successfully, but these errors were encountered: