I had a problem in the database access chapter which I have now resolved. However, if any one could shed any light on how I could have debugged the problem more quickly I would be very appreciative.
I made a typo for the occupation field in the employee template def. As a result the occupation field was returning nil in the vector. When I tried to create the pdf using this data the only error I got was:
NullPointerException clojure.core/name (core.clj:1505)
This made it very difficult to work out where my code was wrong. Up until now clojure error messages have been very informative and pointed me in the right direction to debug. Is there anything I could have done when using the clj-pdf library that would have helped me trace the problem more quickly?