You attempted to execute <sequence_name>.CURRVAL (Specification of Values (value_spec)) before using <sequence_name>.NEXTVAL in the database session.
Execute <sequence_name>.NEXTVAL before executing <sequence_name>.CURRVAL.