Blank screen after project creation

  • SonarQube version: v10.5.1 (90531)
  • SonarQube deployed: zip

Hey SonarSource Community !

In earlier Version 9.9LTS when a project is created using UI, there was a pop-up mentioning “Project has been successfully created.”

The problem now in the latest version is, it doesn’t notify anything when a project is created. Just a blank screen is visible.
When reloaded the blank page, it takes back to the home page(list of projects).

Can someone help me fix this issue?

It’s annoying sometimes when there’s no confirmation of project creation !

Thanks,
Sreeram

Hey there.

I can’t reproduce this on my end!

What browser are you using?

Hello Colin !

I tried with two browsers, both behave the same way.

  • Microsoft edge
  • Brave

Thanks @sreeram.

I just had one of our developers with a Windows machine give it a try, and everything worked fine.

Can you open up the DevTools in Microsoft Edge and see if there are any warnings/errors?

Hi Colin.

We have the exact same issue on the same SonarQube version. We use the Developer edition deployed via the Helm chart if that matters. We’ve tried it on a Mac and a Windows laptop, on multiple browsers (Chrome, Edge, Firefox) and we keep getting a blank page after creating a new project.
These are the errors I get in Firefox:

TypeError: Vt.useContext(...) is null
    aV index.tsx:937
    React 14
    c notifyManager.ts:60
    n notifyManager.ts:17
    u notifyManager.ts:72
    u notifyManager.ts:71
    r notifyManager.ts:20
    u notifyManager.ts:70
    setTimeout handler*i notifyManager.ts:22
    u notifyManager.ts:69
    a notifyManager.ts:36
    QV mutation.ts:332
    execute mutation.ts:234
    mutate mutationObserver.ts:124
    E NewCodeDefinitionSelection.tsx:171
    E NewCodeDefinitionSelection.tsx:165
    wV index.js:1130
    React 11
react-dom.production.min.js:189:29
    React 15
    c notifyManager.ts:60
    n notifyManager.ts:17
    u notifyManager.ts:72
    u notifyManager.ts:71
    r notifyManager.ts:20
    u notifyManager.ts:70
    (Async: setTimeout handler)
    i notifyManager.ts:22
    u notifyManager.ts:69
    a notifyManager.ts:36
    QV mutation.ts:332
    execute mutation.ts:234
    mutate mutationObserver.ts:124
    E NewCodeDefinitionSelection.tsx:171
    E NewCodeDefinitionSelection.tsx:165
    wV index.js:1130
    React 11
Uncaught TypeError: Vt.useContext(...) is null
    aV index.tsx:937
    React 14
    c notifyManager.ts:60
    n notifyManager.ts:17
    u notifyManager.ts:72
    u notifyManager.ts:71
    r notifyManager.ts:20
    u notifyManager.ts:70
    setTimeout handler*i notifyManager.ts:22
    u notifyManager.ts:69
    a notifyManager.ts:36
    QV mutation.ts:332
    execute mutation.ts:234
    mutate mutationObserver.ts:124
    E NewCodeDefinitionSelection.tsx:171
    E NewCodeDefinitionSelection.tsx:165
    wV index.js:1130
    React 11
index.tsx:937:29
    aV index.tsx:937
    React 14
    c notifyManager.ts:60
    n notifyManager.ts:17
    u notifyManager.ts:72
    forEach self-hosted:157
    u notifyManager.ts:71
    r notifyManager.ts:20
    u notifyManager.ts:70
    (Async: setTimeout handler)
    i notifyManager.ts:22
    u notifyManager.ts:69
    a notifyManager.ts:36
    QV mutation.ts:332
    execute mutation.ts:234
    InterpretGeneratorResume self-hosted:1412
    AsyncFunctionNext self-hosted:799
    (Async: async)
    mutate mutationObserver.ts:124
    E NewCodeDefinitionSelection.tsx:171
    forEach self-hosted:157
    E NewCodeDefinitionSelection.tsx:165
    wV index.js:1130
    React 11

Thanks,
Sicco

Thanks!

It would help to know more about any specific configuration – like is sonar.web.context set on your SonarQube instance(s)? Any other info about what is configured via conf/sonar.properties or Environment Variables would be helpful.

Hello !

Here are few details setup for web in sonar.properties file.

  • sonar.web.javaOpts=-Xmx2G -Xms512m -XX:+HeapDumpOnOutOfMemoryError
  • sonar.web.port=9911
  • sonar.web.sessionTimeoutInMinutes=4320

Please let me know if you require additional information !