Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTE when drag an image #67

Open
josdem opened this issue Jan 13, 2025 · 0 comments
Open

RTE when drag an image #67

josdem opened this issue Jan 13, 2025 · 0 comments

Comments

@josdem
Copy link
Owner

josdem commented Jan 13, 2025

Steps to reproduce

  • Load music file attached
  • Drag the image attached in the cover art section

Expected result

  • An drop icon appears

Actual result

  • RTE is thrown due to: com.sun.awt.AWTUtilities does not exist

References

Trace

12:05:26.268 [AWT-EventQueue-0] ERROR com.josdem.jmetadata.dnd.TransparencyManagerFactory -- Unexpected exception during TransparencyManager instantiation.
java.lang.RuntimeException: com.sun.awt.AWTUtilities does not exist
	at com.josdem.jmetadata.util.MethodWrapper$MethodWrapperBuilder.<init>(MethodWrapper.java:113)
	at com.josdem.jmetadata.util.MethodWrapper.forClass(MethodWrapper.java:28)
	at com.josdem.jmetadata.dnd.Jdk6u10TransparencyManager.<init>(Jdk6u10TransparencyManager.java:42)
	at com.josdem.jmetadata.dnd.TransparencyManagerFactory.getManager(TransparencyManagerFactory.java:30)
	at com.josdem.jmetadata.dnd.DragTooltipDialog.<init>(DragTooltipDialog.java:114)

Suggested solution

  • Delete TransparencyManagerFactory which uses an AWTUtilities implementation

Atachments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant