See above. Reproducible: Always Steps to Reproduce: 1.Create Java class with the same name as it's package. 2.Import class into Umbrello 3.Class represented as a package 4.After some time spent trying to add the class to the diagram Umbrello will crash. Actual Results: Crash Expected Results: Represent the class as a class, not a package.
Would be nice to get a stack trace.
Created attachment 103332 [details] test case
Git commit d6a53823f69f958e0d5e560ee510b8ee4ab0a8d5 by Ralf Habacker. Committed on 10/01/2017 at 17:32. Pushed by habacker into branch 'Applications/16.12'. Fix `Can't import java classes that have the same name as it's package`. FIXED-IN:2.21.2 (KDE Applications 16.12.2) M +8 -0 umbrello/codeimport/javaimport.cpp https://commits.kde.org/umbrello/d6a53823f69f958e0d5e560ee510b8ee4ab0a8d5