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.
Build: NetBeans IDE Dev (Build 201002160200) VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07 OS: Linux User Comments: kawazu428: started IDE, waiting for (formerly opened) files to be restored (which fails) GUEST: just working azerifire: I removed files manually form localhost while NetBean was open. GUEST: working.. things are super slowwwww. Stacktrace: java.lang.AssertionError at org.openide.text.CloneableEditor$DoInitialize.initNonVisual(CloneableEditor.java:568) at org.openide.text.CloneableEditor$DoInitialize.run(CloneableEditor.java:324) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:641) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1123)
Created attachment 94200 [details] stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=161168
Created attachment 97479 [details] stacktrace
Created attachment 97701 [details] stacktrace Click to open a java file, that was changed by an another process.
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=161168
Created attachment 98361 [details] stacktrace
Created attachment 99121 [details] stacktrace Editing a layer.xml
Created attachment 99158 [details] stacktrace Created Maven quickstart project. Tried to delete the generated src/main/java/<package>; IDE refused, claiming it was read-only. Tried to delete the source file under the package, with no apparent effect. Tried to open the source file in the editor; appeared as an editor tab (read-only) with an error badge, but content area was blank grey and I got this exception. In fact on disk the source file (but not its package) was already gone. I saw no sign of anything actually being read-only.
Created attachment 102392 [details] stacktrace Closed all editor tabs and then opened opened some .java file and the AssetionError appeared...
Created attachment 103059 [details] stacktrace
doubleclicked on a file that was no longer available in the filesystem since it was deleted but the editor wasn't aware of this
Created attachment 105464 [details] stacktrace
Created attachment 105610 [details] stacktrace
Created attachment 106317 [details] stacktrace Invoked Close All
Created attachment 107193 [details] stacktrace Open a file that was removed from disk but still existed in files view
Created attachment 108220 [details] stacktrace Switch branch in git, and wanted to click close all on the open file tabs (some open tabs were of files that were in another branch, and were correctly drawn in italic).
Created attachment 108630 [details] stacktrace
Created attachment 108759 [details] stacktrace Tried to open a file that was removed, on remote file system. I experienced the same behavior when exception occurred when reading a file.
Created attachment 108967 [details] stacktrace try to open binary file on remote file system
Created attachment 108969 [details] stacktrace
This issue is over one year old. Added some details to report #161168 - probably this might help
Created attachment 109397 [details] stacktrace
I am able to 100% reproduce this! Here are the steps: 1. Copy a e.g. .exe file to some package folder so you can see it in NetBeans explorer and while copying change the extension to e.g. .tmp so the extension is not registered 2. Double click the file to open it in Projects --> Package view (normal NB explorer). You are presented with a dialog asking to confirm that you want to open a binary file. 3. DO NOT answer the dialog (yet) but instead delete the file using the OS (e.g from command line). 4. After you hit "Yes" in the dialog the exception pops up.
Correction the previous statement: it is not reproducible always. Using the steps above it happened but not always ... ;-(
Ok, after some more experimenting I think I have steps that trigger the exception always (at least it did several times in a row when I tried): 1. touch a.tmp 2. open a.tmp in the editor (double clicking in the explorer) 3. close the editor without saving 3. copy a binary file over a.tmp (e.g. cp foobar.exe a.tmp) 4. double click a.tmp to open it - dialog asking about non-UTF occurs - do not hit anything yet 5. rm a.tmp (and wait until the explorer "notices it") 6. hit yes as whether you want to open the file in the editor --> exception
Jarda, can you please have a look? The steps I described lead to the assertion error .... Thanks a lot, David
ergonomics#7066526d0a7f
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/7066526d0a7f User: Jaroslav Tulach <jtulach@netbeans.org> Log: #180785: No assert when the document is externally removed