JavaScript error on multi-screen setup (Windows 11, StarUML 6.3.2)

39 views
Skip to first unread message

Maciej Redel

unread,
May 1, 2025, 12:48:47 PMMay 1
to StarUML
hi 

I wanted to report an issue that has been in StarUML for quite some time now (noted it in last few v6.x versions).

I have multi screen setup:

Laptop screen
3x external monitors

Configured as extended desktop so I can have different apps, windows on each screen.
(I wanted to attach picture but seems forum does not allow it)

Top row:
[ExtScr1][ExtScr2][ExtScr3]
Bottom row:
[LaptopScr]

When I start StarUML v 6.3.2 and move window around (sometimes within the same screen, sometimes when I move it to other screen) I get JavaScript error 

Uncaught Exception:
Error: EPERM: operation not permitted, rename
<path AppData\Roaming\StarUML\settings.json.(somenumber)> ->
<path AppData\Roaming\StarUML\settings.json>
at Object.renameSync(node:fs:1023:3)
at Function.writeFileSync [as sync] and a bunch of node_modules references

write-file-atomic
electron-settings

etc.

This is happening on Windows 11 and Windows 10
This has been happening on StarUML v6.x (at least last 3 updates)

Thanks
Maciej





StarUML

unread,
May 2, 2025, 5:21:15 AMMay 2
to StarUML
Hi,

Thank you for your feedback.

However, in our multi-monitor environment, the error does not occur. We tried placing additional monitors in all directions, but we could not reproduce the issue.

The error message seems to indicate that StarUML does not have write permissions for the specified folder. Please try running StarUML as an Administrator.

Thanks,
2025년 5월 2일 금요일 오전 1시 48분 47초 UTC+9에 maciej.re...@gmail.com님이 작성:

Maciej Redel

unread,
May 2, 2025, 6:42:43 AMMay 2
to StarUML
hi

I tried running StarUML as Administrator and error still shows.
Also, I do see timestamp on settings.json being updated  so StarUML has write permissions to file/folder...

Here is content of settings.json

{"windowState":{"main":{"x":39,"y":-396,"width":1413,"height":787,"isMaximized":false}}}

Hope this helps troubleshooting further

Thanks
Maciej



--
You received this message because you are subscribed to a topic in the Google Groups "StarUML" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/staruml/z2MoeVCB0y0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to staruml+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/staruml/c51656df-155b-44c7-b322-18cf7592839bn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages