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 251434

Summary: org.openide.filesystems.FileAlreadyLockedException: Editors/AnnotationTypes/mixed_BP.xml
Product: editor Reporter: yusrenz
Component: OptionsAssignee: Milutin Kristofic <mkristofic>
Status: RESOLVED FIXED    
Severity: normal CC: abalint21, Afonso, Alex33856, amitabhakolkar, athompson, bennyn, edjon2000, gtzabari, ivanwhm, jasmad, jiriprox, jskrivanek, kosarus, lehel, leorbarbosa, MackSix, macruzq, martijnburger, mentlicher, mexuru, misterm, MrMacSpooky, puly, raubry, ric_evans, rptmaestro, Sakul6499, schrotti12, soldatov, sunflower, thruminds, tomas.langer, vercinstex, vgrigory, vriha, williambacchi, ytn01, zdenek.rod
Priority: P2    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 216377
Attachments: stacktrace
stacktrace
stacktrace

Description yusrenz 2015-03-26 12:05:27 UTC
This issue was reported manually by tzezula.
It already has 168 duplicates 


Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b26
OS: Linux

User Comments:
GUEST: Really too slow your editor

GUEST: enabling maximize use of native l & f

GUEST: Setting ApiGen path

GUEST: I was configuring Team settings

GUEST: Clean install Netbeans 8.0.1 - Change the Editor settings, on word-wrap section.

thruminds: Changing settings of code folding

GUEST: starting net beans first time

GUEST: <Please provide a description of the problem or the steps to reproduce> no tengo idea

GUEST: org.openide.filesystems.FileAlreadyLockedException: Editors/AnnotationTypes/CondBreakpoint.xml

GUEST: formating latte template

GUEST: dunno

GUEST: 1. Uninstall 'Dark Look and Feel Themes' (I was using the 'Dark Metal' theme).
2. Select Tools->Appearance->Look and Feel->Prefered look and feel->Windows.
3. After restarting the IDE the editor windows will still have the dark theme profile set.
4. Select Tools->Options->Fonts & Colors->Profile->NetBeans and this error occurs.

Running on Windows 8.1

GUEST: Alterando as configura
Comment 1 yusrenz 2015-03-26 12:05:35 UTC
Created attachment 152855 [details]
stacktrace
Comment 2 Tomas Zezula 2015-03-26 12:07:19 UTC
P2 as the report was originally P2.
Comment 3 Jiri Skrivanek 2015-03-27 07:41:32 UTC
Created attachment 152878 [details]
stacktrace

Appeared while verifying bug 251398:

- create java project
- added lines to main class

        for (int i = 0; i < 10; i++) System.out.println("aaa");
        if (true) System.out.println("aaa");

- open Tools, Options, Editor, Hints
- tick Braces
- click Apply
- click OK
Comment 4 Vladimir Riha 2015-04-03 12:58:23 UTC
Created attachment 153027 [details]
stacktrace

closing Options dialog with OK after previously saving changes with Apply button
Comment 5 Theofanis Oikonomou 2015-07-09 14:49:45 UTC
The exception comes from org.netbeans.modules.editor.options.AnnotationTypeProcessor.parse(AnnotationTypeProcessor.java:178) so re-assigning to the appropriate component for evaluation. Thank you
Comment 6 Milutin Kristofic 2015-07-14 13:54:07 UTC
This should help. http://hg.netbeans.org/jet-main/rev/b52d62652db3
Comment 7 Quality Engineering 2015-07-15 01:21:14 UTC
Integrated into 'main-silver', will be available in build *201507150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b52d62652db3
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #251434 - org.openide.filesystems.FileAlreadyLockedException: Editors/AnnotationTypes/mixed_BP.xml
Comment 8 Milutin Kristofic 2015-07-23 15:37:19 UTC
*** Bug 241906 has been marked as a duplicate of this bug. ***