Skip to content

profile parameter crashes c3po-cmd #63

@techmaurice

Description

@techmaurice

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions