The example provided in InChIToStructure.java shows the .getInChIToStructure method with one argument:
InChIToStructure intostruct = factory.getInChIToStructure(inchi);
whereas the method requires an additional argument IChemObjectBuilder
a corrected version would therefore look like:
InChIToStructure intostruct = factory.getInChIToStructure(inchi, DefaultChemObjectBuilder.getInstance());
Bug fix patch filed at:
https://sourceforge.net/tracker/?func=detail&aid=3044308&group_id=20024&atid=320024
Patch has been applied.