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 225069 - IllegalStateException: Annotation not added: CallSiteCall Stack Line
Summary: IllegalStateException: Annotation not added: CallSiteCall Stack Line
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-18 16:56 UTC by benignogp
Modified: 2013-08-23 10:32 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 181006


Attachments
stacktrace (2.52 KB, text/plain)
2013-01-18 16:56 UTC, benignogp
Details
stacktrace (2.56 KB, text/plain)
2013-01-29 08:34 UTC, Vladimir Voskresensky
Details
stacktrace (1.06 KB, text/plain)
2013-02-01 14:16 UTC, stefan79
Details
stacktrace (3.98 KB, text/plain)
2013-08-20 13:04 UTC, janario
Details
stacktrace (2.79 KB, text/plain)
2013-08-21 12:19 UTC, ehsavoie
Details
stacktrace (3.98 KB, text/plain)
2013-08-21 13:40 UTC, janario
Details
stacktrace (3.98 KB, text/plain)
2013-08-21 13:49 UTC, janario
Details
stacktrace (3.98 KB, text/plain)
2013-08-21 13:58 UTC, janario
Details
stacktrace (3.98 KB, text/plain)
2013-08-21 14:07 UTC, janario
Details
stacktrace (3.98 KB, text/plain)
2013-08-21 16:19 UTC, rodrigorsantos
Details
stacktrace (2.59 KB, text/plain)
2013-08-21 17:55 UTC, rodrigorsantos
Details
stacktrace (2.79 KB, text/plain)
2013-08-21 21:10 UTC, rodrigorsantos
Details
stacktrace (1.75 KB, text/plain)
2013-08-21 21:31 UTC, Jiri Kovalsky
Details
stacktrace (2.79 KB, text/plain)
2013-08-21 22:13 UTC, Jiri Kovalsky
Details
stacktrace (3.45 KB, text/plain)
2013-08-22 16:49 UTC, ehsavoie
Details
stacktrace (5.89 KB, text/plain)
2013-08-23 08:01 UTC, ehsavoie
Details
stacktrace (2.79 KB, text/plain)
2013-08-23 09:16 UTC, Egor Ushakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description benignogp 2013-01-18 16:56:13 UTC
Build: NetBeans IDE 7.3 Beta 2 (Build 201211062253)
VM: Java HotSpot(TM) Client VM, 23.5-b02, Java(TM) SE Runtime Environment, 1.7.0_09-b05
OS: Windows XP

User Comments:
GUEST: no idea what happened... but I think it's just this thing's response to my computer being too slow because of other stuff running.




Stacktrace: 
java.lang.IllegalStateException: Annotation not added: CallSiteCall Stack Line
   at org.netbeans.modules.editor.NbEditorDocument.removeAnnotation(NbEditorDocument.java:256)
   at org.openide.text.NbDocument.removeAnnotation(NbDocument.java:533)
   at org.openide.text.DocumentLine$2.run(DocumentLine.java:381)
   at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1330)
   at org.openide.text.DocumentLine.removeAnnotation(DocumentLine.java:376)
   at org.openide.text.Annotation.detach(Annotation.java:136)
Comment 1 benignogp 2013-01-18 16:56:15 UTC
Created attachment 130371 [details]
stacktrace
Comment 2 Milutin Kristofic 2013-01-21 15:49:04 UTC
Martin, can you evaluate if debugger is not calling removeAnnotation before addAnnotation?
Comment 3 Vladimir Voskresensky 2013-01-29 08:34:47 UTC
Created attachment 130765 [details]
stacktrace

hit breakpoint
Comment 4 stefan79 2013-02-01 14:16:53 UTC
Created attachment 130935 [details]
stacktrace
Comment 5 Martin Entlicher 2013-05-20 13:18:00 UTC
The annotation attach/detach is synchronized, therefore it should not happen that we try to remove the annotation before attach.
It would be valuable to have steps to reproduce.
Comment 6 janario 2013-08-20 13:04:05 UTC
Created attachment 138911 [details]
stacktrace

.
Comment 7 ehsavoie 2013-08-21 12:19:05 UTC
Created attachment 138995 [details]
stacktrace

during jpda remote debugging, just after connection
Comment 8 janario 2013-08-21 13:40:05 UTC
Created attachment 139006 [details]
stacktrace

.
Comment 9 Exceptions Reporter 2013-08-21 13:40:09 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=181006
Comment 10 janario 2013-08-21 13:49:04 UTC
Created attachment 139008 [details]
stacktrace

.
Comment 11 janario 2013-08-21 13:58:05 UTC
Created attachment 139010 [details]
stacktrace

.
Comment 12 Exceptions Reporter 2013-08-21 13:58:09 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=181006
Comment 13 janario 2013-08-21 14:07:05 UTC
Created attachment 139011 [details]
stacktrace

.
Comment 14 Martin Entlicher 2013-08-21 14:18:51 UTC
janario, can you please provide some steps how can we reproduce this? Thanks.
Comment 15 rodrigorsantos 2013-08-21 16:19:05 UTC
Created attachment 139019 [details]
stacktrace

<Please provide a description of the problem or the steps to reproduce>
Comment 16 rodrigorsantos 2013-08-21 17:55:05 UTC
Created attachment 139020 [details]
stacktrace

<Please provide a description of the problem or the steps to reproduce>
Comment 17 rodrigorsantos 2013-08-21 21:10:05 UTC
Created attachment 139028 [details]
stacktrace

<Please provide a description of the problem or the steps to reproduce>
Comment 18 Jiri Kovalsky 2013-08-21 21:31:06 UTC
Created attachment 139029 [details]
stacktrace

Had Thread-1 and Thread-2 suspended. Clicked on Suspend Thread-3 button when this occurred. The thread was suspended correctly though and UI was updated fine too.
Comment 19 Jiri Kovalsky 2013-08-21 21:32:58 UTC
Plus I forgot to mention that after I suspended all 3 threads I invoked "Make Current" from the popup menu of the 3rd thread. Then the exception poped up.
Comment 20 Jiri Kovalsky 2013-08-21 22:13:05 UTC
Created attachment 139032 [details]
stacktrace

Just invoked "Debug File" on ThreadSuspending1.java file with 3 breakpoints at i++; lines.
Comment 21 Martin Entlicher 2013-08-22 15:03:43 UTC
Thanks Jiri, I was finally able to reproduce it in build #201308212300 after a while of fast switching of current threads.
Comment 22 ehsavoie 2013-08-22 16:49:06 UTC
Created attachment 139086 [details]
stacktrace

Debugging
Comment 23 ehsavoie 2013-08-23 08:01:07 UTC
Created attachment 139105 [details]
stacktrace

Editing code
Comment 24 Egor Ushakov 2013-08-23 09:16:06 UTC
Created attachment 139113 [details]
stacktrace

debug an app
Comment 25 Martin Entlicher 2013-08-23 10:32:09 UTC
Fixed by changeset:   262374:bce8a8ccb74e
http://hg.netbeans.org/core-main/rev/bce8a8ccb74e