The processor presumably couldn't compile the stylesheet because it (the stylesheet) contained errors; we can't tell you how to fix those errors without seeing the stylesheet and the error messages. If you didn't see any error messages (other than the exception) then you need to fix ReceiptTransformer.java to make sure the errors are displayed somewhere or written to a log. By default they probably go to System.err; if you need to, you can supply your own ErrorListener to catch them and log them somewhere.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference