[MGNLDAM-479] NPE when trying to pick image marked for deletion in Assets chooser Created: 02/Jul/14  Updated: 10/Jul/14  Resolved: 09/Jul/14

Status: Closed
Project: Magnolia DAM Module
Component/s: None
Affects Version/s: 1.2.5, 2.0
Fix Version/s: 1.2.6, 2.0.1

Type: Bug Priority: Neutral
Reporter: Robert Šiška Assignee: Evzen Fochr
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File NPE.txt    
Issue Links:
Relates
relates to CNTCTSAPP-83 NPE when trying to pick a contact mar... Closed
relates to MGNLSTK-1402 Exception occurs in log when an image... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   
Caused by: info.magnolia.jcr.RuntimeRepositoryException: javax.jcr.PathNotFoundException: jcr:content
        at info.magnolia.dam.jcr.AssetNodeTypes$AssetResource.getResourceNodeFromAsset(AssetNodeTypes.java:95)
        at info.magnolia.dam.jcr.JcrAsset.getMimeType(JcrAsset.java:131)
        at info.magnolia.dam.app.ui.field.DamFilePreviewComponent.refreshItem(DamFilePreviewComponent.java:170)
        at info.magnolia.dam.app.ui.field.DamFilePreviewComponent.refreshItem(DamFilePreviewComponent.java:83)
        at info.magnolia.ui.form.field.component.AbstractContentPreviewComponent.onValueChange(AbstractContentPreviewComponent.java:71)
        at info.magnolia.ui.form.field.LinkField$2.valueChange(LinkField.java:230)
        at sun.reflect.GeneratedMethodAccessor420.invoke(Unknown Source)


 Comments   
Comment by Robert Šiška [ 09/Jul/14 ]

Selecting asset marked for deletion in Asset Chooser still throws NPE (See attachment).

Comment by Robert Šiška [ 09/Jul/14 ]

Wed Jul 9 11:30:08 CEST 2014

Generated at Mon Feb 12 05:00:15 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.