SmartDataAnalytics / DL-Learner

A tool for supervised Machine Learning in OWL and Description Logics
http://dl-learner.org
GNU General Public License v3.0
152 stars 34 forks source link

[Bug] Rest interface [sf#69] #14

Closed patrickwestphal closed 9 years ago

patrickwestphal commented 9 years ago

Reported by wormsbee on 2012-11-06 10:18 UTC curl --data-urlencode conf@AristotlePosNeg.conf "http://localhost:9099/interfaces/rest"

{"learningresult":{"error":"An error occured: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'alg': Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'learningProblem' of bean class [org.dllearner.algorithms.ocel.OCEL]: Bean property 'learningProblem' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?","stacktrace":org.springframework.beans.NotWritablePropertyException: Invalid property 'learningProblem' of bean class [org.dllearner.algorithms.ocel.OCEL]: Bean property 'learningProblem' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?,"success":"0"}}

patrickwestphal commented 9 years ago

Commented by wormsbee on 2012-11-06 10:19 UTC

LorenzBuehmann commented 9 years ago

I cannot reproduce this issue. Just from the stacktrace this could/should never happen because the setter setLearningProblem indeed exists in the super class AbstractCELA, thus I'll close this issue.