Tried this with both 6.2 and 6.3. I always get a Java error processing some files when generating album if the number of threads on my AMD X2 machine with XP SP2 is set to more than 1. Since JAlbum starts with 2 threads enabled by default, I always have to reset this to one for any album to be generated without errors. Is this a bug unique to my setup?
Here you go--the error happens at different points with different files. I can't get it to consistently error in one place, but it will always terminate with an error.
An unexpected error occured. Please see detailed description below:
at java.util.Hashtable.put(Unknown Source)
Did this ever get a fix? I downloaded and installed bpp on a fresh install of jA. With the default threads of 4 (I have a quad core), I did not receive an error when I was generating small sample albums (a few images across 3 directories). But when I tried to generate an album with 850 photos across 3 directories with about 50 subdirectories, I got the null pointer error with complaints about not finding one of the thumbnails. The thumb nails are generated files, so to me it sounds like one thread was generating thumbnails from the originals while another thread was trying to reference a thumbnail that had not made it through the first thread yet.
Does anyone know of a simple code fix I can apply? Or if it is more complex, can anyone point me to the code and general guidelines as to what needs to be changed?
I believe Armond (the author of BluPlusPlus) has abandoned it. I've made a quick fix that might work. Unzip the attached file thereby replacing the "plugins" folder of the BluPlusPlus skin and see if it works better now. The change I did was to add the "synchronized" keyword to BPPFilterGroup.java:123 so if BPPFilterGroup isn't thread safe, then that doesn't matter now as only one thread will execute that call at a time. However, if BPPFilterGroup has some static shared resources that causes this problem, then it needs to be rewritten.