Bug 511328 - Java Code Generator Crash
Summary: Java Code Generator Crash
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: exporter (other bugs)
Version First Reported In: unspecified
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks: 335364
  Show dependency treegraph
 
Reported: 2025-10-29 16:31 UTC by sc2marines
Modified: 2025-11-17 12:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 25.11.80
Sentry Crash Report:


Attachments
diagramm wich cause the crash. (29.68 KB, text/plain)
2025-10-29 16:31 UTC, sc2marines
Details
The xmi diagramm (29.41 KB, text/x-xmi)
2025-10-29 16:32 UTC, sc2marines
Details
v3.xmi (14.70 KB, text/x-xmi)
2025-10-30 10:04 UTC, sc2marines
Details
Backtrace with debuginfod (26.85 KB, text/plain)
2025-10-30 10:47 UTC, sc2marines
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sc2marines 2025-10-29 16:31:40 UTC
Created attachment 186300 [details]
diagramm wich cause the crash.

SUMMARY

Crash when generating Java code from a class diagramm

STEPS TO REPRODUCE
1. Load the .xmi file
2. Generate java code with all settings to default
3. Crash.

OBSERVED RESULT

App suddenly crashed even with QT_QPA_PLATFORM=xcb 

EXPECTED RESULT

Java code generated successfully with no application crash.
SOFTWARE/OS VERSIONS
Distrib : Debian 13.
 Linux/KDE Plasma: Kernel = 6.12.48+deb13-amd64 (64-bit)
KDE Plasma Version: 6.3.6
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION

See gdb backtrace in attachement 



XMI file :


<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:uml="http://schema.omg.org/spec/UML/2.1">
  <xmi:Documentation exporter="umbrello uml modeller 25.04.2 (Applications 25.04.2) http://umbrello.kde.org" exporterVersion="2.0.4"/>
  <uml:Model xmi:id="m1" name="UML Model">
    <packagedElement xmi:type="uml:Stereotype" xmi:id="folder" name="folder"/>
    <packagedElement xmi:type="uml:Stereotype" xmi:id="dataType" name="dataType"/>
    <packagedElement xmi:type="uml:Model" xmi:id="Logical_View" name="Logical View" stereotype="folder">
      <uml:Package xmi:id="Datatypes" name="Datatypes" stereotype="folder">
        <packagedElement xmi:type="uml:DataType" xmi:id="uPpeuLp2wYoAS" name="char"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="u2wMsa1X4ez6W" name="int"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="up0oEAfoy21HH" name="float"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="uiJQhZNYoatcU" name="double"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="uZSxWHnI6Y3ra" name="bool" isActive="false"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="u8XEI1ySHpRfu" name="string" isActive="false"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="ud6NHS2dUb84m" name="unsigned char" isActive="false"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="uWadq89Jumi85" name="signed char" isActive="false"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="uMf8LFXXthLs7" name="unsigned int" isActive="false"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="uKt9SfoYxnuQD" name="signed int" isActive="false"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="u4tscRc4Wab0o" name="short int" isActive="false"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="u800k97oWXK8C" name="unsigned short int" isActive="false"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="utBPnqe93dIbK" name="signed short int" isActive="false"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="umWoIUiboEEuW" name="long int" isActive="false"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="uIYS8I6ga1v5n" name="signed long int" isActive="false"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="uDkKTpqQA1XQj" name="unsigned long int" isActive="false"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="uHimDyqW4wyCs" name="long double" isActive="false"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="uemQZOjl9ax3X" name="wchar_t" isActive="false"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="uxYdGcZW7pQSy" name="boolean" stereotype="dataType"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="ufFfHZKDE90cR" name="byte" stereotype="dataType"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="uVtTNtq3bgTIA" name="short" stereotype="dataType"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="uIzA4uG4H5Fi8" name="long" stereotype="dataType"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="u4nXGUIh2xHur" name="String" stereotype="dataType"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="ul4DaPotmn8PR" name="Integer" stereotype="dataType"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="u7U5zPBhTI2MA" name="Character" stereotype="dataType"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="u7PEcX3Lc43AL" name="Boolean" stereotype="dataType"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="u954QbcVHkmzt" name="Float" stereotype="dataType"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="ucdVbMbcuH5nO" name="Double" stereotype="dataType"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="uyrTHkaIPOJXG" name="Byte" stereotype="dataType"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="uN0fWEb5qftum" name="Short" stereotype="dataType"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="uB4xiBMKtb6uQ" name="Long" stereotype="dataType"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="uvtwl7jojdlRo" name="StringBuffer" stereotype="dataType"/>
        <packagedElement xmi:type="uml:DataType" xmi:id="uzsNDqntcwpWT" name="StringBuilder" stereotype="dataType"/>
      </uml:Package>
      <packagedElement xmi:type="uml:Class" xmi:id="upuy08XFVHVqD" name="Visitor">
        <generalization xmi:type="uml:Generalization" xmi:id="u36iZSeSSG6mm" general="uOtZ9sbc2d11z"/>
        <ownedAttribute xmi:type="uml:Property" xmi:id="uYhQNbRLB8cqk" name="id" comment="User id." visibility="implementation" type="ul4DaPotmn8PR"/>
      </packagedElement>
      <packagedElement xmi:type="uml:Class" xmi:id="usDkcKDZEWVsU" name="Playlist">
        <ownedAttribute xmi:type="uml:Property" xmi:id="u1NgB0LXf0iCb" name="id" visibility="implementation" type="ul4DaPotmn8PR"/>
        <ownedAttribute xmi:type="uml:Property" xmi:id="uMZIfYpzmvMid" name="name" visibility="implementation" type="u4nXGUIh2xHur"/>
      </packagedElement>
      <packagedElement xmi:type="uml:Class" xmi:id="uOtZ9sbc2d11z" name="Administrator">
        <generalization xmi:type="uml:Generalization" xmi:id="uTsYviasHGryi" general="upuy08XFVHVqD"/>
        <generalization xmi:type="uml:Generalization" xmi:id="upHoS6dyo3HED" general="upuy08XFVHVqD"/>
        <ownedAttribute xmi:type="uml:Property" xmi:id="uxOvHsL3IkSlq" name="id" visibility="implementation" type="ul4DaPotmn8PR"/>
        <ownedAttribute xmi:type="uml:Property" xmi:id="u6elK09UFADqW" name="name" visibility="implementation" type="u4nXGUIh2xHur"/>
      </packagedElement>
      <packagedElement xmi:type="uml:Class" xmi:id="u6FLTHHjQxR5E" name="Video">
        <ownedAttribute xmi:type="uml:Property" xmi:id="uJPgYSpOCizBO" name="id" visibility="implementation" type="ul4DaPotmn8PR"/>
        <ownedAttribute xmi:type="uml:Property" xmi:id="ulrBsYyCB3JZF" name="isDeleted" visibility="implementation" type="u7PEcX3Lc43AL" initialValue="false"/>
        <ownedAttribute xmi:type="uml:Property" xmi:id="uJxI92itosd07" name="views" visibility="implementation" type="ul4DaPotmn8PR"/>
        <ownedAttribute xmi:type="uml:Property" xmi:id="uulNBDkdDo6d8" name="title" visibility="implementation" type="u4nXGUIh2xHur"/>
        <ownedAttribute xmi:type="uml:Property" xmi:id="uuQDgOCuEJCcf" name="description" visibility="implementation" type="u4nXGUIh2xHur"/>
        <ownedAttribute xmi:type="uml:Property" xmi:id="uDfKsb31OPnNR" name="duration" visibility="implementation" type="ul4DaPotmn8PR"/>
      </packagedElement>
      <packagedElement xmi:type="uml:Dependency" xmi:id="ugb815rwJEciE" name="isOwned" client="u6FLTHHjQxR5E" supplier="uOtZ9sbc2d11z"/>
      <packagedElement xmi:type="uml:Association" xmi:id="uA6rzDJ24MQIa" name="owned">
        <ownedEnd xmi:type="uml:AssociationEnd" xmi:id="uizjrt4pe3Sn9" name="" type="u6FLTHHjQxR5E" multiplicity="1" aggregation="none" isNavigable="true" changeability="changeable"/>
        <ownedEnd xmi:type="uml:AssociationEnd" xmi:id="u6sndIoIBmZo4" name="" type="uOtZ9sbc2d11z" multiplicity="*" aggregation="none" isNavigable="true" changeability="changeable"/>
      </packagedElement>
      <packagedElement xmi:type="uml:Association" xmi:id="uqdWa3180qP1U" name="">
        <ownedEnd xmi:type="uml:AssociationEnd" xmi:id="uYzpn6ypQJIJ7" name="" type="uOtZ9sbc2d11z" multiplicity="1" aggregation="none" isNavigable="false" changeability="changeable"/>
        <ownedEnd xmi:type="uml:AssociationEnd" xmi:id="uzTG0sf3M3oCW" name="" type="upuy08XFVHVqD" multiplicity="0..1" aggregation="none" isNavigable="true" changeability="changeable"/>
      </packagedElement>
      <packagedElement xmi:type="uml:Association" xmi:id="u4wtEpUnrkrhf" name="owned">
        <ownedEnd xmi:type="uml:AssociationEnd" xmi:id="uwcFLoo7ErQ1Q" name="" type="uOtZ9sbc2d11z" multiplicity="1" aggregation="none" isNavigable="true" changeability="changeable"/>
        <ownedEnd xmi:type="uml:AssociationEnd" xmi:id="uGWp9xUPFSm1K" name="" type="usDkcKDZEWVsU" multiplicity="*" aggregation="none" isNavigable="true" changeability="changeable"/>
      </packagedElement>
      <packagedElement xmi:type="uml:Association" xmi:id="udgdFqty4Rs9E" name="owned">
        <ownedEnd xmi:type="uml:AssociationEnd" xmi:id="uIW6Ahm1P6okd" name="" type="u6FLTHHjQxR5E" multiplicity="1" aggregation="none" isNavigable="true" changeability="changeable"/>
        <ownedEnd xmi:type="uml:AssociationEnd" xmi:id="uvj4CAITSJPPx" name="" type="uOtZ9sbc2d11z" multiplicity="*" aggregation="none" isNavigable="true" changeability="changeable"/>
      </packagedElement>
      <packagedElement xmi:type="uml:Association" xmi:id="uV4SisIEHHKg5" name="">
        <ownedEnd xmi:type="uml:AssociationEnd" xmi:id="unrZyqENY8lxR" name="" type="uOtZ9sbc2d11z" multiplicity="1" aggregation="none" isNavigable="false" changeability="changeable"/>
        <ownedEnd xmi:type="uml:AssociationEnd" xmi:id="umiOgLXhV2BBR" name="" type="upuy08XFVHVqD" multiplicity="0..1" aggregation="none" isNavigable="true" changeability="changeable"/>
      </packagedElement>
      <packagedElement xmi:type="uml:Class" xmi:id="ul74wEqA4QDko" name="VideoManager">
        <ownedOperation xmi:type="uml:Operation" xmi:id="u5k2vGXrnpCXv" name="create">
          <ownedParameter xmi:type="uml:Parameter" xmi:id="unP8I5tnyFIla" name="name" visibility="private" type="u4nXGUIh2xHur" value=""/>
          <ownedParameter xmi:type="uml:Parameter" xmi:id="uv9GRUMDMUdQG" name="description" visibility="private" type="u4nXGUIh2xHur" value=""/>
          <ownedParameter xmi:type="uml:Parameter" xmi:id="uOgLbxvJceWng" name="duration" visibility="private" type="ul4DaPotmn8PR" value=""/>
        </ownedOperation>
        <ownedOperation xmi:type="uml:Operation" xmi:id="u36dPWS1zij3j" name="delete"/>
        <ownedOperation xmi:type="uml:Operation" xmi:id="uUf1dVrVFyX7K" name="searchVideo">
          <ownedParameter xmi:type="uml:Parameter" xmi:id="uAAm7n4uZJ0qz" name="name" visibility="private" type="u4nXGUIh2xHur" value=""/>
          <ownedParameter xmi:type="uml:Parameter" xmi:id="uEFDRpxm9Nfj5" name="videos" visibility="private" type="uQvpIgicvC4rv" value="" direction="out"/>
        </ownedOperation>
      </packagedElement>
      <packagedElement xmi:type="uml:Class" xmi:id="uJ7rX6mhbjiQt" name="PlaylistManager"/>
      <packagedElement xmi:type="uml:Class" xmi:id="umUuKV2CJ7t7h" name="AdministratorManager">
        <ownedOperation xmi:type="uml:Operation" xmi:id="uExzng57F9Wiy" name="create" comment="Create an administrator">
          <ownedParameter xmi:type="uml:Parameter" xmi:id="uM86a1WnZv6bj" name="name" comment="The user's name" visibility="private" type="u4nXGUIh2xHur" value=""/>
        </ownedOperation>
        <ownedOperation xmi:type="uml:Operation" xmi:id="uE3lfVn318RxF" name="modifyName">
          <ownedParameter xmi:type="uml:Parameter" xmi:id="u6YHx5v4eHEyf" name="name" visibility="private" type="u4nXGUIh2xHur" value=""/>
        </ownedOperation>
      </packagedElement>
      <packagedElement xmi:type="uml:Class" xmi:id="uQvpIgicvC4rv" name="VideoDTO">
        <ownedAttribute xmi:type="uml:Property" xmi:id="u3IvCJrb2QqAk" name="isDeleted" visibility="implementation" type="u7PEcX3Lc43AL" initialValue="false"/>
        <ownedAttribute xmi:type="uml:Property" xmi:id="uYB0ciu8zudjO" name="views" visibility="implementation" type="ul4DaPotmn8PR"/>
        <ownedAttribute xmi:type="uml:Property" xmi:id="u4rS5gEmDRwR2" name="title" visibility="implementation" type="u4nXGUIh2xHur"/>
        <ownedAttribute xmi:type="uml:Property" xmi:id="uk33D8iO6HysY" name="description" visibility="implementation" type="u4nXGUIh2xHur"/>
        <ownedAttribute xmi:type="uml:Property" xmi:id="uxxEDZ2hOAOBd" name="duration" visibility="implementation" type="ul4DaPotmn8PR"/>
      </packagedElement>
      <packagedElement xmi:type="uml:Class" xmi:id="uMrnli1FzmFSv" name="PlaylistDTO">
        <ownedAttribute xmi:type="uml:Property" xmi:id="uC4x6NJ6ZVaeH" name="name" visibility="implementation" type="u4nXGUIh2xHur"/>
      </packagedElement>
      <packagedElement xmi:type="uml:Class" xmi:id="uPNHjR6MEIciL" name="AdministratorDTO">
        <ownedAttribute xmi:type="uml:Property" xmi:id="uNk9NmcgUW4vd" name="id" visibility="implementation" type="ul4DaPotmn8PR"/>
      </packagedElement>
      <xmi:Extension extender="umbrello">
        <diagrams resolution="96">
          <diagram xmi.id="ui7ORZxSpXTGP" name="class diagram" type="1" documentation="" backgroundcolor="#ffffff" usebackgroundcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,0,50,0,0,0,0,0" griddotcolor="#d3d3d3" linecolor="#990000" linewidth="0" textcolor="#000000" usefillcolor="1" showattribassocs="1" showatts="1" showattsig="1" showops="1" showopsig="1" showpackage="1" showpubliconly="0" showscope="1" showstereotype="2" localid="-1" showgrid="0" snapgrid="0" snapcsgrid="0" snapx="25" snapy="25" zoom="77.1267" canvasheight="800" canvaswidth="1100" isopen="1">
            <widgets>
              <classwidget xmi.id="usDkcKDZEWVsU" localid="uwJqZWpoVuxfT" textcolor="#000000" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="0" x="812.061" y="41.947" width="167.934" height="114.808" isinstance="0" showstereotype="2" showoperations="1" showpubliconly="0" showopsigs="601" showpackage="1" showscope="1" showattributes="1" showattsigs="601"/>
              <classwidget xmi.id="upuy08XFVHVqD" localid="upvYVRfqrgClw" textcolor="#000000" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="0" x="445.887" y="71.8316" width="138.874" height="114.11" isinstance="0" showstereotype="2" showoperations="1" showpubliconly="0" showopsigs="601" showpackage="1" showscope="1" showattributes="1" showattsigs="601"/>
              <classwidget xmi.id="uJ7rX6mhbjiQt" localid="uJIrpjZY18qC6" textcolor="#000000" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="1" x="861.045" y="745.108" width="116" height="36" isinstance="0" showstereotype="2" showoperations="1" showpubliconly="0" showopsigs="601" showpackage="1" showscope="1" showattributes="1" showattsigs="601"/>
              <classwidget xmi.id="uQvpIgicvC4rv" localid="uOr9jHHLhuY6N" textcolor="#000000" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="0" x="-585.216" y="56.2161" width="191.091" height="151.834" isinstance="0" showstereotype="2" showoperations="1" showpubliconly="0" showopsigs="601" showpackage="1" showscope="1" showattributes="1" showattsigs="601"/>
              <boxwidget xmi.id="uwEU5a3GPy0h2" localid="uRF3f9X1pz41E" textcolor="#000000" linecolor="#000000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="0" x="-24.2481" y="-32.9109" width="1119.05" height="692.73" isinstance="0" showstereotype="2"/>
              <boxwidget xmi.id="umb3BdIv6127F" localid="uP2YSTcnbifly" textcolor="#000000" linecolor="#000000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="0" x="-27.5346" y="680.498" width="1120.31" height="433.278" isinstance="0" showstereotype="2"/>
              <floatingtext xmi.id="uFC5CTFtv9oB4" localid="ugWHGMbjgPoZB" textcolor="#000000" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="1" x="5.16285" y="966.022" width="66" height="22" isinstance="0" showstereotype="2" text="UseCases" pretext="" posttext="" role="700"/>
              <classwidget xmi.id="u6FLTHHjQxR5E" localid="uoZLhCZP1RpvU" textcolor="#000000" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="0" x="108.902" y="40.5298" width="191.091" height="151.834" isinstance="0" showstereotype="2" showoperations="1" showpubliconly="0" showopsigs="601" showpackage="1" showscope="1" showattributes="1" showattsigs="601"/>
              <floatingtext xmi.id="uS0Tnj9TJzesH" localid="uX9qqAmbvM7mV" textcolor="#000000" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="1" x="496.837" y="-52.3602" width="53" height="22" isinstance="0" showstereotype="2" text="Entities" pretext="" posttext="" role="700"/>
              <classwidget xmi.id="uOtZ9sbc2d11z" localid="uhN98Mtr0yUBq" textcolor="#000000" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="0" x="423.974" y="378.642" width="182.795" height="128.715" isinstance="0" showstereotype="2" showoperations="1" showpubliconly="0" showopsigs="601" showpackage="1" showscope="1" showattributes="1" showattsigs="601"/>
              <floatingtext xmi.id="u8xRrVDQM3Ct7" localid="uVujvjF9bM4Jm" textcolor="#000000" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="1" x="-381.955" y="-12.19" width="40" height="22" isinstance="0" showstereotype="2" text="DTOs" pretext="" posttext="" role="700"/>
              <boxwidget xmi.id="uikye5goUGggr" localid="uI9mrHkyMqEhe" textcolor="#000000" linecolor="#000000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="0" x="-652.167" y="-46.7285" width="597.76" height="703.724" isinstance="0" showstereotype="2"/>
              <classwidget xmi.id="umUuKV2CJ7t7h" localid="uEcEKfka8o8vK" textcolor="#000000" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="0" x="437.157" y="746.089" width="393" height="117.727" isinstance="0" showstereotype="2" showoperations="1" showpubliconly="0" showopsigs="601" showpackage="1" showscope="1" showattributes="1" showattsigs="601"/>
              <classwidget xmi.id="uMrnli1FzmFSv" localid="u1zoeVZCuX5cy" textcolor="#000000" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="0" x="-323.733" y="56.2093" width="167.934" height="114.808" isinstance="0" showstereotype="2" showoperations="1" showpubliconly="0" showopsigs="601" showpackage="1" showscope="1" showattributes="1" showattsigs="601"/>
              <classwidget xmi.id="ul74wEqA4QDko" localid="uXW70ezoPfFiE" textcolor="#000000" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="0" x="26.0739" y="745.672" width="385" height="116.808" isinstance="0" showstereotype="2" showoperations="1" showpubliconly="0" showopsigs="601" showpackage="1" showscope="1" showattributes="1" showattsigs="601"/>
              <classwidget xmi.id="uPNHjR6MEIciL" localid="ujC1TiTbF4fbl" textcolor="#000000" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="0" x="-331.926" y="226.943" width="182.795" height="128.715" isinstance="0" showstereotype="2" showoperations="1" showpubliconly="0" showopsigs="601" showpackage="1" showscope="1" showattributes="1" showattsigs="601"/>
            </widgets>
            <messages/>
            <associations>
              <assocwidget xmi.id="uV4SisIEHHKg5" localid="u7L6dV3KnPGmP" textcolor="#000000" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="1" usesdiagramusefillcolor="1" fillcolor="none" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="1" seqnum="" type="512" widgetaid="uOtZ9sbc2d11z" widgetbid="upuy08XFVHVqD" indexa="0" totalcounta="0" indexb="0" totalcountb="0">
                <floatingtext xmi.id="uOJ9saPXnQ6YN" localid="uxUIR2aEOcKcG" textcolor="none" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="1" usesdiagramusefillcolor="1" fillcolor="none" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="1" x="517" y="354" width="15" height="22" isinstance="0" showstereotype="2" text="1" pretext="" posttext="" role="701"/>
                <floatingtext xmi.id="u8EdFx4n40H2H" localid="uptjs9qGHrpKI" textcolor="none" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="1" usesdiagramusefillcolor="1" fillcolor="none" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="1" x="483" y="187" width="30" height="22" isinstance="0" showstereotype="2" text="0..1" pretext="" posttext="" role="702"/>
                <linepath layout="Direct">
                  <startpoint startx="515.361" starty="378.642"/>
                  <endpoint endx="515.333" endy="185.942"/>
                </linepath>
              </assocwidget>
              <assocwidget xmi.id="udgdFqty4Rs9E" localid="ueGHDUdCrysrP" textcolor="#000000" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="1" usesdiagramusefillcolor="1" fillcolor="none" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="1" seqnum="" type="503" widgetaid="u6FLTHHjQxR5E" widgetbid="uOtZ9sbc2d11z" indexa="0" totalcounta="0" indexb="0" totalcountb="0">
                <floatingtext xmi.id="uneE4q7E5Zv00" localid="umPETvPiP8PT9" textcolor="none" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="1" usesdiagramusefillcolor="1" fillcolor="none" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="1" x="277.558" y="216.51" width="15" height="22" isinstance="0" showstereotype="2" text="1" pretext="" posttext="" role="701"/>
                <floatingtext xmi.id="u6ib6O0oNLZYr" localid="uBfUqkMuO2ohj" textcolor="none" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="1" usesdiagramusefillcolor="1" fillcolor="none" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="1" x="382.495" y="342.246" width="15" height="22" isinstance="0" showstereotype="2" text="*" pretext="" posttext="" role="702"/>
                <floatingtext xmi.id="uN4tLkGmR3bdJ" localid="uDZLZipomuFRE" textcolor="none" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="1" usesdiagramusefillcolor="1" fillcolor="none" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="1" x="346.913" y="269.269" width="49" height="22" isinstance="0" showstereotype="2" text="owned" pretext="" posttext="" role="703"/>
                <linepath layout="Direct">
                  <startpoint startx="276.73" starty="192.364"/>
                  <endpoint endx="454.094" endy="378.642"/>
                </linepath>
              </assocwidget>
              <assocwidget xmi.id="u4wtEpUnrkrhf" localid="uiNYSg9aGeOee" textcolor="#000000" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="1" usesdiagramusefillcolor="1" fillcolor="none" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="1" seqnum="" type="503" widgetaid="uOtZ9sbc2d11z" widgetbid="usDkcKDZEWVsU" indexa="0" totalcounta="0" indexb="0" totalcountb="0">
                <floatingtext xmi.id="uUUYfMvuvnvcA" localid="uW6fC3QYSwVAP" textcolor="none" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="1" usesdiagramusefillcolor="1" fillcolor="none" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="1" x="602.077" y="343.38" width="15" height="22" isinstance="0" showstereotype="2" text="1" pretext="" posttext="" role="701"/>
                <floatingtext xmi.id="uFjDbpSyd06ry" localid="uWKoyHSfQU438" textcolor="none" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="1" usesdiagramusefillcolor="1" fillcolor="none" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="1" x="805.913" y="164.1" width="15" height="22" isinstance="0" showstereotype="2" text="*" pretext="" posttext="" role="702"/>
                <floatingtext xmi.id="uCzLXjWENp4PK" localid="uWqPxOn7UhWki" textcolor="none" linecolor="#990000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="1" usesdiagramusefillcolor="1" fillcolor="none" font="Noto Sans,10,-1,0,50,0,0,0,0,0" autoresize="1" x="709.551" y="267.699" width="49" height="22" isinstance="0" showstereotype="2" text="owned" pretext="" posttext="" role="703"/>
                <linepath layout="Direct">
                  <startpoint startx="586.659" starty="378.642"/>
                  <endpoint endx="832.442" endy="156.755"/>
                </linepath>
              </assocwidget>
            </associations>
          </diagram>
        </diagrams>
      </xmi:Extension>
    </packagedElement>
    <packagedElement xmi:type="uml:Model" xmi:id="Use_Case_View" name="Use Case View" stereotype="folder"/>
    <packagedElement xmi:type="uml:Model" xmi:id="Component_View" name="Component View" stereotype="folder"/>
    <packagedElement xmi:type="uml:Model" xmi:id="Deployment_View" name="Deployment View" stereotype="folder"/>
    <packagedElement xmi:type="uml:Model" xmi:id="Entity_Relationship_Model" name="Entity Relationship Model" stereotype="folder"/>
  </uml:Model>
  <xmi:Extension extender="umbrello">
    <docsettings viewid="ui7ORZxSpXTGP" documentation="" uniqueid="uEFDRpxm9Nfj5"/>
    <listview>
      <listitem id="Views" type="800" open="1">
        <listitem id="Component_View" type="821" open="1"/>
        <listitem id="Deployment_View" type="827" open="1"/>
        <listitem id="Entity_Relationship_Model" type="836" open="1"/>
        <listitem id="Logical_View" type="801" open="1">
          <listitem id="uOtZ9sbc2d11z" type="813" open="1">
            <listitem id="uxOvHsL3IkSlq" type="814" open="0"/>
            <listitem id="u6elK09UFADqW" type="814" open="0"/>
          </listitem>
          <listitem id="uPNHjR6MEIciL" type="813" open="1">
            <listitem id="uNk9NmcgUW4vd" type="814" open="0"/>
          </listitem>
          <listitem id="umUuKV2CJ7t7h" type="813" open="1">
            <listitem id="uExzng57F9Wiy" type="815" open="0"/>
            <listitem id="uE3lfVn318RxF" type="815" open="0"/>
          </listitem>
          <listitem id="ui7ORZxSpXTGP" type="807" label="class diagram" open="0"/>
          <listitem id="Datatypes" type="830" open="0">
            <listitem id="uxYdGcZW7pQSy" type="829" open="1"/>
            <listitem id="u7PEcX3Lc43AL" type="829" open="1"/>
            <listitem id="ufFfHZKDE90cR" type="829" open="1"/>
            <listitem id="uyrTHkaIPOJXG" type="829" open="1"/>
            <listitem id="uPpeuLp2wYoAS" type="829" open="1"/>
            <listitem id="u7U5zPBhTI2MA" type="829" open="1"/>
            <listitem id="uiJQhZNYoatcU" type="829" open="1"/>
            <listitem id="ucdVbMbcuH5nO" type="829" open="1"/>
            <listitem id="up0oEAfoy21HH" type="829" open="1"/>
            <listitem id="u954QbcVHkmzt" type="829" open="1"/>
            <listitem id="u2wMsa1X4ez6W" type="829" open="1"/>
            <listitem id="ul4DaPotmn8PR" type="829" open="1"/>
            <listitem id="uIzA4uG4H5Fi8" type="829" open="1"/>
            <listitem id="uB4xiBMKtb6uQ" type="829" open="1"/>
            <listitem id="uVtTNtq3bgTIA" type="829" open="1"/>
            <listitem id="uN0fWEb5qftum" type="829" open="1"/>
            <listitem id="u4nXGUIh2xHur" type="829" open="1"/>
            <listitem id="uvtwl7jojdlRo" type="829" open="1"/>
            <listitem id="uzsNDqntcwpWT" type="829" open="1"/>
          </listitem>
          <listitem id="usDkcKDZEWVsU" type="813" open="1">
            <listitem id="u1NgB0LXf0iCb" type="814" open="0"/>
            <listitem id="uMZIfYpzmvMid" type="814" open="0"/>
          </listitem>
          <listitem id="uMrnli1FzmFSv" type="813" open="1">
            <listitem id="uC4x6NJ6ZVaeH" type="814" open="0"/>
          </listitem>
          <listitem id="uJ7rX6mhbjiQt" type="813" open="1"/>
          <listitem id="u6FLTHHjQxR5E" type="813" open="1">
            <listitem id="uuQDgOCuEJCcf" type="814" open="0"/>
            <listitem id="uDfKsb31OPnNR" type="814" open="0"/>
            <listitem id="uJPgYSpOCizBO" type="814" open="0"/>
            <listitem id="ulrBsYyCB3JZF" type="814" open="0"/>
            <listitem id="uulNBDkdDo6d8" type="814" open="0"/>
            <listitem id="uJxI92itosd07" type="814" open="0"/>
          </listitem>
          <listitem id="uQvpIgicvC4rv" type="813" open="1">
            <listitem id="uk33D8iO6HysY" type="814" open="0"/>
            <listitem id="uxxEDZ2hOAOBd" type="814" open="0"/>
            <listitem id="u3IvCJrb2QqAk" type="814" open="0"/>
            <listitem id="u4rS5gEmDRwR2" type="814" open="0"/>
            <listitem id="uYB0ciu8zudjO" type="814" open="0"/>
          </listitem>
          <listitem id="ul74wEqA4QDko" type="813" open="1">
            <listitem id="u5k2vGXrnpCXv" type="815" open="0"/>
            <listitem id="u36dPWS1zij3j" type="815" open="0"/>
            <listitem id="uUf1dVrVFyX7K" type="815" open="0"/>
          </listitem>
          <listitem id="upuy08XFVHVqD" type="813" open="1">
            <listitem id="uYhQNbRLB8cqk" type="814" open="0"/>
          </listitem>
        </listitem>
        <listitem id="Use_Case_View" type="802" open="1"/>
      </listitem>
    </listview>
    <codegeneration>
      <codegenerator language="Java"/>
    </codegeneration>
  </xmi:Extension>
</xmi:XMI>
Comment 1 sc2marines 2025-10-29 16:32:28 UTC
Created attachment 186301 [details]
The xmi diagramm
Comment 2 Ralf Habacker 2025-10-29 22:47:41 UTC
Thank you for reporting this issue and providing a stack trace. 

No symbol table information available.
#6  0x0000555555822eb0 in ?? ()
No symbol table information available.
#7  0x0000555555823219 in ?? ()
No symbol table information available.
#8  0x00005555557f5a06 in ?? ()...

No symbol table information available.
#58161 0x00005555557b0038 in ?? ()

58161 stack frames indicate a problem with a recursive call that crashes with a stack overflow. 

I built the attached file with an Umbrello application using Umbrello source version 25.08.2 and loaded from the git master branch, and I was unable to reproduce this error when loading the file.

It would be helpful to know what interactions with the application were performed before the crash and to obtain the Umbrello version used (Help->About menu). 

> No symbol table information available.

Obtaining a stack trace with Umbrello and Qt symbols (debug packages) installed would be helpful, as it would allow us to see more precisely where this is happening.
Comment 3 sc2marines 2025-10-30 10:04:42 UTC
Created attachment 186323 [details]
v3.xmi

Code generation is working correctly, crash when adding a generalization, deleting it and re add a new one in the opposite side.
Comment 4 sc2marines 2025-10-30 10:36:46 UTC
(In reply to Ralf Habacker from comment #2)
> Thank you for reporting this issue and providing a stack trace. 
> 
> No symbol table information available.
> #6  0x0000555555822eb0 in ?? ()
> No symbol table information available.
> #7  0x0000555555823219 in ?? ()
> No symbol table information available.
> #8  0x00005555557f5a06 in ?? ()...
> 
> No symbol table information available.
> #58161 0x00005555557b0038 in ?? ()
> 
> 58161 stack frames indicate a problem with a recursive call that crashes
> with a stack overflow. 
> 
> I built the attached file with an Umbrello application using Umbrello source
> version 25.08.2 and loaded from the git master branch, and I was unable to
> reproduce this error when loading the file.
> 
> It would be helpful to know what interactions with the application were
> performed before the crash and to obtain the Umbrello version used
> (Help->About menu). 
> 
> > No symbol table information available.
> 
> Obtaining a stack trace with Umbrello and Qt symbols (debug packages)
> installed would be helpful, as it would allow us to see more precisely where
> this is happening.

Umbrello UML Modeller
Version 25.04.2 (Applications 25.04.2)


Hi, thanks for the quick response, I have add a new file v3.xmi wich leads me to the same crash.

Reproduce steps : 

- Load v3.xmi
- Add a generalization from visitor to administrator (arrow pointing to administrator)
- Generate java code
   |-> [Working]
- Deleting it by selecting it and pressing "delete"
- Re-add a generalization from administrator to visitor (arrow pointing to visitor)
- Generate java code
  |-> [Crash]

I will upload the backtrace with debuginfod enabled as soon at it's download and generated
Comment 5 sc2marines 2025-10-30 10:47:40 UTC
Created attachment 186326 [details]
Backtrace with debuginfod

Here his the backtrace with debuginfod.

Tell me if there anything you need.

I have used my command like this to generate the backtrace :

gdb -ex "set debuginfod enabled on" -batch -ex run -ex "bt full" -ex quit --args umbrello5 > umbrello-backtrace.txt 2>&1
Comment 6 Bug Janitor Service 2025-11-02 10:14:23 UTC
A possibly relevant merge request was started @ https://invent.kde.org/sdk/umbrello/-/merge_requests/76
Comment 7 Ralf Habacker 2025-11-02 10:33:52 UTC
Git commit 07e0d98a0c676641e5efdcb6d1012b51db2e5458 by Ralf Habacker.
Committed on 01/11/2025 at 16:04.
Pushed by habacker into branch 'master'.

Fix bug not deleting uml association

When an association widget is deleted, the associated UML
association is not deleted. The remaining associations
are no longer visible because they do not appear in the
property dialog of a class. Since they are no longer
visible, cyclic inheritances can easily occur, which
can lead to a crash, e.g., of the Java export.

After this fix, it is important to restore the missing
widgets for such associations and to point out cyclic
inheritances when loading files.
FIXED-IN:25.11.80

M  +1    -1    umbrello/umlwidgets/associationwidget.cpp

https://invent.kde.org/sdk/umbrello/-/commit/07e0d98a0c676641e5efdcb6d1012b51db2e5458
Comment 8 Ralf Habacker 2025-11-02 10:33:54 UTC
Git commit f7845f1127f6297da68fc000f2eef76cd0e39d10 by Ralf Habacker.
Committed on 01/11/2025 at 16:04.
Pushed by habacker into branch 'master'.

Readd lost association widgets in all views

M  +87   -0    umbrello/umldoc.cpp

https://invent.kde.org/sdk/umbrello/-/commit/f7845f1127f6297da68fc000f2eef76cd0e39d10
Comment 9 Ralf Habacker 2025-11-02 10:33:55 UTC
Git commit 1b7b51691431fd1b2a00f75b2e4b5dbe3931746c by Ralf Habacker.
Committed on 01/11/2025 at 16:04.
Pushed by habacker into branch 'master'.

Mark selected associations on the “Associations” page in the diagram

When you select an association on the “Association” page of
the class properties dialog, it is marked in the diagram so
that it can be identified.

M  +25   -0    umbrello/dialogs/pages/classassociationspage.cpp
M  +1    -0    umbrello/dialogs/pages/classassociationspage.h
M  +12   -0    umbrello/umlwidgets/associationline.cpp
M  +13   -0    umbrello/umlwidgets/widgetbase.cpp
M  +4    -0    umbrello/umlwidgets/widgetbase.h

https://invent.kde.org/sdk/umbrello/-/commit/1b7b51691431fd1b2a00f75b2e4b5dbe3931746c