Bug 334468 - umbrello crashes when importing java single class
Summary: umbrello crashes when importing java single class
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.12.97
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-07 14:23 UTC by mparchet
Modified: 2014-05-26 20:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Java code exemple (no runable) (5.48 KB, patch)
2014-05-08 09:24 UTC, mparchet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mparchet 2014-05-07 14:23:52 UTC
Hello,
when I start the import java single class code process. umbrello crach.

Reproducible: Always

Steps to Reproduce:
1.open umbrello
2.chose code -° import wisird code
3.In programing language chose java language
4. select one several files
5. click start import
Actual Results:  
 Crach

Expected Results:  
1. mport files
2. generate the UML diagramme (reverse engenering).
3. show it.
4. configure it for edtable.
Comment 1 Oliver Kellogg 2014-05-07 21:56:06 UTC
Please attach the Java file for which this happens.
Comment 2 mparchet 2014-05-08 09:24:41 UTC
Created attachment 86519 [details]
Java code exemple (no runable)

I have same problem with other file.
Comment 3 Oliver Kellogg 2014-05-08 17:58:46 UTC
(In reply to comment #2)
> Created attachment 86519 [details]
> Java code exemple (no runable)
> 
> I have same problem with other file.

I verified that your attachment is imported properly using
https://projects.kde.org/projects/kde/kdesdk/umbrello/repository/revisions/ec7a3c05855bc9907ce58d323f8c5a6866b31bd3
Comment 4 mparchet 2014-05-26 17:21:58 UTC
Hello,

So the import code wizird continue whene I click start import but this action is unimplemented because no UML class is genered from my java code.

My java code is from an eclipse project and now I would like to import all my java eclipse packages

So How can I import a complete project folder ?

Thanks for your answer ?

Best regards

mparchet
Comment 5 Ralf Habacker 2014-05-26 20:00:49 UTC
(In reply to comment #4)
> Hello,
> 
> So the import code wizird continue whene I click start import but this
> action is unimplemented because no UML class is genered from my java code.
java code is generated by using the code generator http://docs.kde.org/stable/en/kdesdk/umbrello/code-import-generation.html
> 
> My java code is from an eclipse project and now I would like to import all
> my java eclipse packages
> 
> So How can I import a complete project folder ?
> 
If the import wizard do not work (there are some issues) use menu Code->"import project" or treeview->logical-view->right-mouse-click->"import project"