OpenGrok – Uncaught URIError: URI malformed at decodeURIComponent
If you are you facing alignment/ visibility issues while using OpenGrok and unable to find a solution, don’t worry you are at the right place. Before jumping into the solution let us understand the reason behind this abnormal behavior.
To find out the reason, right-click on your OpenGrok page -> Inspect -> Traverse through the “Elements” inorder to select the right control having alignment / visiblity issue -> checkout reason in “Console [ at the bottom ]”
If you are getting “”Uncaught URIError: URI malformed at decodeURIComponent” as shown below, Then follow below steps to resolve the same
Uncaught URIError: URI malformed at decodeURIComponent (<anonymous>) at getCookie (utils-0.0.32.min.js:1) at domReadyMenu (utils-0.0.32.min.js:1) at Array.<anonymous> ((index):40) at HTMLDocument.<anonymous> (utils-0.0.32.min.js:1) at e (jquery-3.4.1.min.js:2) at t (jquery-3.4.1.min.js:2)
Go to chrome -> settings -> Advanced -> Reset & Clean up -> Select ” Restore settings to their original defaults -> Reset Settings
Trust me, I have been struggling with this problem from past five days and fixed the same with above given steps.