@v1101 , org.apache.sling.models.factory.MissingElementException is
thrown, when your Model is not able to inject the property. As per your
exception trace, you have two properties artTitle and altText, which are
not getting injected to the model.One possible reason could be, that the
resource you are trying to adapt doesn't have these properties. To
resolve the issue, you can follow either of the below:1. Mark the
private variable as
"@Optional"@Inject@Optional@Named("articleTitle")@SuppressWar...