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

Obscure error message due to the missing device #19

Open
m4tiz5zktonj opened this issue Jul 5, 2024 · 2 comments
Open

Obscure error message due to the missing device #19

m4tiz5zktonj opened this issue Jul 5, 2024 · 2 comments

Comments

@m4tiz5zktonj
Copy link

If some device from manifest.xml is missing - either does not exist (e.g., old preview versions of devices) or is not downloaded yet via SDK manager, the following error occurs:

[{
	"resource": "/<unknown>",
	"owner": "analysis",
	"severity": 8,
	"message": "Cannot destructure property 'fnMap' of '(intermediate value)' as it is null.",
	"source": "[pmc-analysis]",
	"startLineNumber": 1,
	"startColumn": 1,
	"endLineNumber": 1,
	"endColumn": 1
}]

I'd like it to be "Device 'someDevice' doesn't exist" or something like that.

It can be reproduced by adding no longer existing <iq:product id="epix2pro47mmsystem7preview"/> to manifest.xml.

@markw65
Copy link
Owner

markw65 commented Dec 23, 2024

When exactly do you get this error? I'm not getting it even if I make up products.

@m4tiz5zktonj
Copy link
Author

Sorry, I don't remember details of the original case - I opened someone's project from the GitHub and got that error.

Now I can reproduce it only when all products from the manifest are missing or not exist:

<iq:products>
    <iq:product id="epix2pro47mmsystem7preview"/>
    <iq:product id="notExistingProduct"/>
</iq:products>

If I add at least one existing and downloaded device, this error disappears.

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

2 participants