This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 155867 - java.lang.IllegalStateException: Caller of TokenSequence forgot to call moveNext/Previous() or it returned false (no more tokens)
Summary: java.lang.IllegalStateException: Caller of TokenSequence forgot to call moveN...
Status: RESOLVED WORKSFORME
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-19 23:59 UTC by Tomas Mysik
Modified: 2009-03-24 15:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack trace (721.98 KB, text/plain)
2008-12-19 23:59 UTC, Tomas Mysik
Details
PHP file (5.19 KB, text/plain)
2008-12-20 01:22 UTC, Tomas Mysik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2008-12-19 23:59:10 UTC
I got this exception while invoking CC (I get it quite often, quite annoying).
I will attach the whole exception, feel free to ask for any information you need. Thanks.

Product Version: NetBeans IDE Dev (Build 200812180001) M1
Java: 1.6.0_11; Java HotSpot(TM) Server VM 11.0-b16
System: Linux version 2.6.27-gentoo-r6 running on i386; UTF-8; cs_CZ (nb)
Comment 1 Tomas Mysik 2008-12-19 23:59:45 UTC
Created attachment 75200 [details]
stack trace
Comment 2 Tomas Mysik 2008-12-20 00:47:59 UTC
Hmmm, quite bad, unfortunately a stopper for me in using M1, happens very often :/
Comment 3 Tomas Mysik 2008-12-20 00:59:47 UTC
I tried a clean userdir and it seems to work - I will investigate more.
Comment 4 Petr Pisl 2008-12-20 01:02:07 UTC
Tome, please attach the source code. I will fix it, but it looks like it's going from SQL.
Comment 5 Tomas Mysik 2008-12-20 01:22:48 UTC
Created attachment 75203 [details]
PHP file
Comment 6 Tomas Mysik 2009-01-12 09:59:52 UTC
P2 IMHO.
Comment 7 rmatous 2009-03-12 15:13:49 UTC
Seems like SQL bug, reassigning 
Comment 8 rmatous 2009-03-12 15:16:25 UTC
So, reassigning
Comment 9 Jiri Rechtacek 2009-03-24 15:29:39 UTC
It's not reproducible. I close it for now. However a changeset core-main/rev/69a6fa710ef9 contain some fixes in SQL CC
while editing SQL in PHP editor.