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

Storage Explorer problem - Connection string issue #1771

Closed
debchat opened this issue Sep 3, 2019 · 2 comments
Closed

Storage Explorer problem - Connection string issue #1771

debchat opened this issue Sep 3, 2019 · 2 comments
Labels
✅ duplicate Issue or pull request already exists

Comments

@debchat
Copy link

debchat commented Sep 3, 2019

Storage Explorer Version: 1.9.0
Build Number: 20190701.8
Platform/OS: Windows 7
Architecture:
Regression From:

Bug Description

Error occurred while adding new connection: TypeError:Cannot read property 'version' of undefined

The string is good because I could use this earlier and the token has not expired.

I removed the program and made a fresh installation.
Still I see the failure.

Steps to Reproduce

Expected Experience

Actual Experience

{
"name": "TypeError",
"message": "Cannot read property 'version' of undefined",
"__zone_symbol__error": {
"originalStack": "Error: Cannot read property 'version' of undefined\n at AppInsightsAsyncCorrelatedErrorWrapper.ZoneAwareError (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\zone.js\dist\zone-node.js:811:33)\n at new AppInsightsAsyncCorrelatedErrorWrapper (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\applicationinsights\out\AutoCollection\CorrelationContextManager.js:172:18)\n at Function.ExceptionSerializer.deserialize (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\se-exception-serializer\dist\ExceptionSerializer.js:49:28)\n at CloudExplorerProxyMarshaler.finalizeOperation (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\marshalers\CloudExplorerProxyMarshaler.js:76:91)\n at Object.finalizeOperation (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\marshalers\CloudExplorerProxyMarshaler.js:99:76)\n at Function. (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\marshalers\StandardMarshaler.js:28:63)\n at step (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\tslib\tslib.js:136:27)\n at Object.next (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\tslib\tslib.js:117:57)\n at C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\tslib\tslib.js:110:75\n at new ZoneAwarePromise (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\zone.js\dist\zone-node.js:551:29)\n at Object.__awaiter (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\tslib\tslib.js:106:16)\n at JsonPortMarshaler.standardMarshaler.(anonymous function) [as finalizeOperation] (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\marshalers\StandardMarshaler.js:22:32)\n at JsonPortMarshaler.onMessage (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\daytona\pluginHost\messaging\marshaler.js:101:41)\n at Port.EventTarget.dispatchEvent (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\daytona\pluginHost\common\event.js:69:30)\n at Port.processMessage (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\daytona\pluginHost\messaging\communication.js:163:18)",
"zoneAwareStack": "Error: Cannot read property 'version' of undefined\n at AppInsightsAsyncCorrelatedErrorWrapper.ZoneAwareError (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\zone.js\dist\zone-node.js:811:33)\n at new AppInsightsAsyncCorrelatedErrorWrapper (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\applicationinsights\out\AutoCollection\CorrelationContextManager.js:172:18)\n at Function.ExceptionSerializer.deserialize (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\se-exception-serializer\dist\ExceptionSerializer.js:49:28)\n at CloudExplorerProxyMarshaler.finalizeOperation (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\marshalers\CloudExplorerProxyMarshaler.js:76:91)\n at Object.finalizeOperation (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\marshalers\CloudExplorerProxyMarshaler.js:99:76)\n at Function. (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\marshalers\StandardMarshaler.js:28:63)\n at step (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\tslib\tslib.js:136:27)\n at Object.next (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\tslib\tslib.js:117:57)\n at C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\tslib\tslib.js:110:75\n at new ZoneAwarePromise (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\zone.js\dist\zone-node.js:551:29)\n at Object.__awaiter (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\tslib\tslib.js:106:16)\n at JsonPortMarshaler.standardMarshaler.(anonymous function) [as finalizeOperation] (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\marshalers\StandardMarshaler.js:22:32)\n at JsonPortMarshaler.onMessage (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\daytona\pluginHost\messaging\marshaler.js:101:41)\n at Port.EventTarget.dispatchEvent (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\daytona\pluginHost\common\event.js:69:30)\n at Port.processMessage (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\daytona\pluginHost\messaging\communication.js:163:18)"
},
"stack": "TypeError: Cannot read property 'version' of undefined\n at Function.CustomConnections.connectionIsV1 (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/StorageExplorer/CustomConnections/CustomConnections.js:11:32)\n at getCustomConnectionAttributes (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Common/AzureStorageUtilities.js:204:51)\n at Object.getRawDataFromAccountCustomConnection (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Common/AzureStorageUtilities.js:128:25)\n at AzureStorageProducer. (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Producers/AzureStorageProducer.js:549:81)\n at step (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Actions/AzureGeneralActions.js:34:23)\n at Object.next (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Actions/AzureGeneralActions.js:15:53)\n at file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Actions/AzureGeneralActions.js:9:71\n at new Promise ()\n at __awaiter (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Actions/AzureGeneralActions.js:5:12)\n at file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Producers/AzureStorageProducer.js:547:69",
"originalStack": "Error: Cannot read property 'version' of undefined\n at AppInsightsAsyncCorrelatedErrorWrapper.ZoneAwareError (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\zone.js\dist\zone-node.js:811:33)\n at new AppInsightsAsyncCorrelatedErrorWrapper (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\applicationinsights\out\AutoCollection\CorrelationContextManager.js:172:18)\n at Function.ExceptionSerializer.deserialize (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\se-exception-serializer\dist\ExceptionSerializer.js:49:28)\n at CloudExplorerProxyMarshaler.finalizeOperation (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\marshalers\CloudExplorerProxyMarshaler.js:76:91)\n at Object.finalizeOperation (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\marshalers\CloudExplorerProxyMarshaler.js:99:76)\n at Function. (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\marshalers\StandardMarshaler.js:28:63)\n at step (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\tslib\tslib.js:136:27)\n at Object.next (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\tslib\tslib.js:117:57)\n at C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\tslib\tslib.js:110:75\n at new ZoneAwarePromise (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\zone.js\dist\zone-node.js:551:29)\n at Object.__awaiter (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\tslib\tslib.js:106:16)\n at JsonPortMarshaler.standardMarshaler.(anonymous function) [as finalizeOperation] (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\marshalers\StandardMarshaler.js:22:32)\n at JsonPortMarshaler.onMessage (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\daytona\pluginHost\messaging\marshaler.js:101:41)\n at Port.EventTarget.dispatchEvent (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\daytona\pluginHost\common\event.js:69:30)\n at Port.processMessage (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\daytona\pluginHost\messaging\communication.js:163:18)",
"zoneAwareStack": "Error: Cannot read property 'version' of undefined\n at AppInsightsAsyncCorrelatedErrorWrapper.ZoneAwareError (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\zone.js\dist\zone-node.js:811:33)\n at new AppInsightsAsyncCorrelatedErrorWrapper (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\applicationinsights\out\AutoCollection\CorrelationContextManager.js:172:18)\n at Function.ExceptionSerializer.deserialize (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\se-exception-serializer\dist\ExceptionSerializer.js:49:28)\n at CloudExplorerProxyMarshaler.finalizeOperation (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\marshalers\CloudExplorerProxyMarshaler.js:76:91)\n at Object.finalizeOperation (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\marshalers\CloudExplorerProxyMarshaler.js:99:76)\n at Function. (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\marshalers\StandardMarshaler.js:28:63)\n at step (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\tslib\tslib.js:136:27)\n at Object.next (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\tslib\tslib.js:117:57)\n at C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\tslib\tslib.js:110:75\n at new ZoneAwarePromise (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\zone.js\dist\zone-node.js:551:29)\n at Object.__awaiter (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\tslib\tslib.js:106:16)\n at JsonPortMarshaler.standardMarshaler.(anonymous function) [as finalizeOperation] (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\marshalers\StandardMarshaler.js:22:32)\n at JsonPortMarshaler.onMessage (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\daytona\pluginHost\messaging\marshaler.js:101:41)\n at Port.EventTarget.dispatchEvent (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\daytona\pluginHost\common\event.js:69:30)\n at Port.processMessage (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\daytona\pluginHost\messaging\communication.js:163:18)",
"__zone_symbol__stack": "TypeError: Cannot read property 'version' of undefined\n at Function.CustomConnections.connectionIsV1 (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/StorageExplorer/CustomConnections/CustomConnections.js:11:32)\n at getCustomConnectionAttributes (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Common/AzureStorageUtilities.js:204:51)\n at Object.getRawDataFromAccountCustomConnection (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Common/AzureStorageUtilities.js:128:25)\n at AzureStorageProducer. (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Producers/AzureStorageProducer.js:549:81)\n at step (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Actions/AzureGeneralActions.js:34:23)\n at Object.next (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Actions/AzureGeneralActions.js:15:53)\n at file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Actions/AzureGeneralActions.js:9:71\n at new Promise ()\n at __awaiter (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Actions/AzureGeneralActions.js:5:12)\n at file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Producers/AzureStorageProducer.js:547:69",
"__zone_symbol__name": "TypeError",
"__zone_symbol__message": "Cannot read property 'version' of undefined",
"__zone_symbol__originalStack": "Error: Cannot read property 'version' of undefined\n at AppInsightsAsyncCorrelatedErrorWrapper.ZoneAwareError (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\zone.js\dist\zone-node.js:811:33)\n at new AppInsightsAsyncCorrelatedErrorWrapper (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\applicationinsights\out\AutoCollection\CorrelationContextManager.js:172:18)\n at Function.ExceptionSerializer.deserialize (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\se-exception-serializer\dist\ExceptionSerializer.js:49:28)\n at CloudExplorerProxyMarshaler.finalizeOperation (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\marshalers\CloudExplorerProxyMarshaler.js:76:91)\n at Object.finalizeOperation (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\marshalers\CloudExplorerProxyMarshaler.js:99:76)\n at Function. (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\marshalers\StandardMarshaler.js:28:63)\n at step (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\tslib\tslib.js:136:27)\n at Object.next (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\tslib\tslib.js:117:57)\n at C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\tslib\tslib.js:110:75\n at new ZoneAwarePromise (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\zone.js\dist\zone-node.js:551:29)\n at Object.__awaiter (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\tslib\tslib.js:106:16)\n at JsonPortMarshaler.standardMarshaler.(anonymous function) [as finalizeOperation] (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\marshalers\StandardMarshaler.js:22:32)\n at JsonPortMarshaler.onMessage (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\daytona\pluginHost\messaging\marshaler.js:101:41)\n at Port.EventTarget.dispatchEvent (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\daytona\pluginHost\common\event.js:69:30)\n at Port.processMessage (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\daytona\pluginHost\messaging\communication.js:163:18)",
"__zone_symbol__zoneAwareStack": "Error: Cannot read property 'version' of undefined\n at AppInsightsAsyncCorrelatedErrorWrapper.ZoneAwareError (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\zone.js\dist\zone-node.js:811:33)\n at new AppInsightsAsyncCorrelatedErrorWrapper (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\applicationinsights\out\AutoCollection\CorrelationContextManager.js:172:18)\n at Function.ExceptionSerializer.deserialize (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\se-exception-serializer\dist\ExceptionSerializer.js:49:28)\n at CloudExplorerProxyMarshaler.finalizeOperation (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\marshalers\CloudExplorerProxyMarshaler.js:76:91)\n at Object.finalizeOperation (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\marshalers\CloudExplorerProxyMarshaler.js:99:76)\n at Function. (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\marshalers\StandardMarshaler.js:28:63)\n at step (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\tslib\tslib.js:136:27)\n at Object.next (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\tslib\tslib.js:117:57)\n at C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\tslib\tslib.js:110:75\n at new ZoneAwarePromise (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\zone.js\dist\zone-node.js:551:29)\n at Object.__awaiter (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\tslib\tslib.js:106:16)\n at JsonPortMarshaler.standardMarshaler.(anonymous function) [as finalizeOperation] (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\marshalers\StandardMarshaler.js:22:32)\n at JsonPortMarshaler.onMessage (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\daytona\pluginHost\messaging\marshaler.js:101:41)\n at Port.EventTarget.dispatchEvent (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\daytona\pluginHost\common\event.js:69:30)\n at Port.processMessage (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\daytona\pluginHost\messaging\communication.js:163:18)"
}

Additional Context

@JasonYeMSFT
Copy link
Contributor

Hi @debchat ,

The error is complaining about our connection string store is missing some property. Does it always give you the same error when you try to add other connections?

Thanks

Relate to #1626

@JasonYeMSFT
Copy link
Contributor

Close due to duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✅ duplicate Issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants