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: | IllegalArgumentException: Color parameter outside of expected range: Alpha | ||
---|---|---|---|
Product: | platform | Reporter: | tikluganguly <tikluganguly> |
Component: | Window System | Assignee: | David Simonek <dsimonek> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | callagga, saubrecht, sfehrman |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=4103 | ||
Issue Type: | DEFECT | Exception Reporter: | 4103 |
Bug Depends on: | 156357 | ||
Bug Blocks: | |||
Attachments: | stacktrace |
Description
tikluganguly
2008-11-16 18:58:38 UTC
Created attachment 73798 [details]
stacktrace
13 duplicates looks like http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6389798 I think it's not JDK bug, it's our bug probably in StatusLine where we are passing Alpha outside 0..255 range. hopefully fixed: #92253ba8fd4e Integrated into 'main-golden', will be available in build *200812050201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/92253ba8fd4e User: Dafe Simonek <dsimonek@netbeans.org> Log: #153283: ensure that alpha is in 0-255 range Reopening - reproduced in NetBeans IDE Dev (Build 200901121401) http://statistics.netbeans.org/exceptions/detail.do?id=4103 This issue has already 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=4103 Color fading code was deleted as part of 156357, making this issue obsolete. However, if anyone wants to put fading back, note that to get rid of bug in color fading code, you need to replace following code: int alpha = 256 * (int)(Math.max(0, t - startTime)) / 2000; with: int alpha = Math.min(255, Math.max(0, 256 * (int)(t - startTime) / 2000)); |