A couple of thoughts: Certainly be sure that the corn has had enough time to completely develop. I would try a corn with a short maturity. Stress such as what Farmer Dill mentioned could stifle them. If it was poorly pollinated then you would have a smattering of kernels formed, if that was the case you can fix it by either growing a larger block and/or do some hand pollination on the external plants.