java.lang.IllegalArgumentException: Color parameter outside of expected range: Red

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via java-gaming.org by Unknown author, 1 year ago
Color parameter outside of expected range: Red
via Stack Overflow by Liam Boreback
, 2 years ago
Color parameter outside of expected range: Red Green
via ibm.com by Unknown author, 1 year ago
Color parameter outside of expected range: Red Green Blue
via Oracle Community by 843799, 1 year ago
Color parameter outside of expected range: Red
via openclassrooms.com by Unknown author, 1 year ago
Color parameter outside of expected range: Red Green Blue
via Apache Bugzilla by jdemeyer, 4 months ago
Color parameter outside of expected range: Red Green Blue
java.lang.IllegalArgumentException: Color parameter outside of expected range: Red
at java.awt.Color.testColorValueRange(Color.java:285)
at java.awt.Color.(Color.java:361)
at java.awt.Color.(Color.java:340)
at java.awt.Color.(Color.java:421)
at undefined.Timbuktu$Explosion.draw(Timbuktu.java:143)
at sjg.animation.Sprites.draw(Sprites.java:56)
at undefined.Timbuktu$3.draw(Timbuktu.java:888)
at sjg.SJGame.draw(SJGame.java:279)
at sjg.SJGame.update(SJGame.java:221)
at sun.awt.RepaintArea.paint(RepaintArea.java:169)
at sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:405)
at java.awt.Component.dispatchEventImpl(Component.java:3678)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

Users with the same issue

Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 8 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.