You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: class [I cannot be cast to class [B ([I and [B are in module java.base of loader 'bootstrap')
at java.desktop/java.awt.image.ColorModel.getAlpha(ColorModel.java:846)
at java.desktop/java.awt.image.ColorModel.getRGB(ColorModel.java:891)
at java.desktop/sun.awt.image.ImageRepresentation.convertToRGB(ImageRepresentation.java:305)
at java.desktop/sun.awt.image.ImageRepresentation.setPixels(ImageRepresentation.java:569)
at java.desktop/java.awt.image.AreaAveragingScaleFilter.accumPixels(AreaAveragingScaleFilter.java:215)
at java.desktop/java.awt.image.AreaAveragingScaleFilter.setPixels(AreaAveragingScaleFilter.java:254)
at java.desktop/sun.awt.image.OffScreenImageSource.sendPixels(OffScreenImageSource.java:114)
at java.desktop/sun.awt.image.OffScreenImageSource.produce(OffScreenImageSource.java:187)
at java.desktop/sun.awt.image.OffScreenImageSource.addConsumer(OffScreenImageSource.java:66)
at java.desktop/sun.awt.image.OffScreenImageSource.startProduction(OffScreenImageSource.java:80)
at java.desktop/java.awt.image.FilteredImageSource.startProduction(FilteredImageSource.java:184)
at java.desktop/sun.awt.image.ImageRepresentation.startProduction(ImageRepresentation.java:732)
at java.desktop/sun.awt.image.ImageRepresentation.prepare(ImageRepresentation.java:769)
at java.desktop/sun.awt.SunToolkit.prepareImage(SunToolkit.java:830)
at java.desktop/java.awt.Component.prepareImage(Component.java:3752)
at java.desktop/java.awt.ImageMediaEntry.startLoad(MediaTracker.java:976)
at java.desktop/java.awt.MediaEntry.getStatus(MediaTracker.java:914)
at java.desktop/java.awt.ImageMediaEntry.getStatus(MediaTracker.java:972)
at java.desktop/java.awt.MediaTracker.statusID(MediaTracker.java:719)
at java.desktop/java.awt.MediaTracker.waitForID(MediaTracker.java:667)
at java.desktop/java.awt.MediaTracker.waitForID(MediaTracker.java:634)
at java.desktop/sun.lwawt.macosx.CImage$Creator.imageToArray(CImage.java:143)
at java.desktop/sun.lwawt.macosx.CImage$Creator.createFromImage(CImage.java:208)
at java.desktop/sun.lwawt.macosx.CImage$Creator.createFromImage(CImage.java:193)
at java.desktop/sun.lwawt.macosx.CTrayIcon.updateNativeImage(CTrayIcon.java:216)
at java.desktop/sun.lwawt.macosx.CTrayIcon.updateImage(CTrayIcon.java:199)
at java.desktop/sun.lwawt.macosx.CTrayIcon.(CTrayIcon.java:89)
at java.desktop/sun.lwawt.macosx.LWCToolkit.createTrayIcon(LWCToolkit.java:375)
at java.desktop/java.awt.TrayIcon.addNotify(TrayIcon.java:702)
at java.desktop/java.awt.SystemTray.add(SystemTray.java:280)
at systemTray.MySystemTray.changeSystemTrayIcon(MySystemTray.java:129)
at systemTray.MySystemTray.(MySystemTray.java:121)
at neko.Neko.lambda$main$1(Neko.java:197)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
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:742)
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)
$java version "18.0.1.1" 2022-04-22
Java(TM) SE Runtime Environment (build 18.0.1.1+2-6)
Java HotSpot(TM) 64-Bit Server VM (build 18.0.1.1+2-6, mixed mode, sharing)
The text was updated successfully, but these errors were encountered:
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: class [I cannot be cast to class [B ([I and [B are in module java.base of loader 'bootstrap')
at java.desktop/java.awt.image.ColorModel.getAlpha(ColorModel.java:846)
at java.desktop/java.awt.image.ColorModel.getRGB(ColorModel.java:891)
at java.desktop/sun.awt.image.ImageRepresentation.convertToRGB(ImageRepresentation.java:305)
at java.desktop/sun.awt.image.ImageRepresentation.setPixels(ImageRepresentation.java:569)
at java.desktop/java.awt.image.AreaAveragingScaleFilter.accumPixels(AreaAveragingScaleFilter.java:215)
at java.desktop/java.awt.image.AreaAveragingScaleFilter.setPixels(AreaAveragingScaleFilter.java:254)
at java.desktop/sun.awt.image.OffScreenImageSource.sendPixels(OffScreenImageSource.java:114)
at java.desktop/sun.awt.image.OffScreenImageSource.produce(OffScreenImageSource.java:187)
at java.desktop/sun.awt.image.OffScreenImageSource.addConsumer(OffScreenImageSource.java:66)
at java.desktop/sun.awt.image.OffScreenImageSource.startProduction(OffScreenImageSource.java:80)
at java.desktop/java.awt.image.FilteredImageSource.startProduction(FilteredImageSource.java:184)
at java.desktop/sun.awt.image.ImageRepresentation.startProduction(ImageRepresentation.java:732)
at java.desktop/sun.awt.image.ImageRepresentation.prepare(ImageRepresentation.java:769)
at java.desktop/sun.awt.SunToolkit.prepareImage(SunToolkit.java:830)
at java.desktop/java.awt.Component.prepareImage(Component.java:3752)
at java.desktop/java.awt.ImageMediaEntry.startLoad(MediaTracker.java:976)
at java.desktop/java.awt.MediaEntry.getStatus(MediaTracker.java:914)
at java.desktop/java.awt.ImageMediaEntry.getStatus(MediaTracker.java:972)
at java.desktop/java.awt.MediaTracker.statusID(MediaTracker.java:719)
at java.desktop/java.awt.MediaTracker.waitForID(MediaTracker.java:667)
at java.desktop/java.awt.MediaTracker.waitForID(MediaTracker.java:634)
at java.desktop/sun.lwawt.macosx.CImage$Creator.imageToArray(CImage.java:143)
at java.desktop/sun.lwawt.macosx.CImage$Creator.createFromImage(CImage.java:208)
at java.desktop/sun.lwawt.macosx.CImage$Creator.createFromImage(CImage.java:193)
at java.desktop/sun.lwawt.macosx.CTrayIcon.updateNativeImage(CTrayIcon.java:216)
at java.desktop/sun.lwawt.macosx.CTrayIcon.updateImage(CTrayIcon.java:199)
at java.desktop/sun.lwawt.macosx.CTrayIcon.(CTrayIcon.java:89)
at java.desktop/sun.lwawt.macosx.LWCToolkit.createTrayIcon(LWCToolkit.java:375)
at java.desktop/java.awt.TrayIcon.addNotify(TrayIcon.java:702)
at java.desktop/java.awt.SystemTray.add(SystemTray.java:280)
at systemTray.MySystemTray.changeSystemTrayIcon(MySystemTray.java:129)
at systemTray.MySystemTray.(MySystemTray.java:121)
at neko.Neko.lambda$main$1(Neko.java:197)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
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:742)
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)
$java version "18.0.1.1" 2022-04-22
Java(TM) SE Runtime Environment (build 18.0.1.1+2-6)
Java HotSpot(TM) 64-Bit Server VM (build 18.0.1.1+2-6, mixed mode, sharing)
The text was updated successfully, but these errors were encountered: