Build: NetBeans IDE Dev (Build 201608230002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.91-b14, Java(TM) SE Runtime Environment, 1.8.0_91-b14
javydreamercsw: Tried to run a gradle project.
java.lang.ClassCastException: sun.awt.image.ToolkitImage cannot be cast to javax.swing.Icon
Created attachment 161832 [details]
Created attachment 161867 [details]
Right click on project node.
Created attachment 162219 [details]
Executing a second project.
Created attachment 162307 [details]
Happens when I try to run my project (using the Gradle plugin)
Seems related to Gradle plugin. Reassigning to owner of Gradle Support.
Attila, can you please evaluate this issue?
Created attachment 162314 [details]
Nothing. Working in IDE
This bug already has 5 duplicates
I cannot reproduce the issue in a clean install of NetBeans 8.2 RC (with the Gradle plugin). What should I do to reproduce the issue?
Though I could not reproduce this issue, I made some changes which might affect this issue: https://github.com/kelemen/netbeans-gradle-project/commit/9b455e097b63848295a19863efa3384ebdc5e3a5
Created attachment 162332 [details]
Trying 8.2 for first time. Installed 8.1 update center plugin or gradle, not sure if that is related.
I would like to ask someone to build the Gradle plugin from the sources and check if it solves their issue or not.
Though it seems reasonable that my changes might fix this issue, I have no means to verify it because I cannot reproduce the issue. Also, looking at NB's sources: The related classes were not changed since forever, so if the Gradle plugin is at fault, I don't see why the issue did not manifest in earlier version of NB.
Created attachment 162336 [details]
just open my projets with dracula LAF