The original problem was found in the domainstory stdlib.
!include <material/$icon>
produces
java.io.IOException: Stream closed
at java.base/java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:169)
at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:345)
at java.base/java.io.BufferedInputStream.implRead(BufferedInputStream.java:420)
at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:399)
Details see domainStory fails with openJDK on Ubuntu 24.04 · Issue #27 · johthor/DomainStory-PlantUML
It looks like an error in the last version/integration of material stdlib itself because even the sample in stdlib is not working ( "!include <material/common>" is not working too)
@startuml
!include <material/common>
' To import the sprite file you DON'T need to place a prefix!
!include <material/folder_move>
MA_FOLDER_MOVE(Red, 1, dir, rectangle, "A label")
@enduml
Even the the materials folder in the stdlib folder s empty "https://github.com/plantuml/plantuml-stdlib/tree/master/stdlib/material"
BR Helmut
PS.: maybe we still need a "material" copy for older versions