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.
Summary: | OutOfMemoryError when typing long text in Comments element and freezes the IDE | ||
---|---|---|---|
Product: | uml | Reporter: | Joanne Lau <j_lau> |
Component: | General | Assignee: | Thuy.d Nguyen <thuydn> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Thread dump attached
OutOfMemoryError attached Screenshot of Comments element with 45 chars of text |
Description
Joanne Lau
2008-03-26 23:38:20 UTC
Created attachment 59185 [details]
Thread dump attached
Created attachment 59186 [details]
OutOfMemoryError attached
Created attachment 59187 [details]
Screenshot of Comments element with 45 chars of text
The breakUpLines method missed handling the situation where the width of a single word is longer than the widget's width. The loop condition was not properly set which made the loop being executed indefinitely and the array of lines growing until out of memory. Fixed. changeset 9a989f434f79 in uml-meteora details: http://hg.netbeans.org/uml-meteora?cmd=changeset;node=9a989f434f79 description: Fixed 131247 and 130735: OutOfMemoryError when typing long text in Comments (and Invocation) element and freezes the IDE Fix verified in build 080406 |