Title: CommandInfo.ResolveParameter throws NullReferenceException sometimes · Issue #13127 · PowerShell/PowerShell · GitHub
Open Graph Title: CommandInfo.ResolveParameter throws NullReferenceException sometimes · Issue #13127 · PowerShell/PowerShell
X Title: CommandInfo.ResolveParameter throws NullReferenceException sometimes · Issue #13127 · PowerShell/PowerShell
Description: From PowerShell/PSScriptAnalyzer#1538. PSScriptAnalyzer tries to get the value of Export-ModuleMember's parameters by calling the CommandInfo.ResolveParameter() call here. This calls into PowerShell here: PowerShell/src/System.Management...
Open Graph Description: From PowerShell/PSScriptAnalyzer#1538. PSScriptAnalyzer tries to get the value of Export-ModuleMember's parameters by calling the CommandInfo.ResolveParameter() call here. This calls into PowerShel...
X Description: From PowerShell/PSScriptAnalyzer#1538. PSScriptAnalyzer tries to get the value of Export-ModuleMember's parameters by calling the CommandInfo.ResolveParameter() call here. This calls into Power...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/13127
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CommandInfo.ResolveParameter throws NullReferenceException sometimes","articleBody":"From https://github.com/PowerShell/PSScriptAnalyzer/issues/1538.\r\n\r\nPSScriptAnalyzer tries to get the value of `Export-ModuleMember`'s parameters by calling the `CommandInfo.ResolveParameter()` call [here](https://github.com/PowerShell/PSScriptAnalyzer/blob/d04c03907b4a4b675bcc3cec3a32cbf3c4ee2d64/Engine/Helper.cs#L438).\r\n\r\nThis calls into PowerShell here:\r\n\r\nhttps://github.com/PowerShell/PowerShell/blob/b1e998046e12ebe5da9dee479f20d479aa2256d7/src/System.Management.Automation/engine/CommandInfo.cs#L593-L605\r\n\r\nAs with various other `CommandInfo` members, this appears not to be threadsafe and the call sometimes throws an NRE.","author":{"url":"https://github.com/rjmholt","@type":"Person","name":"rjmholt"},"datePublished":"2020-07-07T17:59:16Z","url":"https://github.com/PowerShell/PowerShell/issues/13127"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:752b53ca-06fc-341a-cb2b-ca8169ac1226 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E5C2:24ABAC:867C3:B6550:6AFD2AAF |
| html-safe-nonce | c8564a3d3efb81430ebac8789b48464d02a20f64d134603ab2ad6b995234a689 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUMyOjI0QUJBQzo4NjdDMzpCNjU1MDo2QUZEMkFBRiIsInZpc2l0b3JfaWQiOiIzODA4NjQ1Nzk3MjI2ODE4MjIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c5593805feabfeeae7d0218b693bcb9daa4ddf9cdd333bbf902a3b6739799582 |
| hovercard-subject-tag | issue:652513008 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/13127/issue_layout |
| twitter:image | https://opengraph.githubassets.com/df9b01e5ddab9d8b5ad7d1e453b1cfc9cb586dbcf9fa854065031a4744390441/PowerShell/PowerShell/issues/13127 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/df9b01e5ddab9d8b5ad7d1e453b1cfc9cb586dbcf9fa854065031a4744390441/PowerShell/PowerShell/issues/13127 |
| og:image:alt | From PowerShell/PSScriptAnalyzer#1538. PSScriptAnalyzer tries to get the value of Export-ModuleMember's parameters by calling the CommandInfo.ResolveParameter() call here. This calls into PowerShel... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rjmholt |
| hostname | github.com |
| expected-hostname | github.com |
| None | 065128366c233a9d57ff68ab6c96e25b99dd1b0ab70d23b70873d3dd6b5e4f19 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 941021edf0c2ec58298f4a2c8f27ae507d129c92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width