java.lang.IllegalArgumentException: Invalid color specification

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 hivmr.com by Unknown author, 1 year ago
via Oracle Community by 903307, 1 year ago
java.lang.IllegalArgumentException: Invalid color specification
at javafx.scene.paint.Color.web(Color.java:358)
at com.sun.javafx.scene.web.skin.ColorPicker.colorValueToWeb(ColorPicker.java:278)
at com.sun.javafx.scene.web.skin.ColorPicker.setValue(ColorPicker.java:250)
at com.sun.javafx.scene.web.skin.ColorPicker.setColor(ColorPicker.java:308)
at com.sun.javafx.scene.web.skin.HTMLEditorSkin.populateToolbars(HTMLEditorSkin.java:595)
at com.sun.javafx.scene.web.skin.HTMLEditorSkin.init(HTMLEditorSkin.java:217)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at javafx.scene.control.Control.loadSkinClass(Control.java:896)
at javafx.scene.web.HTMLEditor.init(HTMLEditor.java:23)
at dashboard.DashBoard.start(DashBoard.java:55)
at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:298)
at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:136)
at com.sun.javafx.application.PlatformImpl$3.run(PlatformImpl.java:108)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
at com.sun.glass.ui.win.WinApplication$2$1.run(WinApplication.java:62)
at java.lang.Thread.run(Thread.java:722)

Users with the same issue

Once, 8 months ago

Write tip

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