This question is answered.


Permlink Replies: 3 - Pages: 1 - Last Post: 4 Dec 23, 14:06 Last Post By: fodohgraf Threads: [ Previous | Next ]
jrendant

Posts: 55
Registered: 16-Dec-2007
Java error when creating the album with this skin.
Posted: 28 Nov 23, 22:02
 
  Click to reply to this thread Reply
The last line is replicated for each image contained in this album. An unexpected error occurred. Please see detailed description below:

java.lang.StackOverflowError
at java.base/java.lang.Exception.<init>(Unknown Source)
at java.base/java.lang.ReflectiveOperationException.<init>(Unknown Source)
at java.base/java.lang.NoSuchMethodException.<init>(Unknown Source)
at java.desktop/com.sun.beans.finder.AbstractFinder.find(Unknown Source)
at java.desktop/com.sun.beans.finder.MethodFinder$1.create(Unknown Source)
at java.desktop/com.sun.beans.finder.MethodFinder$1.create(Unknown Source)
at java.desktop/com.sun.beans.util.Cache.get(Unknown Source)
at java.desktop/com.sun.beans.finder.MethodFinder.findMethod(Unknown Source)
at java.desktop/java.beans.Statement.getMethod(Unknown Source)
at java.desktop/java.beans.Statement.invokeInternal(Unknown Source)
at java.desktop/java.beans.Statement$2.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.desktop/java.beans.Statement.invoke(Unknown Source)
at java.desktop/java.beans.Expression.getValue(Unknown Source)
at java.desktop/com.sun.beans.decoder.ObjectElementHandler.getValueObject(Unknown Source)
at java.desktop/com.sun.beans.decoder.NewElementHandler.getValueObject(Unknown Source)
at java.desktop/com.sun.beans.decoder.ElementHandler.getContextBean(Unknown Source)
at java.desktop/com.sun.beans.decoder.NewElementHandler.getContextBean(Unknown Source)
at java.desktop/com.sun.beans.decoder.ObjectElementHandler.getValueObject(Unknown Source)
at java.desktop/com.sun.beans.decoder.NewElementHandler.getValueObject(Unknown Source)
at java.desktop/com.sun.beans.decoder.ElementHandler.endElement(Unknown Source)
at java.desktop/com.sun.beans.decoder.DocumentHandler.endElement(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
at java.desktop/com.sun.beans.decoder.DocumentHandler$1.run(Unknown Source)
at java.desktop/com.sun.beans.decoder.DocumentHandler$1.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/com.sun.beans.decoder.DocumentHandler.parse(Unknown Source)
at java.desktop/java.beans.XMLDecoder$1.run(Unknown Source)
at java.desktop/java.beans.XMLDecoder$1.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.desktop/java.beans.XMLDecoder.parsingComplete(Unknown Source)
at java.desktop/java.beans.XMLDecoder.readObject(Unknown Source)
at se.datadosen.jalbum.AlbumObjectProperties.load(AlbumObjectProperties.java:511)
at se.datadosen.jalbum.AlbumObjectProperties.init(AlbumObjectProperties.java:290)
at se.datadosen.jalbum.AlbumObjectProperties.<init>(AlbumObjectProperties.java:187)
at se.datadosen.jalbum.AlbumObjectProperties.getInstance(AlbumObjectProperties.java:167)
at se.datadosen.jalbum.AlbumObjectImpl.getProperties(AlbumObjectImpl.java:1532)
at se.datadosen.jalbum.JAlbumUtilities.getCameraDates(JAlbumUtilities.java:535)
at se.datadosen.jalbum.JAlbumUtilities.doGetDeepCameraDates(JAlbumUtilities.java:507)
at se.datadosen.jalbum.JAlbumUtilities.doGetDeepCameraDates(JAlbumUtilities.java:513)
at
Laza

Posts: 1,816
Registered: 6-Sep-2005
Re: Java error when creating the album with this skin.
Posted: 29 Nov 23, 09:52   in response to: jrendant in response to: jrendant
 
  Click to reply to this thread Reply
None of the code belongs to the skin. The error happens when jAlbum gathers camera dates, and probably one (or more) image has metadata, that jAlbum's metadata extractor cannot handle, or the metadata is simply broken.
jrendant

Posts: 55
Registered: 16-Dec-2007
Re: Java error when creating the album with this skin.
Posted: 29 Nov 23, 13:24   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
So there really is no fix. If I don't need it to read dates, can I turn that off?
If it were metadata, wouldn't the metadata for the problematic image not be shown?
fodohgraf

Posts: 35
Registered: 18-Dec-2012
Re: Java error when creating the album with this skin.
Posted: 4 Dec 23, 14:06   in response to: jrendant in response to: jrendant
Correct
  Click to reply to this thread Reply
Have you considered to remove the exif data from the image. In cae you want to keep the exif data or you don't want that your image is changed, make this test with a copy of the image.

Exifdata can be removed using exiftool from Phil Harvey:

exiftool -All= image.jpg
Legend
Forum admins
Helpful Answer
Correct Answer

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