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

MacOS 13 Ventura x64 #6

Open
CatAnnaDev opened this issue Jun 12, 2022 · 0 comments
Open

MacOS 13 Ventura x64 #6

CatAnnaDev opened this issue Jun 12, 2022 · 0 comments

Comments

@CatAnnaDev
Copy link

CatAnnaDev commented Jun 12, 2022

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)

Peut start avec :
Rebuild sur mac direct ?? cause import corretto-17.0.3
App crash quand on change la speed une fois à fond on peux plus lancer

/Users/psyko/Library/Java/JavaVirtualMachines/corretto-17.0.3/Contents/Home/bin/java -javaagent:/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar=54672:/Applications/IntelliJ IDEA CE.app/Contents/bin -Dfile.encoding=UTF-8 -classpath /Users/psyko/Downloads/NekoV2-master/out/production/NekoV2:/Users/psyko/Downloads/NekoV2-master/ressources/json-20210307.jar:/Users/psyko/Downloads/NekoV2-master/ressources/Java-WebSocket-1.5.2.jar:/Users/psyko/Downloads/NekoV2-master/ressources/slf4j-api-1.7.9.jar:/Users/psyko/Downloads/NekoV2-master/ressources/slf4j-simple-1.7.9.jar init.Init

Screen Shot 2022-06-12 at 12 50 11

@CatAnnaDev CatAnnaDev changed the title MacOS 13 Ventura Error MacOS 13 Ventura x64 Error Jun 12, 2022
@CatAnnaDev CatAnnaDev changed the title MacOS 13 Ventura x64 Error MacOS 13 Ventura x64 Jun 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant