[Uml-devel] [Bug 235703] Umbrello - Segmentation fault when trying to generate code Java

Oliver Kellogg okellogg at users.sourceforge.net
Tue Feb 14 22:39:22 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=235703





--- Comment #2 from Oliver Kellogg <okellogg users sourceforge net>  2012-02-14 22:39:22 ---
Created an attachment (id=68805)
 --> (http://bugs.kde.org/attachment.cgi?id=68805)
XMI file, fixed

On loading your XMI, I see
umbrello(7252) Model_Utils::findUMLObject: findUMLObject: type mismatch for 
"boolean"  (seeking type:  "ot_Datatype" , found type:  "ot_Class" )
umbrello(7252) Model_Utils::findUMLObject: findUMLObject: type mismatch for 
"String"  (seeking type:  "ot_Datatype" , found type:  "ot_Class" )

which is true, you have extra classes "String" and "boolean" in the Logical
View although these are predefined Java types which should appear in the
Datatypes folder.
In the attachment, the extra classes are replaced by the predefined types.

Further, in line 137 you have:

<UML:Generalization discriminator="" visibility="public"
isSpecification="false" namespace="Logical View" child="MJy1trKgW4aY"
xmi.id="UBaouQwfj4Zn" parent="V41PJPJeavLm" name=""/>

which defines AbstractRisorsa to inherit from Risorsa (doesn't sound right?)
and in fact, in the next line:

<UML:Generalization discriminator="" visibility="public"
isSpecification="false" namespace="Logical View" child="V41PJPJeavLm"
xmi.id="P7m4zwzCGeDu" parent="MJy1trKgW4aY" name=""/>

you have an inheritance in the opposite direction.
The mutual inheritance throws Umbrello off the handle and so I've removed the
first one. (Actually I wonder why Umbrello did not disallow its creation.)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the umbrello-devel mailing list