c3po icon indicating copy to clipboard operation
c3po copied to clipboard

profile parameter crashes c3po-cmd

Open techmaurice opened this issue 11 years ago • 0 comments

The profile parameter crashes c3po-cmd, after succesful gather of same dataset.

H:\c3po>java -jar c3po-cmd-0.4.0.jar profile -c testfiles Hello, I am c3po, human content profiling relations Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number at org.bson.BasicBSONObject.getDouble(BasicBSONObject.java:169) at com.petpet.c3po.dao.mongo.MongoPersistenceLayer.parseNumericStatistic s(MongoPersistenceLayer.java:693) at com.petpet.c3po.dao.mongo.MongoPersistenceLayer.getNumericStatistics( MongoPersistenceLayer.java:535) at com.petpet.c3po.dao.DefaultPersistenceLayer.getNumericStatistics(Defa ultPersistenceLayer.java:130) at com.petpet.c3po.analysis.ProfileGenerator.processNumericProperty(Prof ileGenerator.java:384) at com.petpet.c3po.analysis.ProfileGenerator.createPropertyElement(Profi leGenerator.java:279) at com.petpet.c3po.analysis.ProfileGenerator.generateProperties(ProfileG enerator.java:259) at com.petpet.c3po.analysis.ProfileGenerator.generateProfile(ProfileGene rator.java:189) at com.petpet.c3po.controller.Controller.profile(Controller.java:239) at com.petpet.c3po.command.ProfileCommand.execute(ProfileCommand.java:70 ) at com.petpet.c3po.C3PO.compute(C3PO.java:135) at com.petpet.c3po.C3PO.main(C3PO.java:167)

techmaurice avatar Jun 28 '13 13:06 techmaurice