Skip to main content
added 22 characters in body
Source Link

[3/22/17 16:59:08:809 EDT] 0000006e SystemOut O 16:59:08.809 [WebContainer : 0] ERROR c.s.w.c.i.m.ViewModelRegistryImpl - Cannot determine entity type for semantic schema names: '[http://www.sdl.com/web/schemas/core:DefaultMultimediaSchema]'. Please make sure that an entry is registered for this view name in the ViewModelRegistry. [3/22/17 16:59:08:809 EDT] 0000006e SystemOut O 16:59:08.809 [WebContainer : 0] DEBUG c.s.w.t.mapping.EntityBuilderImpl - Creating entity for component: tcm:650-178646 [3/22/17 16:59:08:829 EDT] 0000006e SystemOut O 16:59:08.827 [WebContainer : 0] ERROR c.s.w.c.controller.PageController - Exception while processing request for: /dev/homebanner.html java.lang.NullPointerException: null at com.sdl.webapp.common.impl.mapping.SemanticMapperImpl.createInstance(SemanticMapperImpl.java:51) ~[dxa-common-impl-1.5.0.jar:1.5.0] at com.sdl.webapp.common.impl.mapping.SemanticMapperImpl.createEntity(SemanticMapperImpl.java:97) ~[dxa-common-impl-1.5.0.jar:1.5.0] at com.sdl.webapp.tridion.mapping.EntityBuilderImpl.createEntity(EntityBuilderImpl.java:298) ~[dxa-tridion-provider-1.5.0.jar:1.5.0] at com.sdl.webapp.tridion.mapping.EntityBuilderImpl.createEntity(EntityBuilderImpl.java:278) ~[dxa-tridion-provider-1.5.0.jar:1.5.0] at

[3/22/17 16:59:08:809 EDT] 0000006e SystemOut     O 16:59:08.809       [WebContainer : 0] ERROR c.s.w.c.i.m.ViewModelRegistryImpl - Cannot determine entity type for semantic schema names: '[http://www.sdl.com/web/schemas/core:DefaultMultimediaSchema]'. Please make sure that an entry is registered for this view name in the ViewModelRegistry.
[3/22/17 16:59:08:809 EDT] 0000006e SystemOut     O 16:59:08.809 [WebContainer : 0] DEBUG c.s.w.t.mapping.EntityBuilderImpl - Creating entity for component: tcm:650-178646
[3/22/17 16:59:08:829 EDT] 0000006e SystemOut     O 16:59:08.827 [WebContainer : 0] ERROR c.s.w.c.controller.PageController - Exception while processing request for: /dev/homebanner.html
java.lang.NullPointerException: null
   at com.sdl.webapp.common.impl.mapping.SemanticMapperImpl.createInstance(SemanticMapperImpl.java:51) ~[dxa-common-impl-1.5.0.jar:1.5.0]
   at com.sdl.webapp.common.impl.mapping.SemanticMapperImpl.createEntity(SemanticMapperImpl.java:97) ~[dxa-common-impl-1.5.0.jar:1.5.0]
   at com.sdl.webapp.tridion.mapping.EntityBuilderImpl.createEntity(EntityBuilderImpl.java:298) ~[dxa-tridion-provider-1.5.0.jar:1.5.0]
   at com.sdl.webapp.tridion.mapping.EntityBuilderImpl.createEntity(EntityBuilderImpl.java:278) ~[dxa-tridion-provider-1.5.0.jar:1.5.0]
   at 

[3/22/17 16:59:08:809 EDT] 0000006e SystemOut O 16:59:08.809 [WebContainer : 0] ERROR c.s.w.c.i.m.ViewModelRegistryImpl - Cannot determine entity type for semantic schema names: '[http://www.sdl.com/web/schemas/core:DefaultMultimediaSchema]'. Please make sure that an entry is registered for this view name in the ViewModelRegistry. [3/22/17 16:59:08:809 EDT] 0000006e SystemOut O 16:59:08.809 [WebContainer : 0] DEBUG c.s.w.t.mapping.EntityBuilderImpl - Creating entity for component: tcm:650-178646 [3/22/17 16:59:08:829 EDT] 0000006e SystemOut O 16:59:08.827 [WebContainer : 0] ERROR c.s.w.c.controller.PageController - Exception while processing request for: /dev/homebanner.html java.lang.NullPointerException: null at com.sdl.webapp.common.impl.mapping.SemanticMapperImpl.createInstance(SemanticMapperImpl.java:51) ~[dxa-common-impl-1.5.0.jar:1.5.0] at com.sdl.webapp.common.impl.mapping.SemanticMapperImpl.createEntity(SemanticMapperImpl.java:97) ~[dxa-common-impl-1.5.0.jar:1.5.0] at com.sdl.webapp.tridion.mapping.EntityBuilderImpl.createEntity(EntityBuilderImpl.java:298) ~[dxa-tridion-provider-1.5.0.jar:1.5.0] at com.sdl.webapp.tridion.mapping.EntityBuilderImpl.createEntity(EntityBuilderImpl.java:278) ~[dxa-tridion-provider-1.5.0.jar:1.5.0] at

[3/22/17 16:59:08:809 EDT] 0000006e SystemOut     O 16:59:08.809       [WebContainer : 0] ERROR c.s.w.c.i.m.ViewModelRegistryImpl - Cannot determine entity type for semantic schema names: '[http://www.sdl.com/web/schemas/core:DefaultMultimediaSchema]'. Please make sure that an entry is registered for this view name in the ViewModelRegistry.
[3/22/17 16:59:08:809 EDT] 0000006e SystemOut     O 16:59:08.809 [WebContainer : 0] DEBUG c.s.w.t.mapping.EntityBuilderImpl - Creating entity for component: tcm:650-178646
[3/22/17 16:59:08:829 EDT] 0000006e SystemOut     O 16:59:08.827 [WebContainer : 0] ERROR c.s.w.c.controller.PageController - Exception while processing request for: /dev/homebanner.html
java.lang.NullPointerException: null
   at com.sdl.webapp.common.impl.mapping.SemanticMapperImpl.createInstance(SemanticMapperImpl.java:51) ~[dxa-common-impl-1.5.0.jar:1.5.0]
   at com.sdl.webapp.common.impl.mapping.SemanticMapperImpl.createEntity(SemanticMapperImpl.java:97) ~[dxa-common-impl-1.5.0.jar:1.5.0]
   at com.sdl.webapp.tridion.mapping.EntityBuilderImpl.createEntity(EntityBuilderImpl.java:298) ~[dxa-tridion-provider-1.5.0.jar:1.5.0]
   at com.sdl.webapp.tridion.mapping.EntityBuilderImpl.createEntity(EntityBuilderImpl.java:278) ~[dxa-tridion-provider-1.5.0.jar:1.5.0]
   at 
edited tags
Link
Rick Pannekoek
  • 21.4k
  • 1
  • 18
  • 30
added 1325 characters in body
Source Link

I have tried to define a model using MediaItem class(see Example below) but not working. I know how to do it using YouTubeVideo or embeded video

Also, When I extract MediaItem.java abstract class the mp4 mime type is not defined(MimeUtils.java)

Can you please provide the solution or existing example ?

Ex:

@JsonProperty("video")
@SemanticProperty("gv:video")
private MediaItem video;
 
public MediaItem getvideo() {
    return video;
}

public void setvideo(MediaItem video) {
    this.video = video;
}

@Override
public String toString() {
    return "GenericVideoLink [video=" + video + ", altText=" + altText
            + ", links=" + link + "]";
}   

Error:

[3/22/17 16:59:08:809 EDT] 0000006e SystemOut O 16:59:08.809 [WebContainer : 0] ERROR c.s.w.c.i.m.ViewModelRegistryImpl - Cannot determine entity type for semantic schema names: '[http://www.sdl.com/web/schemas/core:DefaultMultimediaSchema]'. Please make sure that an entry is registered for this view name in the ViewModelRegistry. [3/22/17 16:59:08:809 EDT] 0000006e SystemOut O 16:59:08.809 [WebContainer : 0] DEBUG c.s.w.t.mapping.EntityBuilderImpl - Creating entity for component: tcm:650-178646 [3/22/17 16:59:08:829 EDT] 0000006e SystemOut O 16:59:08.827 [WebContainer : 0] ERROR c.s.w.c.controller.PageController - Exception while processing request for: /dev/homebanner.html java.lang.NullPointerException: null at com.sdl.webapp.common.impl.mapping.SemanticMapperImpl.createInstance(SemanticMapperImpl.java:51) ~[dxa-common-impl-1.5.0.jar:1.5.0] at com.sdl.webapp.common.impl.mapping.SemanticMapperImpl.createEntity(SemanticMapperImpl.java:97) ~[dxa-common-impl-1.5.0.jar:1.5.0] at com.sdl.webapp.tridion.mapping.EntityBuilderImpl.createEntity(EntityBuilderImpl.java:298) ~[dxa-tridion-provider-1.5.0.jar:1.5.0] at com.sdl.webapp.tridion.mapping.EntityBuilderImpl.createEntity(EntityBuilderImpl.java:278) ~[dxa-tridion-provider-1.5.0.jar:1.5.0] at

I have tried to define a model using MediaItem class(see Example below) but not working. I know how to do it using YouTubeVideo or embeded video

Also, When I extract MediaItem.java abstract class the mp4 mime type is not defined(MimeUtils.java)

Can you please provide the solution or existing example ?

Ex:

@JsonProperty("video")
@SemanticProperty("gv:video")
private MediaItem video;
 
public MediaItem getvideo() {
    return video;
}

public void setvideo(MediaItem video) {
    this.video = video;
}

@Override
public String toString() {
    return "GenericVideoLink [video=" + video + ", altText=" + altText
            + ", links=" + link + "]";
}   

I have tried to define a model using MediaItem class(see Example below) but not working. I know how to do it using YouTubeVideo or embeded video

Also, When I extract MediaItem.java abstract class the mp4 mime type is not defined(MimeUtils.java)

Can you please provide the solution or existing example ?

Ex:

@JsonProperty("video")
@SemanticProperty("gv:video")
private MediaItem video;
 
public MediaItem getvideo() {
    return video;
}

public void setvideo(MediaItem video) {
    this.video = video;
}

@Override
public String toString() {
    return "GenericVideoLink [video=" + video + ", altText=" + altText
            + ", links=" + link + "]";
}   

Error:

[3/22/17 16:59:08:809 EDT] 0000006e SystemOut O 16:59:08.809 [WebContainer : 0] ERROR c.s.w.c.i.m.ViewModelRegistryImpl - Cannot determine entity type for semantic schema names: '[http://www.sdl.com/web/schemas/core:DefaultMultimediaSchema]'. Please make sure that an entry is registered for this view name in the ViewModelRegistry. [3/22/17 16:59:08:809 EDT] 0000006e SystemOut O 16:59:08.809 [WebContainer : 0] DEBUG c.s.w.t.mapping.EntityBuilderImpl - Creating entity for component: tcm:650-178646 [3/22/17 16:59:08:829 EDT] 0000006e SystemOut O 16:59:08.827 [WebContainer : 0] ERROR c.s.w.c.controller.PageController - Exception while processing request for: /dev/homebanner.html java.lang.NullPointerException: null at com.sdl.webapp.common.impl.mapping.SemanticMapperImpl.createInstance(SemanticMapperImpl.java:51) ~[dxa-common-impl-1.5.0.jar:1.5.0] at com.sdl.webapp.common.impl.mapping.SemanticMapperImpl.createEntity(SemanticMapperImpl.java:97) ~[dxa-common-impl-1.5.0.jar:1.5.0] at com.sdl.webapp.tridion.mapping.EntityBuilderImpl.createEntity(EntityBuilderImpl.java:298) ~[dxa-tridion-provider-1.5.0.jar:1.5.0] at com.sdl.webapp.tridion.mapping.EntityBuilderImpl.createEntity(EntityBuilderImpl.java:278) ~[dxa-tridion-provider-1.5.0.jar:1.5.0] at

Source Link
Loading