I have made a PCB with soldermask clearance as 0(Dimensions-> Pads Mask Clearance-> 0) , but the fabrication people has sent it back saying "We found soldermask expose on trace on both circuit layer" . Why does this happen? Ive attached snippets of my PCB where the Fab ppl points out this problem.
You may have an orphan track on pin 5 which is throwing the error. It must be in the Gerber file so they will have detected it as a track crossing or intruding into a hole.
If that doesn't explain it, tell us what version of Kicad you are using, the latest is BZR5101 I think but the latest versions may only be available in Linux at the moment. If you are using the Windows or OSX versions you can build the latest version from source code.