Help! Werid Problem

Here is a part of a method of mine

FOR sub IN subs LOOP
billing_id_global := sub.billing_id;

IF (v_counter = max_trx_in) THEN
DBMS_OUTPUT.PUT_LINE(trx_hdr ||' '|| countstr ||' - commit point reached');
COMMIT;
v_counter := 0;
END IF;

IF (v_counter = 0) THEN
.........

END IF;

When I try to compile the method, I got the following error

Error(49,12): PL/SQL: SQL Statement ignored
Error(49,19): PL/SQL: ORA-02289: sequence does not exist

The very very confusing part is
Position (49,12) is the open bracket of line: "IF (v_counter = 0) THEN"
(49,19) is the letter "t" in the word counter....

What on earth is going on? I am going crazy!
The variable v_counter is declared earlier, and... If there is something wrong with declaration of this variable I would have have trouble on eariler line where I check for "(v_counter = max_trx_in)"

seriously... what is going on...
[1099 byte] By [xusword] at [2007-11-20 10:35:04]
# 1 Re: Help! Werid Problem
The line showing the error, may be a red herring. Usually this error occurs if the sequence owner has not been set correctly.
Bill Crawley at 2007-11-9 13:45:36 >
# 2 Re: Help! Werid Problem
but it's not a sequence, it's just a variable
xusword at 2007-11-9 13:46:37 >
# 3 Re: Help! Werid Problem
Nevermind...

It seems my SQL client (Oracle SQL developer) is putting the red line on the wrong place...

stupid...
xusword at 2007-11-9 13:47:36 >