Bug #79180

Bug #22968: Hoster: youtube.com - Free

Hoster: youtube.com - Free |PLUGIN_DEFECT-Error: 0f452f014f04764d3c4ebe473b8ad5c6

Added by StatServ about 4 years ago. Updated almost 4 years ago.

Status:ClosedStart date:05/26/2016
Priority:LowDue date:
Assignee:-% Done:

0%

Category:Hoster
Target version:-
Resolution:

Description

PLUGIN_DEFECT-Error Detected

Error ID 0f452f014f04764d3c4ebe473b8ad5c6
Plugin youtube.com
Account free
Revision 33856

Stacktrace:

IDV1:
youtube.com-free
jd.plugins.hoster.YoutubeDashV2
java.lang.IllegalArgumentException: Can not construct instance of org.jdownloader.plugins.components.youtube.itag.YoutubeITAG from String value 'MP4_VIDEO_360P_H264_AUDIO_AAC': value not one of declared Enum instance names
 at [Source: N/A; line: -1, column: -1] (through reference chain: org.jdownloader.plugins.components.youtube.YoutubeFinalLinkResource["itag"])
org.codehaus.jackson.map.ObjectMapper._convert(ObjectMapper.java:2502)
org.codehaus.jackson.map.ObjectMapper.convertValue(ObjectMapper.java:2475)
org.appwork.storage.jackson.JacksonMapper.convert(JacksonMapper.java:137)
org.appwork.storage.JSonStorage.convert(JSonStorage.java:673)
jd.config.Property.getObjectProperty(Property.java:84)
jd.plugins.hoster.YoutubeDashV2.getAndUpdateVariantInfo(YoutubeDashV2.java:796)  

Source Code:

IDV1:
youtube.com-free
jd.plugins.hoster.YoutubeDashV2
java.lang.IllegalArgumentException: Can not construct instance of org.jdownloader.plugins.components.youtube.itag.YoutubeITAG from String value 'MP4_VIDEO_360P_H264_AUDIO_AAC': value not one of declared Enum instance names
at [Source: N/A; line: -1, column: -1] (through reference chain: org.jdownloader.plugins.components.youtube.YoutubeFinalLinkResource["itag"])
org.codehaus.jackson.map.ObjectMapper._convert(ObjectMapper.java:2502)
org.codehaus.jackson.map.ObjectMapper.convertValue(ObjectMapper.java:2475)
org.appwork.storage.jackson.JacksonMapper.convert(
Line 134:                        return type.getType();

Line 135:                    }

Line 136:                };

Line 137:    >>            return mapper.convertValue(jsonString, tr);

Line 138:            }

Line 139:        

Line 140:            @Override

)
org.appwork.storage.JSonStorage.convert(
Line 670:             * @return

Line 671:             */

Line 672:            public static <E> E convert(Object o, TypeRef<E> typeRef) {

Line 673:    >>            return JSON_MAPPER.convert(o, typeRef);

Line 674:            }

Line 675:        

Line 676:        }

)
jd.config.Property.getObjectProperty(
Line 81:                // if (ret instanceof String) {

Line 82:                // ret = JSonStorage.restoreFromString((String) ret, typeRef);

Line 83:                // } else {

Line 84:    >>            ret = JSonStorage.convert(ret, typeRef);

Line 85:                // }

Line 86:                setProperty(key, ret);

Line 87:                return (T) ret;

)
jd.plugins.hoster.YoutubeDashV2.getAndUpdateVariantInfo(
Line 793:            }

Line 794:        

Line 795:            private VariantInfo getAndUpdateVariantInfo(DownloadLink downloadLink) throws Exception {

Line 796:    >>            final YoutubeFinalLinkResource video = downloadLink.getObjectProperty(YoutubeHelper.YT_STREAM_DATA_VIDEO, YoutubeFinalLinkResource.TYPE_REF);

Line 797:                final YoutubeFinalLinkResource audio = downloadLink.getObjectProperty(YoutubeHelper.YT_STREAM_DATA_AUDIO, YoutubeFinalLinkResource.TYPE_REF);

Line 798:                final YoutubeFinalLinkResource data = downloadLink.getObjectProperty(YoutubeHelper.YT_STREAM_DATA_DATA, YoutubeFinalLinkResource.TYPE_REF);

Line 799:                if (video != null || audio != null || data != null) {

)  

Logs (only for developers):

|Request another log

ID Outdated Date Links
6616825891641 NO Sat Apr 30 05:01:26 CEST 2016 [LogTool]

Error Chart:

Also available in: Atom PDF