[Uml-devel] [Bug 200721] import of java file failed, Umbrello crashed with signal 11

Ralf Habacker ralf.habacker at freenet.de
Wed Nov 30 09:43:48 UTC 2011


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


Ralf Habacker <ralf.habacker at freenet.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|umbrello-devel at kde.org |ralf.habacker at freenet.de
                   |.net                        |




--- Comment #5 from Ralf Habacker <ralf habacker freenet de>  2011-11-30 09:43:47 ---
Created an attachment (id=66219)
 --> (http://bugs.kde.org/attachment.cgi?id=66219)
patch fixing the runtime error

The problem here is that the java importer crashes when a java file is imported
from a location outside the regular java package hierachy. 
While finding unknown classes the parser tries to step up in the package
hierachy to find the package root, which fails with a runtime error when the
path do not fit into the package hierachy. 

Because java package hierachy is very important for the java import I suggest
to add a user warning if file pathes of imported files are outside the java
package hierachy.

-- 
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