If you specify an AntAction.xml file with an uninstall_target referencing a target in an Ant file, you get a pretty nasty exception when uninstalling your software.
If you look closely at the java class AntActionUninstallerListener.java, line 220 of getBuildResource() :
You can see that the temporary ByteArrayInputStream bin is not used at all. The commit made by on 27 December 2016 related to broke this. We try to copy from the InputStream itself but no copy is made, therefore a SAXParser exception is thrown later on because the file cannot be read.
I have a pull request ready by just replacing the "is" variable by "bin" variable.