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 203843

Summary: AssertionError at org.openide.text.CloneableEditor$DoInitialize.initNonVisual
Product: platform Reporter: Vladimir Voskresensky <vv159170>
Component: TextAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alexvsimon, gbivins, gerzhedowich, gorrus, jglick, jskrivanek, psomol, ralphbenjamin, sreimers
Priority: P1    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 182064
Bug Depends on:    
Bug Blocks: 181230    
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
Log file
stacktrace
stacktrace

Description Vladimir Voskresensky 2011-10-17 16:09:35 UTC
Build: NetBeans IDE Dev (Build 20111017-03277cfe3fef)
VM: Java HotSpot(TM) Server VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: SunOS

User Comments:
vv159170: tried to open fileA which was symlink to fileB and fileB was just recently removed




Stacktrace: 
java.lang.AssertionError
   at org.openide.text.CloneableEditor$DoInitialize.initNonVisual(CloneableEditor.java:628)
   at org.openide.text.CloneableEditor$DoInitialize.run(CloneableEditor.java:367)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1991)
Comment 1 Vladimir Voskresensky 2011-10-17 16:09:39 UTC
Created attachment 112138 [details]
stacktrace
Comment 2 Egor Ushakov 2011-10-20 09:20:55 UTC
Created attachment 112252 [details]
stacktrace
Comment 3 Exceptions Reporter 2011-12-07 08:55:00 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=182064
Comment 4 gbivins 2011-12-13 20:34:30 UTC
Created attachment 114108 [details]
stacktrace

opening wstcgrp file in generated layer.xml
Comment 5 Petr Somol 2011-12-14 16:10:37 UTC
Created attachment 114177 [details]
stacktrace

Doubleclicked MANIFEST.MF file inside JAR file in Files panel in an attempt to open it in editor. It did not open before the exception.
Comment 6 Jesse Glick 2012-02-12 16:53:36 UTC
Created attachment 115633 [details]
Log file

Just happened to me in a dev build. Tried to open a large *.sh file, agreed to open it even though 12Mb, but then this was thrown and editor window was blank. After closing the editor window and reopening the file from Files tab, it was displayed properly.
Comment 7 Jesse Glick 2012-02-12 16:53:55 UTC
Bug #181230 (from tests) probably related.
Comment 8 Jesse Glick 2012-02-12 16:57:57 UTC
Created attachment 115635 [details]
stacktrace

Opened a large *.sh file (platform app installer) in editor. Prompted to really open (12Mb), accepted, then got this error and no source shown.
Comment 9 Alexander Simon 2012-02-22 10:41:00 UTC
Created attachment 116014 [details]
stacktrace
Comment 10 Exceptions Reporter 2012-02-22 10:41:11 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=182064
Comment 11 Jiri Skrivanek 2012-02-27 14:33:16 UTC
Started to happen very often in tests. Probably when editor is closed if it is not yet fully initialized.

http://hudson4qe.cz.oracle.com/view/Trunk-QE/job/CV-multi-UI/
Comment 12 Miloslav Metelka 2012-02-29 11:12:04 UTC
This should be a dup of issue #208681.

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