TQNTupleDumper initializes tree early
When in TQNTupleDumperAnalysisJob::initializeSampleFolder(...) all placeholders in the output filename are replaced, the method TQNTupleDumperAnalysisJob::initializeTree(...) is called and all sample folders below are pooled. Currently, however, initializeSampleFolder(...) does not check if all placeholders in the tree name can be replaced, which can cause a crash.
My suggestion: before initializing the tree and pooling, add the additional condition that the tree name is completely resolved.