Skip to content

Query Tool crashes with React error #130 in pgAdmin 9.14 (regression from 9.13) #9816

@NTMan

Description

@NTMan

Describe the bug

Opening the Query Tool in pgAdmin 4 v9.14 immediately crashes with a blank white screen and React error #130 in the browser console:

Uncaught Error: Minified React error #130; visit https://react.dev/errors/130?args[]=undefined&args[]=
for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

Error #130 means "Element type is invalid: expected a string or a class/function but got: undefined" — a React component resolves to undefined during render.

Downgrading to pgAdmin 9.13 immediately fixes the issue.

To Reproduce

  1. Install pgadmin4 9.14
  2. Launch pgAdmin, connect to any PostgreSQL server
  3. Open the Query Tool (right-click database → Query Tool, or toolbar icon)
  4. Result: blank white screen, React error While restating pgadmin server it is calculating "lastsysoid" wrong (RM #1128) #130 in browser console

This is 100% reproducible. Tested with:

  • Clean ~/.pgadmin/ (fresh database, no prior state)
  • LLM_ENABLED = False in config_local.py — same crash
  • Both via QtWebEngine (pgadmin4-qt) and via a regular browser (Firefox, Chrome) with the standalone Flask server
  • Two independent machines with identical software

Confirming the regression

  1. sudo dnf downgrade pgadmin4 pgadmin4-qt (back to 9.13)
  2. Open the Query Tool
  3. Result: works correctly

Secondary symptom

If the user had Query Tool tabs open when they last used 9.13, the Browser/Layout value in the setting table of pgadmin4.db references those tabs. After upgrading to 9.14, pgAdmin crashes on startup (not just when manually opening the Query Tool), because layout restoration attempts to render the Query Tool component. This makes the app appear completely broken with no obvious workaround. Deleting Browser/Layout from the setting table restores the main UI, but the Query Tool remains broken.

Environment

  • pgAdmin version: 9.14-1.fc45 (crashes) / 9.13-1.fc45 (works)
  • Package type: RPM, Fedora 45 (Rawhide), x86_64
  • Runtime: pgadmin4-qt (unofficial Qt runtime) and standalone Flask + browser (Firefox/Chrome)
  • Qt WebEngine: 6.10.2 (irrelevant — crash reproduces in regular browsers too)
  • Reproduced on: 2 independent machines with identical software

Browser console stack trace (Chrome DevTools, server mode)

Uncaught Error: Minified React error #130
    at Wr (vendor_react.js?ver=91400:2:63273)
    at m  (vendor_react.js?ver=91400:2:74129)
    at    vendor_react.js?ver=91400:2:76288
    at ls (vendor_react.js?ver=91400:2:114688)
    at dc (vendor_react.js?ver=91400:2:152088)
    at uc (vendor_react.js?ver=91400:2:151936)
    at sc (vendor_react.js?ver=91400:2:151728)
    at Xo (vendor_react.js?ver=91400:2:147527)
    at Bc (vendor_react.js?ver=91400:2:163195)
    at Lc (vendor_react.js?ver=91400:2:161664)

ver=91400 corresponds to pgAdmin 9.14.00 internal version.

pgadmin4-qt console output

Starting pgAdmin 4. Please navigate to http://127.0.0.1:34977 in your browser.
2026-04-03 20:11:31,352: WARNING	werkzeug:	Werkzeug appears to be used in a production deployment.
 * Serving Flask app 'pgadmin'
 * Debug mode: off
js: Uncaught Error: Minified React error #130; visit https://react.dev/errors/130?args[]=undefined&args[]=
for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions