` FilterController filterController = Lookup.getDefault().lookup(FilterController.class);` Here, `filterController` is null after the statement. Not sure what's going on. To reproduce: launch the `TopicDetectionFunction` main class (replace the gexf by one you've got) in this repo: https://github.com/seinecle/topics-detection-function