There are several reasons why you may get this:

Does select * from emp where rownum < 10; give an error?