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

TypeError: Cannot read properties of undefined (reading 'length') #2511

Open
sentry-io bot opened this issue Dec 12, 2024 · 0 comments
Open

TypeError: Cannot read properties of undefined (reading 'length') #2511

sentry-io bot opened this issue Dec 12, 2024 · 0 comments
Assignees
Labels
🐛 Bug Something isn't working

Comments

@sentry-io
Copy link

sentry-io bot commented Dec 12, 2024

Similar to ticket #1841

Sentry Issue: GOVTOOL-FRONTEND-AR

TypeError: Cannot read properties of undefined (reading 'length')
  at Cq4 (/assets/index-EyW2gk9t.js:493:1983)
  at Mk0 (/assets/index-EyW2gk9t.js:38:18591)
  at qx0 (/assets/index-EyW2gk9t.js:40:47545)
  at Jx0 (/assets/index-EyW2gk9t.js:40:42961)
  at r90 (/assets/index-EyW2gk9t.js:40:42885)
...
(5 additional frame(s) were not displayed)

Sentry Issue: GOVTOOL-BACKEND-18

Exception Data.Text.Internal.Fusion.Common.tail: Internal error
CallStack (from HasCallStack):
  error, called at libraries/text/src/Data/Text/Internal/Fusion/Common.hs:944:24 in text-1.2.5.0:Data.Text.Internal.Fusion.Common while handling request Request {requestMethod = "GET", httpVersion = HTTP/1.1, rawPathInfo = "/proposal/get/601e3a415a046798844765b001c6135182b6ff32571d110640980ad52df89fe4%23", rawQueryString = "?drepId=", requestHeaders = [("Host","dev-sanchonet.govtool.byron.network"),("User-Agent","Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"),("Accept","application/json, text/plain, */*"),("Accept-Encoding","gzip, deflate, br, zstd"),("Accept-Language","en,en-GB;q=0.9,en-US;q=0.8"),("Authorization","Basic Z292dG9vbDpBOEZ4RE1ud0dvY0RlS1FS"),("Cookie","_ga=GA1.1.1789033277.1724837231; ajs_anonymous_id=%2295851626-6b6d-42ce-a52b-0dda5afa3b62%22; _pk_id.1.444d=e800422ca3c50774.1732858397.; _ga_HEZ7H5YRZC=GS1.1.1733987163.103.1.1733989164.0.0.0"),("Priority","u=1, i"),("Referer","https://dev-sanchonet.govtool.byron.network/governance_actions/601e3a415a046798844765b001c6135182b6ff32571d110640980ad52df89fe4"),("Sec-Ch-Ua","\"Google Chrome\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""),("Sec-Ch-Ua-Mobile","?0"),("Sec-Ch-Ua-Platform","\"Linux\""),("Sec-Fetch-Dest","empty"),("Sec-Fetch-Mode","cors"),("Sec-Fetch-Site","same-origin"),("X-Forwarded-For","103.163.183.66"),("X-Forwarded-Host","dev-sanchonet.govtool.byron.network"),("X-Forwarded-Port","443"),("X-Forwarded-Prefix","/api"),("X-Forwarded-Proto","https"),("X-Forwarded-Server","1bc69d9655d0"),("X-Real-Ip","103.163.183.66")], isSecure = False, remoteHost = 172.20.0.3:34648, pathInfo = ["proposal","get","601e3a415a046798844765b001c6135182b6ff32571d110640980ad52df89fe4#"], queryString = [("drepId",Just "")], requestBody = <IO ByteString>, vault = <Vault>, requestBodyLength = KnownLength 0, requestHeaderHost = Just "dev-sanchonet.govtool.byron.network", requestHeaderRange = Nothing}

Steps to reproduce

Disconnected state

  1. Navigate to https://dev-sanchonet.govtool.byron.network/governance_actions/601e3a415a046798844765b001c6135182b6ff32571d110640980ad52df89fe4
  2. Automatically redirect to internal server error page

image

Connected State

  1. Navigate to https://dev-sanchonet.govtool.byron.network/connected/governance_actions/601e3a415a046798844765b001c6135182b6ff32571d110640980ad52df89fe4
  2. Click on parameters tab
  3. Observe the blank screen and above error on console

image

@sentry-io sentry-io bot added the 🐛 Bug Something isn't working label Dec 12, 2024
@MSzalowski MSzalowski moved this to In progress in Govtool all Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
Status: No status
Status: In progress
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant