Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 153283 - IllegalArgumentException: Color parameter outside of expected range: Alpha
IllegalArgumentException: Color parameter outside of expected range: Alpha
Product: platform
Classification: Unclassified
Component: Window System
All All
: P2 (vote)
: 6.x
Assigned To: David Simonek
EXCEPTIONS_REPORT issue_reviewed
Depends on: 156357
  Show dependency treegraph
Reported: 2008-11-16 18:58 UTC by tikluganguly
Modified: 2009-02-20 20:17 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT

stacktrace (1.14 KB, text/plain)
2008-11-16 18:58 UTC, tikluganguly

Note You need to log in before you can comment on or make changes to this bug.
Description tikluganguly 2008-11-16 18:58:38 UTC
Build: NetBeans IDE 6.5 Beta (Build 200808111757)
VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b14
OS: Linux,, i386

User Comments:
tikluganguly: I was just starting netbeans after a system shutdown

pcw: <Finish> action in the debugger to stop debugging session. just, compiling and running (BTW, i changed my current date)..

the last compiled was done when my date/time (year) was set to the 2010...

but, i corrected it to 2008, and recompiled the class.. the exception occured

dkelly: Started NB6.5M1 and exception occurred pretty much from start without any interaction on my part.

tikluganguly: I was just starting netbeans after a system shutdown

java.lang.IllegalArgumentException: Color parameter outside of expected range: Alpha
        at java.awt.Color.testColorValueRange(
        at java.awt.Color.<init>(
        at javax.swing.Timer.fireActionPerformed(
        at javax.swing.Timer$
        at java.awt.event.InvocationEvent.dispatch(
Comment 1 tikluganguly 2008-11-16 18:58:43 UTC
Created attachment 73798 [details]
Comment 2 Lukas Hasik 2008-11-19 16:00:40 UTC
13 duplicates 
looks like 
Comment 3 David Simonek 2008-11-21 15:58:22 UTC
I think it's not JDK bug, it's our bug probably in StatusLine where we are passing Alpha outside 0..255 range.
Comment 4 David Simonek 2008-12-03 16:52:55 UTC
hopefully fixed: #92253ba8fd4e
Comment 5 Quality Engineering 2008-12-05 06:13:21 UTC
Integrated into 'main-golden', will be available in build *200812050201* on (upload may still be in progress)
User: Dafe Simonek <>
Log: #153283: ensure that alpha is in 0-255 range
Comment 6 Exceptions Reporter 2009-01-18 20:50:20 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 200901121401)
Comment 7 Exceptions Reporter 2009-02-09 11:20:20 UTC
This issue has already 20 duplicates 
Comment 8 David Simonek 2009-02-09 13:41:31 UTC
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;


int alpha = Math.min(255, Math.max(0, 256 * (int)(t - startTime) / 2000));

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo