Hello,
about one week ago I renewed my license and thus was possible to update from 34.2 to 37.7.3.
Yesterday, while updating an album, I had some effects I did not understand. Some tests identified that the effect had to do with excluding pictures when "hide excluded" is activated. When hide excluded is deactivated it looks good. Today I saw this message in the console:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot read field "ao" because "jao" is null
at se.datadosen.explorer.JAlbumExplorer.lambda$init$38(JAlbumExplorer.java:3213)
at se.datadosen.explorer.ExplorerSelectionModel.fireSelectionChange(ExplorerSelectionModel.java:264)
at se.datadosen.explorer.ExplorerSelectionModel.select(ExplorerSelectionModel.java:80)
at se.datadosen.explorer.ExplorerSelectionModel.selectSingle(ExplorerSelectionModel.java:104)
at se.datadosen.explorer.JAlbumExplorer$89.mouseReleased(JAlbumExplorer.java:2956)
at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.desktop/java.awt.AWTEventMulticaster.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)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
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 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)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
I can reproduce this effect with 37.7.3 and the skins tiger 6.12 and plain 3.3 (I haven't tested other skins). jAlbum 34.2. works fine.
This happens on my laptop with Ubuntu 24.04 with the package "for Ubuntu, Debian etc using x86_64" as well as on my desktop running OpenSUSE 15.6 with the "Other Unix platforms" and the "ready-packaged Java 23 runtimes for running jAlbum" from jalbum.net. My desktop has the versions 34.2 and 37.7.3 installed.
With all my 37.7.3 instances I can reproduce the effect like this:
- copy a (1) picture to the empty project
- there is no need to change any of the settings of the new album
- copy two more pictures in this new album
- activate "hide excluded" view
- select the middle picture
- exclude the middle picture => middle picture is hidden
- clicking on the left or right throws this exception
- Bonus: when you select the right picture in the step above and then exclude this picture as well, then the hidden middle picture reappears unexcluded and the right picture is also not excluded. This does not happen when the left picture in the step above has been selected - this can be excluded and the middle picture stays excluded.
2nd bonus: after running a jalbum core update jAlbum shows 37.7.2 in the splash screen. Before the core update 37.7.3 was shown.
Any help is appreciated.
Best regards,
Carsten (fodohgraf)