each time i perform an action in my Site i get this error: cannot set property 'muted' of null
when i refresh the browser, the error disappears and i see that that changes from action were made
Please can you help me ?
i have attaches a screenshot of the Error
Is it happening to any particular page in a site or to any site in an environment?
This happens only to the pages from one particular site.
Means problem resite in the site/action configuration. Maybe you can try creating a new site with step by step configuring and see after which step configuration the error start coming up.As I am not sure about this issue.
Go into the interface / expression code, click inside the code, hit Ctrl + F. This will open search. Search the word "muted". This will help you find what is trying to set the "muted" field of some CDT.
What's ultimately happening is that something is attempting to return a CDT. One of the fields of that CDT is called "muted". Whenever the thing that tries to return the CDT fails, it returns nothing, AKA null. Null doesn't have any fields. So when you try to set the "muted" of this null with no fields, it gets confused.
So after you find where the code is trying to set a variable's "muted" value to something, go to where that variable is instantiated or queried. You know that part isn't working. Your bug is now figuring out why that CDT consistently comes up null.
One of the things you can do to help isolate is copy all the code to a temporary test interface or rule, then delete everything that does anything but call that CDT into being, and write something that just shows you the contents of that CDT. Keep messing with whatever part makes the CDT until it's working, then you can try adding all the other code back to see if the whole interface / rule now works.
Thank you David, but I don't have any "muted" variable in my CDTs
Do you have other CDTs in your CDTs? It specifically says 'muted', and specifically says it's a property. It has to be the property of something.
Another thing you can do:
If you've upgraded to 20.1, load the interface by itself and plug in the inputs from the process instance on the same environment to test. Then look at the list of local variables on the side bar and investigate those that are null.
If you have not upgraded to 20.1:
Copy the code to a temporary file
Remove all the code after the declaration of local variables
Replace it with a textField component, and set that to read Only, and have it display the first local variable
Then update the textField to show the next local variable, and the next, and the next, until you see the one that's null
I'm more confident that one of your local variables is being returned null than any other theory at this point. You can start your dive from the null local variables you find until you get to the root of the problem, and then you might also fully understand what all this 'muted' business is about as well.
Same error for us. If someone find a solution please help us
I had your same problem. I found out that the error was caused by a Billboard that contained an a! Webvideo ().By removing the a! Webvideo, the problem has been solved.I don't know if it's the same problem for you too.
Hi, let me knowThanks
There is the clue! "Muted" sounds like a fantastic parameter for a video. Especially if you have a null or empty video, then it wouldn't have all the parameters that the part of the code seeking to render the video would be looking for.
I don't know, the video that was on the Billboard was a video provided by Appian and I could see it correctly, there was no error in the interface.But on the 'site, if I launched an action (in the tab that contained the video) or navigated from the tab (which contained the video) to other tabs, I saw that error.The a! Webvideo () had all the parameters set correctly
I specify that this error is only in the last Appian Release, before it worked correctly
I have the same issue in the webvideo of a billboard. When I comment the webvideo code, the error goes away. All parameters of webvideo are set properly. This is a new 20.1 issue. Please help. I want to have a webvideo in my billboard. Now I am having to put an image. Appian Community
Did this work in 19.4 and now it doesn't in 20.1? If so, I'd recommend opening a ticket with Appian support.
Discussion posts and replies are publicly visible
© 2020 Appian. All rights reserved.