Highlighted

Disable youtube publishing

selvaganesh

06-06-2018

We are using aem 6.2 with dynamic video cloud service enabled. There is no youtube clould service enabled. But we get below error when we try to publish a video

com.day.cq.dam.s7dam.common.preprocessor.DynamicMediaPreprocessor Unable to analyze /content/dam/test/sample.mov for YouTube publish

java.lang.NullPointerException: null

        at com.day.cq.dam.s7dam.common.youtube.impl.YouTubeAccountAuthenticatorImpl.getAllCurrentChannels(YouTubeAccountAuthenticatorImpl.java:258)

        at com.day.cq.dam.s7dam.common.youtube.impl.YouTubeAccountAuthenticatorImpl.getPublishChannelsForAssetByTagMatch(YouTubeAccountAuthenticatorImpl.java:201)

        at com.day.cq.dam.s7dam.common.youtube.impl.YouTubeAccountServiceImpl.publishVideoToYouTube(YouTubeAccountServiceImpl.java:187)

        at com.day.cq.dam.s7dam.common.preprocessor.DynamicMediaPreprocessor.preprocess(DynamicMediaPreprocessor.java:78)

        at com.day.cq.replication.impl.ReplicatorImpl.replicate(ReplicatorImpl.java:462)

        at com.day.cq.replication.impl.servlets.CommandServlet.doPost(CommandServlet.java:116)