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

Connection error: cannot read property version of undefined #1600

Closed
sharonrhernandez opened this issue Jul 30, 2019 · 4 comments
Closed

Connection error: cannot read property version of undefined #1600

sharonrhernandez opened this issue Jul 30, 2019 · 4 comments

Comments

@sharonrhernandez
Copy link

{
"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 AzureStorageProducer. (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Producers/AzureStorageProducer.js:396:71)\n at step (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Producers/AzureStorageProducer.js:34:23)\n at Object.next (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Producers/AzureStorageProducer.js:15:53)\n at file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Producers/AzureStorageProducer.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/Producers/AzureStorageProducer.js:5:12)\n at AzureStorageProducer.getSASResources (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Producers/AzureStorageProducer.js:388:120)\n at AzureStorageProducer. (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Producers/AzureStorageProducer.js:338:60)\n at step (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Producers/AzureStorageProducer.js:34:23)",
"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 AzureStorageProducer. (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Producers/AzureStorageProducer.js:396:71)\n at step (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Producers/AzureStorageProducer.js:34:23)\n at Object.next (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Producers/AzureStorageProducer.js:15:53)\n at file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Producers/AzureStorageProducer.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/Producers/AzureStorageProducer.js:5:12)\n at AzureStorageProducer.getSASResources (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Producers/AzureStorageProducer.js:388:120)\n at AzureStorageProducer. (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Producers/AzureStorageProducer.js:338:60)\n at step (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/CloudHub/js/Providers/Azure/Producers/AzureStorageProducer.js:34:23)",
"__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)"
}

@jzieverink
Copy link

I was getting this same error and finally was able to connect by reading this #1262

I had custom connections, so I cleared them in the dev tools. When I tried again it worked.

e.g. "open the developer tools (hit F12), select the Application tab, expand Local Storage > file:// and look for StorageExplorer_CustomConnections_* keys. If anything in there is nonempty, you have a custom connection saved."
I had entries there, hit the clear All icon which removed them and tried again.

@sharonrhernandez
Copy link
Author

I clear everything from the cache and it's still giving me the error when I try to connect.

@sharonrhernandez
Copy link
Author

any updates on this??

@MRayermannMSFT
Copy link
Member

If you see an error message talking about uids of undefined, then whatever you just attached should be there. That error message started being surfaced in 1.9.0 due to us adding some additional error handling logic. You should just be able to refresh the tree view though and whatever you attached should show up. Duplicate of #1532

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants