I applied before for German visa in 2012 and I got rejected that visa from German embassy and After my visa was rejected and my passport was one year more valid then it was  expired. 
I came to Germany by  country to country without visa. 
Yes I afraid that I applied on that time for German visa and my passport that time was expired when I came to Germany .
I m really afraid about this