Answer: Since your plant continued to flower, you must be taking good care of it. The fruit would fail to form because the flowers need to be pollinated. Indoors, where there are few insects, it is usually necessary to do this by using a small paint brush. Unfortunately, however, it sounds like your pepper is being affected by a disease and it may be the most prudent thing is to discard it (including the soil and any plant debris) and replace it with a new plant in a clean pot and soil. I'm sorry I can't be more encouraging.
Q&A Library Searching Tips