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 248910 - AssertionError at org.netbeans.editor.BaseTextUI.atomicLock
Summary: AssertionError at org.netbeans.editor.BaseTextUI.atomicLock
Status: RESOLVED DUPLICATE of bug 259161
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: All All
: P1 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-26 07:40 UTC by tomjnsn
Modified: 2016-05-17 09:27 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 213702


Attachments
stacktrace (4.29 KB, text/plain)
2014-11-26 07:40 UTC, tomjnsn
Details
IDE log (75.05 KB, text/plain)
2016-05-08 06:53 UTC, zmirc
Details
stacktrace (3.25 KB, text/plain)
2016-05-08 07:39 UTC, antoniocs
Details
stacktrace (3.25 KB, text/plain)
2016-05-08 09:48 UTC, antoniocs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tomjnsn 2014-11-26 07:40:21 UTC
Build: NetBeans IDE Dev (Build 201411240001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-b18
OS: Mac OS X

User Comments:
tomjnsn: editing javascript file, waiting for hints to load.




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.editor.BaseTextUI.atomicLock(BaseTextUI.java:509)
   at org.netbeans.editor.BaseDocument$OldListenerAdapter.atomicLock(BaseDocument.java:1813)
   at org.netbeans.editor.BaseDocument.fireAtomicLock(BaseDocument.java:1871)
   at org.netbeans.editor.BaseDocument.atomicLockImpl(BaseDocument.java:1726)
   at org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:352)
   at org.netbeans.editor.BaseKit$InsertBreakAction.actionPerformed(BaseKit.java:1344)
Comment 1 tomjnsn 2014-11-26 07:40:22 UTC
Created attachment 150711 [details]
stacktrace
Comment 2 Svata Dedic 2015-03-06 14:04:23 UTC
The situation is actually not a deadlock, since there are still runnable unblocked threads. The process is slowed down (it seems) by feature that removes unused imports during save file.

If it happens often, please use the IDE's self-profiler/sampler and attach the profiler's snapshot instead of threa dump.
Comment 3 Svata Dedic 2015-03-06 14:16:51 UTC
Sorry; too many bug screens opened, disregard the comment #2 it applies to another defect.
Comment 4 zmirc 2016-05-08 06:53:19 UTC
Pressed "s" (trying to type inside a Java class) after an error was triggered when pressing CTRL + Z
https://netbeans.org/bugzilla/show_bug.cgi?id=259161
Comment 5 zmirc 2016-05-08 06:53:27 UTC
Created attachment 159576 [details]
IDE log
Comment 6 antoniocs 2016-05-08 07:39:20 UTC
Created attachment 159577 [details]
stacktrace

I was just copying code around and I got this error.
The code was this:
    struct Ball ball = {
        .coords.x = 120,
        .coords.y = 30,
        .coords.w = 20,
        .coords.h = 20,
        .left = 0,
        .up = 0
    };
Comment 7 antoniocs 2016-05-08 09:48:20 UTC
Created attachment 159579 [details]
stacktrace

Another copy and paste error.
If  this happens again I will move back to the stable version
Comment 8 antoniocs 2016-05-08 09:52:58 UTC
Also note that I had to shutdown netbeans via Task manager as I was unable to save the file I was currently changing making me loose all the changes I had done.
Comment 9 Miloslav Metelka 2016-05-17 09:27:03 UTC

*** This bug has been marked as a duplicate of bug 259161 ***