Reverse polarity on barn circuit?
I recently was replacing a damaged outlet in a barn that is on it's own circuit from a breaker panel. I wired it correctly (black to brass, white to white, etc.) and plugged a polarity tester into the outlet to double check when I was finished. It showed reverse polarity; as I go around the barn plugging the tester into other outlets I find they are all reversed. I thought my tester might be incorrect, so I used my electric tester with the black and red wires that you use to test for circuit completion. I found that I only got current from neutral>hot and neutral>ground. I've been inside the junction box at the beginning of the circuit and everything is correct there as well. It should be noted that this barn also feeds a second barn (also showing reverse polarity). What could be the problem here? Could there be a grounding issue?
Here is a diagram of sorts:
[breaker box]
---------[junction box]
-------[receptacles (2) and a light]
------- [1 light]
------- [2nd barn]
----[junction box]
-----[3 receptacles and 3 lights]