Our application is in Forms

We are using below sql statement in many forms.

select s_erpc_rep_table.nextval into v_seq_no from dual;

From perticular one FORM I am getting ORA-01003 no statement parsed.
This problem comes not on all machines.

Version of FORMS are same at all clients and I have also recompile the FORM.