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 - AssertionError at org.openide.text.CloneableEditor$DoInitialize.initNonVisual
Summary: AssertionError at org.openide.text.CloneableEditor$DoInitialize.initNonVisual
Status: RESOLVED DUPLICATE of bug 208681
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 7.0
Hardware: All All
: P1 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks: 181230
  Show dependency tree
 
Reported: 2011-10-17 16:09 UTC by Vladimir Voskresensky
Modified: 2012-02-29 11:12 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 182064


Attachments
stacktrace (3.16 KB, text/plain)
2011-10-17 16:09 UTC, Vladimir Voskresensky
Details
stacktrace (5.08 KB, text/plain)
2011-10-20 09:20 UTC, Egor Ushakov
Details
stacktrace (5.71 KB, text/plain)
2011-12-13 20:34 UTC, gbivins
Details
stacktrace (5.66 KB, text/plain)
2011-12-14 16:10 UTC, Petr Somol
Details
Log file (137.10 KB, text/x-log)
2012-02-12 16:53 UTC, Jesse Glick
Details
stacktrace (5.74 KB, text/plain)
2012-02-12 16:57 UTC, Jesse Glick
Details
stacktrace (5.74 KB, text/plain)
2012-02-22 10:41 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***