Execution problem in FP Growth source code
Posted by: sahil
Date: March 30, 2014 10:38PM

I have created new java project for FP Growth and also imported all the files successfully but having some issues during compilation.please check it


Exception in thread "main" java.lang.NullPointerException
at fp.MainTestAllAssociationRules_FPGrowth_saveToFile.fileToPath(MainTestAllAssociationRules_FPGrowth_saveToFile.java:42)
at fp.MainTestAllAssociationRules_FPGrowth_saveToFile.main(MainTestAllAssociationRules_FPGrowth_saveToFile.java:19)

Re: Execution problem in FP Growth source code
Date: March 31, 2014 04:52AM

It seems to be an issue about file paths.

I see that you have changed the package name so this could be the reason.

I would recomment to change the file paths to relative paths.

For example:

String input = "c:\\your_directory\\your_inputfile.txt";

String output = "c:\\your_directory\\your_outputfile.txt";

Then it should work.



Edited 1 time(s). Last edit at 03/31/2014 04:52AM by webmasterphilfv.

This forum is powered by Phorum and provided by P. Fournier-Viger (© 2012).
Terms of use.