Well, I figured it out a bit, although I definitely don't like the fix. Since the file is in the project directory, its execution and its DataObject is in the search for the DataNode used to create the tree structure, which I just used: (... (DataNode) getParentNode () getParentNode () getParentNode () getParentNode ()) getDataObject () getPrimaryFile () ..;
I do not really like this method, but now it works fine.
source
share