This question is answered. Helpful answers available: 1. Correct answers available: 1.


Permlink Replies: 37 - Pages: 3 [ Previous | 1 2 3 | Next ] - Last Post: 23 Dec 25, 09:03 Last Post By: davidekholm Threads: [ Previous | Next ]
JeffTucker

Posts: 8,200
Registered: 31-Jan-2006
Re: Views don't work as expected
Posted: 5 Nov 25, 20:44   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Just noticed something suspicious. The "folder" thumbnails for your views don't have the "view" overlays that Tiger uses. This makes me wonder how you're adding the views.

It gets even more interesting. The image directory of your project contains Alphabetically, as it should. But below that, it includes each of the "letter" folders - C, P, A, and S. It shouldn't. Those should appear only in the output, not on the input side. I don't even know how that can happen.
JeffTucker

Posts: 8,200
Registered: 31-Jan-2006
Re: Views don't work as expected
Posted: 5 Nov 25, 20:53   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Do a core update - Tools, External Tools, jAlbum core update - and then try your test project again. But this is just a longshot - much of the testing was done with jAlbum 38, before 38.0.9, and the basic scheme was working properly.

What version of Tiger do you have? If it's not 7.0.2, update it!

ETA: And while we're trying to hunt down the problem, please do the updates, but then delete the existing test project, and create a new one. The existing project is already showing signs of trouble, and those might just persist if you don't dump it and start over.
RobM

Posts: 3,949
Registered: 4-Aug-2006
Re: Views don't work as expected
Posted: 5 Nov 25, 22:05   in response to: MarkusD in response to: MarkusD
 
  Click to reply to this thread Reply
Attachment MDTest.zip (1.8 MB)
Try the attached test project, one video with alphabetical view
Make the album, I get one video only, no video in the alphabetical view folder.
JeffTucker

Posts: 8,200
Registered: 31-Jan-2006
Re: Views don't work as expected
Posted: 5 Nov 25, 23:17   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
JeffTucker wrote:
Do a core update - Tools, External Tools, jAlbum core update - and then try your test project again.

Stop the presses!! Do not do a core update to 38.0.9. There's something absolutely toxic in there, and you'll have to drop back to 38.0.0 to get out of trouble. I'm in the process of alerting David to the issue.
RobM

Posts: 3,949
Registered: 4-Aug-2006
Re: Views don't work as expected
Posted: 5 Nov 25, 23:55   in response to: JeffTucker in response to: JeffTucker
Helpful
  Click to reply to this thread Reply
jAlbum-core.jar 38.0.4 attached, works fine on my Mac
MarkusD

Posts: 823
Registered: 13-Apr-2006
Re: Views don't work as expected
Posted: 6 Nov 25, 07:49   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
Thanks Rob. But I'll wait until the new version of JA and the new "View" feature has kind of "settled" <g>. Cheers, Markus
davidekholm

Posts: 3,917
Registered: 18-Oct-2002
Re: Views don't work as expected
Posted: 6 Nov 25, 10:48   in response to: MarkusD in response to: MarkusD
 
  Click to reply to this thread Reply
v38.0.10 now available, backing out from caching view thumbnails. To clean up your projects, open them, then hold down SHIFT and select View->Update. You may need to exclude and include views to clean up the resulting galleries as well.
MarkusD

Posts: 823
Registered: 13-Apr-2006
Re: Views don't work as expected
Posted: 12 Nov 25, 13:19   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Still no luck, David.

This is the console (watch the message "skin property 'majorSkinVersion' difference: '7' vs '3'"at the end), may this helps:
 
12.11.2025 13:17:05.489
12.11.2025 13:17:05.490
12.11.2025 13:17:05.491
12.11.2025 13:17:05.498
12.11.2025 13:17:05.517
12.11.2025 13:17:05.522
12.11.2025 13:17:05.522
12.11.2025 13:17:05.531
Calling URL https://jalbum.net/integration/skin-info/Plain
12.11.2025 13:17:05.519
12.11.2025 13:17:05.520
12.11.2025 13:17:05.600
Skin loading: 0,062s
12.11.2025 13:17:07.041
12.11.2025 13:17:07.043
12.11.2025 13:17:07.060
12.11.2025 13:17:07.067
Loading D:\Users\MDr�ck\Pictures\2026 01 30 Norge\More\Svalbard\Arctic Coliving\.jalbum\cache\longyearbyen-im-januar-wahrend-der-polarnacht.jpg using subsampling 1
12.11.2025 13:17:07.095
View folder: 0,004s
12.11.2025 13:17:07.104
Calling URL https://jalbum.net/integration/skin-info/Tiger
12.11.2025 13:17:07.068
12.11.2025 13:17:07.073
12.11.2025 13:17:07.074
View folder: 0,001s
Loading D:\Users\MDr�ck\Pictures\2026 01 30 Norge\More\Svalbard\Arctic Coliving\.jalbum\cache\longyearbyen-im-januar-wahrend-der-polarnacht.jpg using subsampling 1
12.11.2025 13:17:07.152
Reading metadata using class com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader
Loading D:\Users\MDr�ck\Pictures\2026 01 30 Norge\More\Svalbard\Arctic Coliving\longyearbyen-im-januar-wahrend-der-polarnacht.jpg using subsampling 2
12.11.2025 13:17:07.153
Camera date cache miss for Sources.htt
Camera date cache miss for res
Camera date cache miss for Datenschutz.htt
Camera date cache miss for Contact.htt
Camera date cache miss for 2025 11 24 Svalbard
Loading D:\Users\MDr�ck\Pictures\2025 11 24 Svalbard\TextToSpeech\.jalbum\cache\TTS.jpg using subsampling 1
Camera date cache miss for TextToSpeech
12.11.2025 13:17:07.171
Camera date cache miss for Epilog
Reading metadata using class com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader
Camera date cache miss for Summary
Reading metadata using class com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader
Loading D:\Users\MDr�ck\Pictures\2026 01 30 Norge\More\Svalbard\Arctic Coliving\.jalbum\cache\longyearbyen-im-januar-wahrend-der-polarnacht.jpg using subsampling 1
12.11.2025 13:17:07.176
Camera date cache miss for More
Camera date cache miss for 2025 12 02 Troms� - TOS - BGO - FRA - Hahnst�tten
Reading metadata using class com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader
Camera date cache miss for 2025 12 01 Longyearbyen - TOS - Troms�
Reading metadata using class com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader
Camera date cache miss for 2025 11 30 Longyearbyen
Reading metadata using class com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader
Camera date cache miss for 2025 11 29 Longyearbyen
Reading metadata using class com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader
Camera date cache miss for 2025 11 28 Longyearbyen
Reading metadata using class com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader
Camera date cache miss for 2025 11 27 Longyearbyen
Reading metadata using class com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader
Camera date cache miss for 2025 11 26 Longyearbyen
Reading metadata using class com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader
Camera date cache miss for 2025 11 25 Longyearbyen
Reading metadata using class com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader
Camera date cache miss for 2025 11 24 Hahnst�tten - FRA - OSL - Longyearbyen
Reading metadata using class com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader
Camera date cache miss for Prolog
Reading metadata using class com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader
12.11.2025 13:17:07.308
Skin loading: 0,24s
12.11.2025 13:17:07.308
 
skin property 'majorSkinVersion' difference: '7' vs '3'
Loading D:\Users\MDr�ck\Pictures\2026 01 30 Norge\More\Svalbard\Arctic Coliving\longyearbyen-im-januar-wahrend-der-polarnacht.jpg using subsampling 2
12.11.2025 13:17:07.460
Loading D:\Users\MDr�ck\Pictures\2026 01 30 Norge\More\Svalbard\Arctic Coliving\longyearbyen-im-januar-wahrend-der-polarnacht.jpg using subsampling 2
12.11.2025 13:17:07.465
davidekholm

Posts: 3,917
Registered: 18-Oct-2002
Re: Views don't work as expected
Posted: 12 Nov 25, 14:24   in response to: MarkusD in response to: MarkusD
 
  Click to reply to this thread Reply
I see no severe issue reported to your system console Marcus. What jAlbum version (and revision) are you using now?
JeffTucker

Posts: 8,200
Registered: 31-Jan-2006
Re: Views don't work as expected
Posted: 12 Nov 25, 15:06   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Attachment viewtest.zip (3.1 MB)
MarkusD, please:

  • Download and unzip the attached little test project.
  • Make an album. Does it work? If not, stop and post back.
  • Right-click and add an Alphabetical view.
  • Make an album. Does it work? If not, stop and post back.
  • Now add a few of your own images.
  • Add a couple of extra pages, like "About."
  • Keep making an album until you get a failure of some sort.

ETA: Oh, and if the album builds properly with an alphabetical view, examine the output, and satisfy yourself that there is only one copy of the slide image for each object. If you're seeing multiple copies of it, stop, and post back!
davidekholm

Posts: 3,917
Registered: 18-Oct-2002
Re: Views don't work as expected
Posted: 12 Nov 25, 16:08   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Your view text project builds fine here. What error do you get?
JeffTucker

Posts: 8,200
Registered: 31-Jan-2006
Re: Views don't work as expected
Posted: 12 Nov 25, 16:12   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
davidekholm wrote:
Your view text project builds fine here. What error do you get?

I don't get any error with it. I'm trying to get MarkusD to start off with a simple test project, and work his way up until he can reproduce the problem(s) he's seeing. He seems to be experimenting with large, complex projects, and that makes debugging completely impossible.
MarkusD

Posts: 823
Registered: 13-Apr-2006
Re: Views don't work as expected
Posted: 12 Nov 25, 17:20   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Thanks Jeff!

I played with your test project. Everything worked fine.

Then I copied one folder of my project into the jAlbum Sample project and I got errors. I'll post them later.
MarkusD

Posts: 823
Registered: 13-Apr-2006
Re: Views don't work as expected
Posted: 12 Nov 25, 17:50   in response to: MarkusD in response to: MarkusD
 
  Click to reply to this thread Reply
1) Look at that video
https://www.markus-drueck.de/public/jAlbum/Videos/Skin%20Tiger/index.html#img=Video_2025-11-12_174102.mp4

2) The Error Message:
 
An unexpected error occurred. Please see detailed description below:
 
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: Error processing D:\Users\MDrück\Pictures\JAlbum\Samples\Sample Project\Von Datum\2025\Nov\office-sr10.jpg -> D:\Users\MDrück\Pictures\2026 01 30 Norge\More\Svalbard\Arctic Coliving\Co-Working-Space\office-sr10.jpg
	at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(Unknown Source)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source)
	at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinTask.getException(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinTask.reportException(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinTask.get(Unknown Source)
	at net.jalbum.util.WorkerPool.process(WorkerPool.java:87)
	at net.jalbum.util.WorkerPool.process(WorkerPool.java:72)
	at se.datadosen.jalbum.AlbumBean.registerVariables(AlbumBean.java:3351)
	at se.datadosen.jalbum.AlbumBean.makeAlbumForFolder(AlbumBean.java:1945)
	at se.datadosen.jalbum.AlbumBean.makeAlbumForFolder(AlbumBean.java:2167)
	at se.datadosen.jalbum.AlbumBean.makeAlbumForFolder(AlbumBean.java:2167)
	at se.datadosen.jalbum.AlbumBean.makeAlbumForFolder(AlbumBean.java:2167)
	at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:3812)
	at se.datadosen.jalbum.AlbumBean.smartMakeAlbum(AlbumBean.java:3648)
	at se.datadosen.jalbum.JAlbumFrame$7.run(JAlbumFrame.java:1210)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Error processing D:\Users\MDrück\Pictures\JAlbum\Samples\Sample Project\Von Datum\2025\Nov\office-sr10.jpg -> D:\Users\MDrück\Pictures\2026 01 30 Norge\More\Svalbard\Arctic Coliving\Co-Working-Space\office-sr10.jpg
	at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(Unknown Source)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source)
	at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinTask.getException(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinTask.reportException(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinTask.join(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinTask.invoke(Unknown Source)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateParallel(Unknown Source)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateParallel(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)
	at se.datadosen.jalbum.AlbumBean.lambda$registerVariables$13(AlbumBean.java:3352)
	at net.jalbum.util.WorkerPool.lambda$process$1(WorkerPool.java:84)
	at java.base/java.util.concurrent.ForkJoinTask$AdaptedInterruptibleRunnable.compute(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinTask$InterruptibleTask.exec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Error processing D:\Users\MDrück\Pictures\JAlbum\Samples\Sample Project\Von Datum\2025\Nov\office-sr10.jpg -> D:\Users\MDrück\Pictures\2026 01 30 Norge\More\Svalbard\Arctic Coliving\Co-Working-Space\office-sr10.jpg
	at se.datadosen.jalbum.AlbumBean.registerVariables(AlbumBean.java:3311)
	at se.datadosen.jalbum.AlbumBean.lambda$registerVariables$12(AlbumBean.java:3354)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)
	at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.base/java.util.stream.ForEachOps$ForEachTask.compute(Unknown Source)
	at java.base/java.util.concurrent.CountedCompleter.exec(Unknown Source)
	... 4 more
Caused by: java.util.ConcurrentModificationException
	at java.base/java.util.HashMap.computeIfAbsent(Unknown Source)
	at net.jalbum.views.ViewSupport.getProperties(ViewSupport.java:44)
	at se.datadosen.jalbum.AlbumObjectImpl.getChosenRepObject(AlbumObjectImpl.java:561)
	at se.datadosen.jalbum.AlbumObjectImpl.getClosestRepObject(AlbumObjectImpl.java:522)
	at se.datadosen.jalbum.AlbumObjectImpl.getRepObject(AlbumObjectImpl.java:496)
	at se.datadosen.jalbum.LinkFileAlbumObject.getRepObject(LinkFileAlbumObject.java:100)
	at se.datadosen.jalbum.AlbumObjectImpl.getRepObject(AlbumObjectImpl.java:475)
	at se.datadosen.jalbum.AlbumObjectImpl.getRepresentingAlbumObject(AlbumObjectImpl.java:464)
	at se.datadosen.jalbum.AlbumObjectImpl.getRepresentingImageFile(AlbumObjectImpl.java:2645)
	at se.datadosen.jalbum.AlbumBean.registerVariables(AlbumBean.java:3259)
	... 10 more


3) The folder which I integrated in the Sample project (file is about 90 MB):
https://www.markus-drueck.de/JA/TestCase/2025-11-12/More.7z

Just as a reminder. I'm testing views with a very small project. Yes, I once tested with a bigger project, but when I realized that views are not working correct I switched back to the small project.
JeffTucker

Posts: 8,200
Registered: 31-Jan-2006
Re: Views don't work as expected
Posted: 12 Nov 25, 18:02   in response to: MarkusD in response to: MarkusD
 
  Click to reply to this thread Reply
Please stop using the bundled Sample Project. It's trying to demonstrate too many different things. Fine for a demo, but lousy for debugging.

Instead, continue testing with the little project of composers that I provided. Add other things to that one, and see what happens.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums