3 votes

Error Report

Walt 4 supporters

This one is not an enhancement suggestion - just an error report. I acceepted a suggested cover image for an album, and it seemed to sit there longer than expected. So I clicked on the album title to go back to the album's page, and this Java exception was displayed near the top of the page:

Error while executing AutomaticFixerCoverArtCommand

java.awt.color.CMMException: LCMS error 12288
at sun.java2d.cmm.lcms.LCMS.getProfileData(Native Method)
at java.awt.color.ICC_Profile.getData(ICC_Profile.java:1310)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.setImageData(JPEGImageReader.java:652)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readImageHeader(Native Method)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readNativeHeader(JPEGImageReader.java:593)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.checkTablesOnly(JPEGImageReader.java:338)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.gotoImage(JPEGImageReader.java:470)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readHeader(JPEGImageReader.java:586)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.getWidth(JPEGImageReader.java:683)
at com.elsten.bliss.policy.coverart.lookup.common.CoverArtUtils$2.run(CoverArtUtils.java:145)
at com.elsten.bliss.policy.coverart.lookup.common.CoverArtUtils$2.run(CoverArtUtils.java:1)
at com.elsten.util.Some.map(Some.java:19)
at com.elsten.bliss.policy.coverart.lookup.common.CoverArtUtils.dimensionsOf(CoverArtUtils.java:141)
at com.elsten.bliss.policy.coverart.lookup.common.CoverArtUtils.openImageDimension(CoverArtUtils.java:202)
at com.elsten.bliss.policy.coverart.lookup.common.CoverArtUtils.openImageDimension(CoverArtUtils.java:191)
at com.elsten.bliss.policy.coverart.lookup.common.ApproximateCoverArtSizeConstraints.complies(ApproximateCoverArtSizeConstraints.java:79)
at com.elsten.bliss.policy.coverart.lookup.common.CoverArtUtils$1.apply(CoverArtUtils.java:67)
at com.elsten.bliss.policy.coverart.lookup.common.CoverArtUtils$1.apply(CoverArtUtils.java:1)
at com.google.common.collect.Iterators.all(Iterators.java:702)
at com.google.common.collect.Iterables.all(Iterables.java:629)
at com.elsten.bliss.policy.coverart.lookup.common.CoverArtUtils.imageConformsToConstraints(CoverArtUtils.java:63)
at com.elsten.bliss.music.policy.coverartpolicy.FileSaveStrategy$1.apply(FileSaveStrategy.java:150)
at com.elsten.bliss.music.policy.coverartpolicy.FileSaveStrategy$1.apply(FileSaveStrategy.java:1)
at com.google.common.collect.Iterators.any(Iterators.java:685)
at com.google.common.collect.Collections2$FilteredCollection.isEmpty(Collections2.java:170)
at com.elsten.bliss.music.policy.coverartpolicy.FileSaveStrategy.getLocationForSavedCoverArt(FileSaveStrategy.java:67)
at com.elsten.bliss.music.policy.coverartpolicy.FileSaveStrategy.assess(FileSaveStrategy.java:119)
at com.elsten.bliss.music.policy.coverartpolicy.AbstractCompositeSaveStrategy.assess(AbstractCompositeSaveStrategy.java:49)
at com.elsten.bliss.music.policy.coverartpolicy.AlbumStorageStrategy.assess(AlbumStorageStrategy.java:1)
at com.elsten.bliss.music.policy.coverartpolicy.AutomaticFixerCoverArtCommand$CoverArtStorageStrategyAssessor.assess(AutomaticFixerCoverArtCommand.java:113)
at com.elsten.bliss.music.policy.coverartpolicy.AutomaticFixerCoverArtCommand$CoverArtStorageStrategyAssessor.assess(AutomaticFixerCoverArtCommand.java:1)
at com.elsten.bliss.music.policy.ToleranceAutomaticFixerPolicyCommand.execute(ToleranceAutomaticFixerPolicyCommand.java:47)
at com.elsten.bliss.music.policy.coverartpolicy.AutomaticFixerCoverArtCommand.execute(AutomaticFixerCoverArtCommand.java:50)
at com.elsten.bliss.music.conceptual.model.AggregatedPolicyCommand.executeChildPolicy(AggregatedPolicyCommand.java:65)
at com.elsten.bliss.music.conceptual.model.AggregatedPolicyCommand.execute(AggregatedPolicyCommand.java:46)
at com.elsten.bliss.music.conceptual.model.AlbumComplianceUpdate.execute(AlbumComplianceUpdate.java:57)
at com.elsten.bliss.music.conceptual.model.ExclusiveAlbumMusicModelListener$ExclusiveComplianceUpdate.execute(ExclusiveAlbumMusicModelListener.java:128)
at com.elsten.bliss.music.policy2.PerFixLicensedPolicyCommandExecutor.executeCommand(PerFixLicensedPolicyCommandExecutor.java:102)
at com.elsten.bliss.music.policy2.InMemoryMusicPolicyDistributor.albumUpdated(InMemoryMusicPolicyDistributor.java:61)
at com.elsten.bliss.music.policy2.PersistedActivationMusicPolicyDistributor.albumUpdated(PersistedActivationMusicPolicyDistributor.java:105)
at com.elsten.bliss.music.conceptual.model.ThreadedMusicModelListener$2.run(ThreadedMusicModelListener.java:98)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)

Just thought you'd want to know.

1 comment

Dan Gravell

Was this an image you picked from the list of alternatives?

The problem is that this particular image cannot be inspected by the code inside bliss... possibly the image is slightly corrupt (this happens). We should deal with this better.