Wappler crashes after editing custom query server-action

Wappler Version : 7.1.2
Operating System : Windows
Server Model: NodeJS
Database Type: Supabase
Hosting Type: Docker

After building and saving a "Database Custom Query" step Wappler crashes and all unsaved progress is lost.

What is the custom query you’re using?
Does it happen with a specific sql code or with any custom query you make?

It doesn't happen every time, nor does it happen with specific queries. If I reopen Wappler and re-create the same query, the query is saved normally.

Please restart Wappler in debug mode and try to recreate the issue. When it happens again, locate and send us the debug log as explained here:

I have the logs here after Wappler crashes:

[2025-07-24 16:24:10.997] Main window focused: 2
[2025-07-24 16:24:11.167] moduleFolderPath=file:///C:/Users/mark_/Desktop/Wappler%20Projects/HelloOffice%20Git/app/modules/oauth
[2025-07-24 16:24:43.878] value is the same...for apiUrl
[2025-07-24 16:25:23.808] Main window focused: 2
[2025-07-24 16:25:24.011] moduleFolderPath=file:///C:/Users/mark_/Desktop/Wappler%20Projects/HelloOffice%20Git/app/modules/connections
[2025-07-24 16:25:24.788] go deeper in meta: nameIndex=1
[2025-07-24 16:25:24.788] go deeper in meta: nameIndex=1
[2025-07-24 16:25:24.789] go deeper in meta: nameIndex=1
[2025-07-24 16:25:24.789] CALL NW window: file:///C:/Users/mark_/AppData/Local/Wappler/resources/app/Shared/DMXzone/dmxAppCreator/UI/commands/dmxDatabaseCustomQuery.htm?theme=dark&app=true&noinit=true
[2025-07-24 16:25:24.789] OPEN popup: PopupWindow_1753367124789
[2025-07-24 16:25:24.797] web-contents-created window
[2025-07-24 16:25:24.817] GOT DID CREATE window: PopupWindow_1753367124789
[2025-07-24 16:25:25.204] NW PRELOAD script ....
[2025-07-24 16:25:25.204] IS_BETA=false
[2025-07-24 16:25:25.320] initUI - Database Custom Query
[2025-07-24 16:25:25.325] START inspectConnectionFile, fileName=Supabase, siteName=undefined, target=undefined, CURRENT_SERVER_TYPE=node
[2025-07-24 16:25:25.327] inspect=file:///C:/Users/mark_/Desktop/Wappler%20Projects/HelloOffice%20Git/app/modules/connections/Supabase.json
[2025-07-24 16:25:25.334] initLayout
[2025-07-24 16:25:25.410] START getConnectionSchema ...
[2025-07-24 16:27:04.317] {
length: 97,
name: 'error',
severity: 'ERROR',
code: '42601',
position: '1229',
file: 'scan.l',
line: '1244',
routine: 'scanner_yyerror'
}
[2025-07-24 16:27:50.136] {
length: 97,
name: 'error',
severity: 'ERROR',
code: '42601',
position: '1229',
file: 'scan.l',
line: '1244',
routine: 'scanner_yyerror'
}
[2025-07-24 16:28:09.211] {
length: 97,
name: 'error',
severity: 'ERROR',
code: '42601',
position: '1229',
file: 'scan.l',
line: '1244',
routine: 'scanner_yyerror'
}
[2025-07-24 16:28:30.677] got popup hide for PopupWindow_1753367124789
[2025-07-24 16:28:30.683] set focus to parent window to: 2
[2025-07-24 16:28:30.675] unloadUI - dialogs common
[2025-07-24 16:28:30.697] Main window focused: 2
[2025-07-24 16:28:30.737] got popup close for PopupWindow_1753367124789
[2025-07-24 16:28:30.737] destroy child window: PopupWindow_1753367124789
[2025-07-24 16:28:30.794] got child state on closed
[2025-07-24 16:28:30.925] Main window closed: 1
[2025-07-24 16:28:30.970] crash reason: Wappler process crashed.
[2025-07-24 16:28:31.010] got child state on closed
[2025-07-24 16:28:31.010] got will-quit
[2025-07-24 16:28:31.010] isQuitting=false
[2025-07-24 16:28:31.010] mainWindows.length=0

I've had another crash with different error logs

[2025-07-31 09:45:42.231] got popup hide for PopupWindow_1753947823644
[2025-07-31 09:45:42.239] set focus to parent window to: 2
[2025-07-31 09:45:42.230] unloadUI - dialogs common
[2025-07-31 09:45:42.272] Main window focused: 2
[2025-07-31 09:45:42.362] got popup close for PopupWindow_1753947823644
[2025-07-31 09:45:42.362] destroy child window: PopupWindow_1753947823644
[2025-07-31 09:45:42.420] got child state on closed
[2025-07-31 09:45:42.618] moduleFolderPath=file:///C:/Users/mark_/Desktop/Wappler%20Projects/HelloOffice%20Git/app/modules/connections
[2025-07-31 09:45:42.620] START inspectConnectionFile, fileName=Supabase, siteName=undefined, target=undefined, CURRENT_SERVER_TYPE=node
[2025-07-31 09:45:42.622] inspect=file:///C:/Users/mark_/Desktop/Wappler%20Projects/HelloOffice%20Git/app/modules/connections/Supabase.json
[2025-07-31 09:45:42.723] [LOCALSERVER] Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:216:20) {
errno: -4077,
code: 'ECONNRESET',
syscall: 'read'
}

[2025-07-31 09:45:42.726] [LOCALSERVER] Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:216:20) {
errno: -4077,
code: 'ECONNRESET',
syscall: 'read'
}

[2025-07-31 09:45:42.744] destroyed 13
[2025-07-31 09:45:42.746] destroyed 12
[2025-07-31 09:45:42.842] Main window closed: 1
[2025-07-31 09:45:42.940] crash reason: Wappler process crashed.
[2025-07-31 09:45:42.996] got child state on closed
[2025-07-31 09:45:44.185] [LOCALSERVER] AggregateError [ECONNREFUSED]:
at internalConnectMultiple (node:net:1139:18)
at afterConnectMultiple (node:net:1714:7) {
code: 'ECONNREFUSED',
[errors]: [
Error: connect ECONNREFUSED ::1:3000
at createConnectionError (node:net:1677:14)
at afterConnectMultiple (node:net:1707:16) {
errno: -4078,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 3000
},
Error: connect ECONNREFUSED 127.0.0.1:3000
at createConnectionError (node:net:1677:14)
at afterConnectMultiple (node:net:1707:16) {
errno: -4078,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 3000
}
]
}

Bump

I have the similar problem. It appeared in version 7. When saving a page or a server action, the program just completely freezes, and I have to force close it. I can reopen it, and the file saves normally.

Fixed in Wappler 7.2.0

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.