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 230628 - AssertionError at org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.getPaintInfo
Summary: AssertionError at org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.getP...
Status: RESOLVED INCOMPLETE
Alias: None
Product: editor
Classification: Unclassified
Component: Code folding (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
: 230629 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-06-02 20:19 UTC by janario
Modified: 2013-06-03 14:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 201102


Attachments
stacktrace (4.02 KB, text/plain)
2013-06-02 20:19 UTC, janario
Details

Note You need to log in before you can comment on or make changes to this bug.
Description janario 2013-06-02 20:19:37 UTC
Build: NetBeans IDE Dev (Build jdk8lambda-1738-on-20130602)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Linux

User Comments:
janario: coding




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.getPaintInfo(CodeFoldingSideBar.java:477)
   at org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.paintComponent(CodeFoldingSideBar.java:971)
   at javax.swing.JComponent.paint(JComponent.java:1054)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
Comment 1 janario 2013-06-02 20:19:38 UTC
Created attachment 135236 [details]
stacktrace
Comment 2 Svata Dedic 2013-06-03 12:29:29 UTC
*** Bug 230629 has been marked as a duplicate of this bug. ***
Comment 3 Svata Dedic 2013-06-03 12:33:19 UTC
Could you attach or send me directly the file which caused that error ?
Comment 4 janario 2013-06-03 12:40:30 UTC
I dont't remember exactly.
I was trying some codes with lambda and also another errors happened.

Next time, if it happens again I'll try to describe better.
Thanks.
Comment 5 Svata Dedic 2013-06-03 14:27:06 UTC
OK, if possible, please copy-paste the text in the editor and attach here (or send me by e-mail). The algorithm is quite complex and I am unable to find suspicious place just analyzing the code, sorry.

The defect should happen when your editor is positioned within a fold so large, so that no fold mark appears on the screen - only the side line is visible.