[umbrello] [Bug 373382] New: Java import crashes on importing enums

Ralf Habacker bugzilla_noreply at kde.org
Wed Dec 7 12:34:25 UTC 2016


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

            Bug ID: 373382
           Summary: Java import crashes on importing enums
           Product: umbrello
           Version: 2.20.3 (KDE Applications 16.08.3)
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: umbrello-devel at kde.org
          Reporter: ralf.habacker at freenet.de
  Target Milestone: ---

Created attachment 102659
  --> https://bugs.kde.org/attachment.cgi?id=102659&action=edit
testclient.java

Importing the appended java testcases (first testclient.java, then test.java)
let umbrello crash.

Stack trace:
0       QList<QPointer<UMLObject>>::QList       qlist.h 122     0x4692f4        
1       QListIterator<QPointer<UMLObject>>::QListIterator       qlist.h 902    
0x4d4439        
2       UMLCanvasObject::findChildObject        umlcanvasobject.cpp     244    
0x5c2502        
3       UMLEnum::addEnumLiteral enum.cpp        134     0x5b62c2        
4       Import_Utils::addEnumLiteral    import_utils.cpp        533    
0x4f92f4        
5       JavaImport::parseStmt   javaimport.cpp  398     0x4fe938        
6       NativeImportBase::parseFile     nativeimportbase.cpp    490    
0x50182a        
7       JavaImport::parseFile   javaimport.cpp  265     0x4ffe04        
8       ClassImport::importFiles        classimport.cpp 94      0x4f69f7        
9       UMLApp::importFiles     uml.cpp 2857    0x44f54e        
10      UMLApp::slotImportClass uml.cpp 2884    0x44f719        
11      UMLListView::slotMenuSelection  umllistview.cpp 487     0x470dbd        
12      UMLListView::contextMenuEvent   umllistview.cpp 2076    0x471f85        
13      QWidget::event  qwidget.cpp     8567    0x7ffff29d9712  
14      QFrame::event   qframe.cpp      557     0x7ffff2d77b6e  
15      QAbstractItemView::viewportEvent        qabstractitemview.cpp   1644   
0x7ffff2e87a93  
16      QTreeView::viewportEvent        qtreeview.cpp   1252    0x7ffff2ec69b0  
17      QCoreApplicationPrivate::sendThroughObjectEventFilters 
qcoreapplication.cpp    1065    0x7ffff20f9fd6  
18      QApplicationPrivate::notify_helper      qapplication.cpp        4561   
0x7ffff2986d7c  
19      QApplication::notify    qapplication.cpp        4187    0x7ffff298e0d8  
20      KApplication::notify            311     0x7ffff681483a  
...     <Mehr>                          

Note: umbrello 2.15.3 did not crash but prints out the following warning:
umbrello(25811) Model_Utils::findUMLObject: type mismatch for  "AnEnum" 
(seeking type:  "ot_Enum" , found type:  "ot_Class" )

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list