Oracle Message ORA-08002 - sequence string.CURRVAL is not yet defined in this session

ERRORsequence string.CURRVAL is not yet defined in this session
CAUSEsequence CURRVAL has been selected before sequence NEXTVAL
ACTIONselect NEXTVAL from the sequence before selecting CURRVAL