#4 getDescriptorClassNameByInterface does not work

closed
None
5
2012-10-08
2007-03-05
No

getDescriptorClassNameByInterface never returns any class names. The error seems to be the following lines:
Class klass = null;
try {
Class.forName(className);
} catch (ClassNotFoundException cnfe) {
logger.debug(cnfe);
} catch (NoClassDefFoundError ncdfe) {
logger.debug(ncdfe);
} catch (UnsatisfiedLinkError ule) {
logger.debug(ule);
}
if (klass == null) continue;

This goes for at least 0.99.1, but judging from browsing the repository, it seems it hasn't been fixed.

(The obvious fix would be to do klass=Class.forName(className) on line 573)

Discussion

  • Tomas Hamala

    Tomas Hamala - 2007-03-05

    Logged In: YES
    user_id=683415
    Originator: YES

    The class is org.openscience.cdk.qsar.DescriptorEngine, by the way :)

     
  • Egon Willighagen

    Logged In: YES
    user_id=25678
    Originator: NO

    Applied. Thanx for submitting the patch!

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks