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

🐛- Compatibilidad entre GlassPanePopup y Drawer #5

Open
EduardoProfe666 opened this issue Jun 9, 2024 · 0 comments
Open

🐛- Compatibilidad entre GlassPanePopup y Drawer #5

EduardoProfe666 opened this issue Jun 9, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@EduardoProfe666
Copy link
Owner

Descripción del problema

Existe un error de compatibilidad entre los componentes GlassPanePopup y Drawer, de tal manera que no pueden coexistir.

Pasos para la reproducción del problema

1. Instalar y crear un `GlassPanePopup`
2. Construir y adicionar un `Drawer`
3. Mostrar el `GlassPanePopup`
También funciona en el sentido contrario

Traceback

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "java.awt.image.VolatileImage.createGraphics()" because "image" is null
	at raven.popup.component.ComponentImageUtils.createImage(ComponentImageUtils.java:17)
	at raven.popup.component.ComponentImageUtils.createImage(ComponentImageUtils.java:27)
	at raven.popup.component.ComponentLayer.showSnapshot(ComponentLayer.java:130)
	at raven.popup.GlassPopup$3.begin(GlassPopup.java:91)
	at com.formdev.flatlaf.util.Animator.begin(Animator.java:280)
	at com.formdev.flatlaf.util.Animator.lambda$start$0(Animator.java:190)
	at java.desktop/javax.swing.Timer.fireActionPerformed(Timer.java:311)
	at java.desktop/javax.swing.Timer$DoPostEvent.run(Timer.java:243)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:771)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:716)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:741)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

IDE utilizado

Eclipse IDE

Capturas de pantalla

No response

Información Extra

No response

@EduardoProfe666 EduardoProfe666 added the bug Something isn't working label Jun 9, 2024
@EduardoProfe666 EduardoProfe666 pinned this issue Jun 9, 2024
@EduardoProfe666 EduardoProfe666 self-assigned this Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant