jjazzboss / JJazzLab

A complete and open application for automatic backing tracks generation.
https://www.jjazzlab.org
GNU Lesser General Public License v2.1
397 stars 26 forks source link

Midi file drag in JJazzLab does not work on MacOS #348

Closed jjazzboss closed 1 year ago

jjazzboss commented 1 year ago

Log Session: Sunday, March 12, 2023 at 8:12:38 AM Central European Standard Time System Info: Product Version = JJazzLab 13-00d6d969bf4d9b14e7406c9ee9cc13a61dc39655 Operating System = Mac OS X version 10.15.7 running on x86_64 Java; VM; Vendor = 17.0.2; OpenJDK 64-Bit Server VM 17.0.2+8; Eclipse Adoptium Runtime = OpenJDK Runtime Environment 17.0.2+8 Java Home = /Applications/jjazzlab.app/Contents/Resources/jjazzlab/jdk System Locale; Encoding = en_US (jjazzlab); UTF-8 Home Directory = /Users/bibi Current Directory = / User Directory = /Users/bibi/Library/Application Support/jjazzlab/3.2.1 Cache Directory = /Users/bibi/Library/Caches/jjazzlab/3.2.1 Installation = /Applications/jjazzlab.app/Contents/Resources/jjazzlab/jjazzlab /Applications/jjazzlab.app/Contents/Resources/jjazzlab/JJazzLab-X /Applications/jjazzlab.app/Contents/Resources/jjazzlab/platform Boot & Ext. Classpath = Application Classpath = /Applications/jjazzlab.app/Contents/Resources/jjazzlab/platform/lib/boot.jar:/Applications/jjazzlab.app/Contents/Resources/jjazzlab/platform/lib/org-openide-modules.jar:/Applications/jjazzlab.app/Contents/Resources/jjazzlab/platform/lib/org-openide-util-lookup.jar:/Applications/jjazzlab.app/Contents/Resources/jjazzlab/platform/lib/org-openide-util-ui.jar:/Applications/jjazzlab.app/Contents/Resources/jjazzlab/platform/lib/org-openide-util.jar Startup Classpath = /Applications/jjazzlab.app/Contents/Resources/jjazzlab/platform/core/asm-tree-9.2.jar:/Applications/jjazzlab.app/Contents/Resources/jjazzlab/platform/core/org-netbeans-libs-asm.jar:/Applications/jjazzlab.app/Contents/Resources/jjazzlab/platform/core/org-openide-filesystems.jar:/Applications/jjazzlab.app/Contents/Resources/jjazzlab/platform/core/asm-9.2.jar:/Applications/jjazzlab.app/Contents/Resources/jjazzlab/platform/core/asm-commons-9.2.jar:/Applications/jjazzlab.app/Contents/Resources/jjazzlab/platform/core/core.jar:/Applications/jjazzlab.app/Contents/Resources/jjazzlab/platform/core/core-base.jar:/Applications/jjazzlab.app/Contents/Resources/jjazzlab/jjazzlab/core/locale/core_jjazzlab_zh_CN.jar:/Applications/jjazzlab.app/Contents/Resources/jjazzlab/jjazzlab/core/locale/core_jjazzlab_de_DE.jar:/Applications/jjazzlab.app/Contents/Resources/jjazzlab/jjazzlab/core/locale/core_jjazzlab_fr_FR.jar:/Applications/jjazzlab.app/Contents/Resources/jjazzlab/jjazzlab/core/locale/core_jjazzlab_es_ES.jar:/Applications/jjazzlab.app/Contents/Resources/jjazzlab/jjazzlab/core/locale/core_jjazzlab.jar:/Applications/jjazzlab.app/Contents/Resources/jjazzlab/jjazzlab/core/locale/core_jjazzlab_pt_BR.jar

INFO [LookAndFeelInstaller]: validate() Installing Look & Feel: LOOK_AND_FEEL_SYSTEM_DEFAULT INFO [MixPanelProcessor]: MixPanelProcessor() distinctId=f49e12008 WARNING [org.netbeans.modules.autoupdate.ui.actions.AutoupdateSettings]: The property "netbeans.default_userdir_root" was not set! WARNING [org.openide.filesystems.Ordering]: Not all children in Toolbars/ marked with the position attribute: [AutoPreview, MusicControls, OutputSynth, MyToolBarConfig.xml], but some are: [File, Clipboard, UndoRedo, Memory, QuickSearch] INFO [JJazzLabSequencer]: JJazzLabSequencer() Setting up JJazzLab sequencer INFO [JJazzMidiSystem]: JJazzMidiSystem() Midi out devices=[{name=Session 1,maxReceivers=-1,maxTransmitters=0}, {name=Studio 1824c,maxReceivers=-1,maxTransmitters=0}] INFO [JJazzMidiSystem]: setDefaultOutDevice() oldDevice=null newDevice=Java Internal Synth INFO [JJazzMidiSystem]: loadSoundbankFileOnSynth() start loading... Java Synth sound file /Users/bibi/JJazzLab/JJazzLab-SoundFont.sf2 INFO [org.netbeans.ui.metrics.laf]: USG_LOOK_AND_FEEL INFO [StartupManager]: Launcher.run() Starting task: Copy default Midi synth definition files priority=100 INFO [StartupManager]: Launcher.run() Starting task: Copy default rhythm files priority=500 INFO [StartupManager]: Launcher.run() Starting task: Create Rhythm database priority=501 INFO [StartupManager]: Launcher.run() Starting task: Open command line and recent files priority=600 INFO [RhythmDatabaseImpl]: initDatabase() needRescan=false cacheFilePresent=true INFO [StartupManager]: Launcher.run() Starting task: Copy example song files priority=1000 INFO [StartupManager]: Launcher.run() Starting task: Midi configuration wizard priority=100000 INFO [RhythmDatabaseImpl]: addNewRhythmsFromRhythmProviders() excludeBuiltinRhythms=false excludeFileRhythms=true forceFileRescan=false. Added 8 rhythms INFO [JJazzMidiSystem]: loadSoundbankFileOnSynth() successfully loaded Java Synth sound file /Users/bibi/JJazzLab/JJazzLab-SoundFont.sf2 INFO [RhythmDatabaseImpl]: readCache() Successfully read rhythm list from cache, size=155 INFO [RhythmDatabaseImpl]: logStats() Rythm Database stats - total=163 INFO [RhythmDatabaseImpl]: > Dummy rhythms: total=8 builtin=8 file=0 first=Rinfo[DummyName-2/4-2/4]... INFO [RhythmDatabaseImpl]: > YamJJazz extended styles: total=5 builtin=0 file=5 first=Rinfo[16beat.S556.yjz-4/4]... INFO [RhythmDatabaseImpl]: > YamJJazz standard styles: total=150 builtin=0 file=150 first=Rinfo[16BeatBallad2.S014.prs-4/4]... INFO [YamahaRhythmProvider]: readFast() Reading /Users/bibi/Library/Application Support/jjazzlab/3.2.1/.jjazz/YamahaDefaultFiles/16BeatBallad2.S014.prs INFO [YamJJazzRhythmProvider]: readFast() Reading /Users/bibi/Library/Application Support/jjazzlab/3.2.1/.jjazz/YamJJazzDefaultFiles/16beat.S556.yjz and 16beat.S556.prs Diagnostic information Input arguments: -Djdk.home=/Applications/jjazzlab.app/Contents/Resources/jjazzlab/jdk -Dnetbeans.dirs=/Applications/jjazzlab.app/Contents/Resources/jjazzlab/jjazzlab:/Applications/jjazzlab.app/Contents/Resources/jjazzlab/JJazzLab-X: -Dnetbeans.home=/Applications/jjazzlab.app/Contents/Resources/jjazzlab/platform -Dplugin.manager.check.new.plugins=true -Dplugin.manager.check.interval=EVERY_DAY -Dnetbeans.modules.quiet=true --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.desktop/javax.swing=ALL-UNNAMED --add-exports=java.desktop/sun.awt=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED -Djjazzlab.version=3.2.1 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/Users/bibi/Library/Application Support/jjazzlab/3.2.1/var/log/heapdump.hprof -Djava.security.manager=allow Compiler: HotSpot 64-Bit Tiered Compilers Heap memory usage: initial 512.0MB maximum 8192.0MB Non heap memory usage: initial 7.3MB maximum -1b Garbage collector: G1 Young Generation (Collections=14 Total time spent=0s) Garbage collector: G1 Old Generation (Collections=0 Total time spent=0s) Classes: loaded=8563 total loaded=8564 unloaded 1 INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 34,359,738,368 INFO [null]: Total physical memory 34,359,738,368 java.lang.NullPointerException: Cannot invoke "java.util.List.size()" because "files" is null at org.jjazz.ui.utilities.api.MidiFileDragInTransferHandler.getMidiFile(MidiFileDragInTransferHandler.java:93) at org.jjazz.ui.utilities.api.MidiFileDragInTransferHandler.canImport(MidiFileDragInTransferHandler.java:59) at java.desktop/javax.swing.TransferHandler$DropHandler.handleDrag(Unknown Source) at java.desktop/javax.swing.TransferHandler$DropHandler.dragEnter(Unknown Source) at java.desktop/java.awt.dnd.DropTarget.dragEnter(Unknown Source) at java.desktop/javax.swing.TransferHandler$SwingDropTarget.dragEnter(Unknown Source) at java.desktop/sun.awt.dnd.SunDropTargetContextPeer.processEnterMessage(Unknown Source) at java.desktop/sun.lwawt.macosx.CDropTargetContextPeer.processEnterMessage(Unknown Source) at java.desktop/sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEnterEvent(Unknown Source) at java.desktop/sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(Unknown Source) at java.desktop/sun.awt.dnd.SunDropTargetEvent.dispatch(Unknown Source) at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEnterExit(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.trackDropTargetEnterExit(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.trackMouseEnterExit(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.processDropTargetEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) INFO [null]: Last record repeated again. at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) INFO [null]: Last record repeated again. at java.desktop/java.awt.EventQueue$5.run(Unknown Source) INFO [null]: Last record repeated again. at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) INFO [null]: Last record repeated again. at java.desktop/java.awt.WaitDispatchSupport$2.run(Unknown Source) at java.desktop/java.awt.WaitDispatchSupport$4.run(Unknown Source) INFO [null]: Last record repeated again. at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.desktop/java.awt.WaitDispatchSupport.enter(Unknown Source) at java.desktop/java.awt.Dialog.show(Unknown Source) at java.desktop/java.awt.Component.show(Unknown Source) at java.desktop/java.awt.Component.setVisible(Unknown Source) at java.desktop/java.awt.Window.setVisible(Unknown Source) at java.desktop/java.awt.Dialog.setVisible(Unknown Source) at org.jjazz.ui.spteditor.RpEditorCustom.showCustomEditDialog(RpEditorCustom.java:147) at org.jjazz.ui.spteditor.RpEditorCustom.lambda$new$0(RpEditorCustom.java:72) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source) at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.desktop/java.awt.Component.processMouseEvent(Unknown Source) at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source) at java.desktop/java.awt.Component.processEvent(Unknown Source) at java.desktop/java.awt.Container.processEvent(Unknown Source) at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) INFO [null]: Last record repeated again. at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) INFO [null]: Last record repeated again. at java.desktop/java.awt.EventQueue$5.run(Unknown Source) INFO [null]: Last record repeated again. at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) INFO [null]: Last record repeated again. at java.desktop/java.awt.EventDispatchThread.run(Unknown Source) java.lang.NullPointerException: Cannot invoke "java.util.List.size()" because "files" is null at org.jjazz.ui.utilities.api.MidiFileDragInTransferHandler.getMidiFile(MidiFileDragInTransferHandler.java:93) at org.jjazz.ui.utilities.api.MidiFileDragInTransferHandler.canImport(MidiFileDragInTransferHandler.java:59) at java.desktop/javax.swing.TransferHandler$DropHandler.handleDrag(Unknown Source) at java.desktop/javax.swing.TransferHandler$DropHandler.dragOver(Unknown Source) at java.desktop/java.awt.dnd.DropTarget.dragOver(Unknown Source) at java.desktop/javax.swing.TransferHandler$SwingDropTarget.dragOver(Unknown Source) at java.desktop/sun.awt.dnd.SunDropTargetContextPeer.processMotionMessage(Unknown Source) at java.desktop/sun.lwawt.macosx.CDropTargetContextPeer.processMotionMessage(Unknown Source) at java.desktop/sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchMotionEvent(Unknown Source) at java.desktop/sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(Unknown Source) at java.desktop/sun.awt.dnd.SunDropTargetEvent.dispatch(Unknown Source) at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.processDropTargetEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) INFO [null]: Last record repeated again. at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) INFO [null]: Last record repeated again. at java.desktop/java.awt.EventQueue$5.run(Unknown Source) INFO [null]: Last record repeated again. at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) INFO [null]: Last record repeated again. at java.desktop/java.awt.WaitDispatchSupport$2.run(Unknown Source) at java.desktop/java.awt.WaitDispatchSupport$4.run(Unknown Source)