[ https://issues.apache.org/jira/browse/MAHOUT-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen updated MAHOUT-355: ----------------------------- Resolution: Fixed Fix Version/s: 0.4 Status: Resolved (was: Patch Available) Looks so reasonable I committed it. > Misleading JavaDoc comment in FPGrowth > -------------------------------------- > > Key: MAHOUT-355 > URL: https://issues.apache.org/jira/browse/MAHOUT-355 > Project: Mahout > Issue Type: Bug > Components: Frequent Itemset/Association Rule Mining > Affects Versions: 0.2, 0.3 > Reporter: Sebastian Schelter > Priority: Trivial > Fix For: 0.4 > > Attachments: MAHOUT-355.patch > > > The JavaDoc for > org.apache.mahout.fpm.pfpgrowth.fpgrowth.FPGrowth.generateTopKFrequentPatterns(...) > states that if the parameter returnableFeatures is null then patterns for > every frequent item are generated. > But this works only if you give the method an empty set, submitting null > results in a NullPointerException. Either change the comment or do a null > check here. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.