ChordSmith Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

ChordSmith 10.12 bug...

2 posters

Go down

ChordSmith 10.12 bug... Empty ChordSmith 10.12 bug...

Post by s0c7 Fri Jan 19, 2024 8:34 pm

Hopefully, devs will see this..

I upgraded my installation to 10.12 (win11 Pro 23H2, build 22631.3007) and get the following error running it..
I subsequently downgraded to the prior version (10.00) as none of these errors occur when running it under any of the java versions I have installed.

Code:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by foxtrot.pumps.ConditionalEventPump$1 (file:///ChordSmith/lib/foxtrot-core-4.0.jar) to method java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
WARNING: Please consider reporting this to the maintainers of foxtrot.pumps.ConditionalEventPump$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

my JRE details
Code:
openjdk version "11.0.13" 2021-10-19
IBM Semeru Runtime Open Edition 11.0.13.0 (build 11.0.13+8)
Eclipse OpenJ9 VM 11.0.13.0 (build openj9-0.29.0, JRE 11 Windows 10 amd64-64-Bit Compressed References 20211022_218 (JIT enabled, AOT enabled)
OpenJ9   - e1e72c497
OMR      - 299b6a2d2
JCL      - 2d83aa3b76 based on jdk-11.0.13+8)

If I install Oracle or OpenJDK v21.. I get the following when opening:
Code:
Exception in thread "AWT-EventQueue-0" java.lang.Error: java.lang.reflect.InaccessibleObjectException: Unable to make void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional) accessible: module java.desktop does not "opens java.awt" to unnamed module @205899aa
        at foxtrot.pumps.ConditionalEventPump.<clinit>(ConditionalEventPump.java:72)
        at foxtrot.AbstractSyncWorker.createDefaultEventPump(AbstractSyncWorker.java:68)
        at foxtrot.AbstractSyncWorker.eventPump(AbstractSyncWorker.java:42)
        at foxtrot.Worker.getEventPump(Worker.java:100)
        at foxtrot.Worker.post(Worker.java:147)
        at gui.artistList.ArtistPanel.lambda$readSongsRecursivelyInBackground$0(ArtistPanel.java:374)
        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:400)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
        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.pumpEventsForFilter(EventDispatchThread.java:117)
        at java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:191)
        at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:236)
        at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:234)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
        at java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:234)
        at java.desktop/java.awt.Dialog.show(Dialog.java:1079)
        at java.desktop/javax.swing.JFileChooser.showDialog(JFileChooser.java:771)
        at java.desktop/javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:668)
        at utils.AutoRecoveryManager.findRecoveryFile(AutoRecoveryManager.java:408)
        at gui.MainFrame.<init>(MainFrame.java:208)
        at chordsmith.ChordSmith.createMainFrame(ChordSmith.java:688)
        at chordsmith.ChordSmith.setLAF(ChordSmith.java:675)
        at chordsmith.ChordSmith.main2(ChordSmith.java:492)
        at chordsmith.ChordSmith.access$100(ChordSmith.java:57)
        at chordsmith.ChordSmith$1.run(ChordSmith.java:556)
        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:400)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
        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)
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not initialize class foxtrot.pumps.SunJDK17ConditionalEventPump
        at foxtrot.AbstractSyncWorker.createDefaultEventPump(AbstractSyncWorker.java:68)
        at foxtrot.AbstractSyncWorker.eventPump(AbstractSyncWorker.java:42)
        at foxtrot.Worker.getEventPump(Worker.java:100)
        at foxtrot.Worker.post(Worker.java:147)
        at gui.artistList.ArtistPanel.lambda$readSongsRecursivelyInBackground$0(ArtistPanel.java:374)
        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:400)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
        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)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.Error: java.lang.reflect.InaccessibleObjectException: Unable to make void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional) accessible: module java.desktop does not "opens java.awt" to unnamed module @205899aa [in thread "AWT-EventQueue-0"]
        at foxtrot.pumps.ConditionalEventPump.<clinit>(ConditionalEventPump.java:72)
        at foxtrot.AbstractSyncWorker.createDefaultEventPump(AbstractSyncWorker.java:68)
        at foxtrot.AbstractSyncWorker.eventPump(AbstractSyncWorker.java:42)
        at foxtrot.Worker.getEventPump(Worker.java:100)
        at foxtrot.Worker.post(Worker.java:147)
        at gui.artistList.ArtistPanel.lambda$readSongsRecursivelyInBackground$0(ArtistPanel.java:374)
        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:400)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
        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.pumpEventsForFilter(EventDispatchThread.java:117)
        at java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:191)
        at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:236)
        at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:234)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
        at java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:234)
        at java.desktop/java.awt.Dialog.show(Dialog.java:1079)
        at java.desktop/javax.swing.JFileChooser.showDialog(JFileChooser.java:771)
        at java.desktop/javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:668)
        at utils.AutoRecoveryManager.findRecoveryFile(AutoRecoveryManager.java:408)
        at gui.MainFrame.<init>(MainFrame.java:208)
        at chordsmith.ChordSmith.createMainFrame(ChordSmith.java:688)
        at chordsmith.ChordSmith.setLAF(ChordSmith.java:675)
        at chordsmith.ChordSmith.main2(ChordSmith.java:492)
        at chordsmith.ChordSmith.access$100(ChordSmith.java:57)
        at chordsmith.ChordSmith$1.run(ChordSmith.java:556)
        ... 13 more
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not initialize class foxtrot.pumps.SunJDK17ConditionalEventPump
        at foxtrot.AbstractSyncWorker.createDefaultEventPump(AbstractSyncWorker.java:68)
        at foxtrot.AbstractSyncWorker.eventPump(AbstractSyncWorker.java:42)
        at foxtrot.Worker.getEventPump(Worker.java:100)
        at foxtrot.Worker.post(Worker.java:147)
        at gui.artistList.ArtistPanel.lambda$readSongsRecursivelyInBackground$0(ArtistPanel.java:374)
        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:400)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
        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)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.Error: java.lang.reflect.InaccessibleObjectException: Unable to make void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional) accessible: module java.desktop does not "opens java.awt" to unnamed module @205899aa [in thread "AWT-EventQueue-0"]
        at foxtrot.pumps.ConditionalEventPump.<clinit>(ConditionalEventPump.java:72)
        at foxtrot.AbstractSyncWorker.createDefaultEventPump(AbstractSyncWorker.java:68)
        at foxtrot.AbstractSyncWorker.eventPump(AbstractSyncWorker.java:42)
        at foxtrot.Worker.getEventPump(Worker.java:100)
        at foxtrot.Worker.post(Worker.java:147)
        at gui.artistList.ArtistPanel.lambda$readSongsRecursivelyInBackground$0(ArtistPanel.java:374)
        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:400)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
        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.pumpEventsForFilter(EventDispatchThread.java:117)
        at java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:191)
        at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:236)
        at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:234)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
        at java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:234)
        at java.desktop/java.awt.Dialog.show(Dialog.java:1079)
        at java.desktop/javax.swing.JFileChooser.showDialog(JFileChooser.java:771)
        at java.desktop/javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:668)
        at utils.AutoRecoveryManager.findRecoveryFile(AutoRecoveryManager.java:408)
        at gui.MainFrame.<init>(MainFrame.java:208)
        at chordsmith.ChordSmith.createMainFrame(ChordSmith.java:688)
        at chordsmith.ChordSmith.setLAF(ChordSmith.java:675)
        at chordsmith.ChordSmith.main2(ChordSmith.java:492)
        at chordsmith.ChordSmith.access$100(ChordSmith.java:57)
        at chordsmith.ChordSmith$1.run(ChordSmith.java:556)
        ... 13 more

s0c7

Posts : 4
Join date : 2024-01-19

Back to top Go down

ChordSmith 10.12 bug... Empty Re: ChordSmith 10.12 bug...

Post by Admin Fri Feb 16, 2024 7:23 pm

This warning is due to one of the open-source libraries that ChordSmith is using. The library is named Foxtrot. Its developers were notified of this problem in 2018, but have not fixed it. The problem is listed on Foxtrot website here: https://sourceforge.net/p/foxtrot/feature-requests/18/.

I will look into possible alternatives.

Admin
Admin

Posts : 26
Join date : 2017-10-07

https://chordsmith.board-directory.net

s0c7 likes this post

Back to top Go down

ChordSmith 10.12 bug... Empty Re: ChordSmith 10.12 bug...

Post by s0c7 Tue Feb 20, 2024 10:29 pm

Given the Foxtrot issue is from back in 2018, I doubt the original developer is supporting it as the awt functionality is now part of the jdk..  If I get some time, I'll take a look at possible alternatives, but tbh my java is REALLY rusty...
ChordSmith 10.12 bug... Java-a10

s0c7

Posts : 4
Join date : 2024-01-19

Back to top Go down

ChordSmith 10.12 bug... Empty Re: ChordSmith 10.12 bug...

Post by Admin Sat Feb 24, 2024 8:40 pm

I have replaced the Firefox dependencies with SwingWorker classes. They work fine and are part of standard Java. I expect it will work with your system. I want to spend some more time testing it before I release it, but I hope to put it out within a couple of weeks.

Admin
Admin

Posts : 26
Join date : 2017-10-07

https://chordsmith.board-directory.net

s0c7 likes this post

Back to top Go down

ChordSmith 10.12 bug... Empty Re: ChordSmith 10.12 bug...

Post by s0c7 Tue Feb 27, 2024 11:07 am

Admin wrote:I have replaced the Firefox dependencies with SwingWorker classes. They work fine and are part of standard Java. I expect it will work with your system. I want to spend some more time testing it before I release it, but I hope to put it out within a couple of weeks.
AWESOME !!

I've been buried so haven't even had the opportunity to load up the source.

s0c7

Posts : 4
Join date : 2024-01-19

Back to top Go down

ChordSmith 10.12 bug... Empty Re: ChordSmith 10.12 bug...

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum