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.
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, 2.6.23.1-42.fc8, i386 User Comments: tikluganguly: I was just starting netbeans after a system shutdown pcw: <Finish> action in the debugger to stop debugging session. amanjpro@yahoo.com: 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 Stacktrace: java.lang.IllegalArgumentException: Color parameter outside of expected range: Alpha at java.awt.Color.testColorValueRange(Color.java:298) at java.awt.Color.<init>(Color.java:382) at org.netbeans.core.windows.view.ui.StatusLine$Updater.actionPerformed(StatusLine.java:89) at javax.swing.Timer.fireActionPerformed(Timer.java:271) at javax.swing.Timer$DoPostEvent.run(Timer.java:201) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
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));