Bug #79386

Bug #22968: Hoster: youtube.com - Free

Hoster: youtube.com - Free |PLUGIN_DEFECT-Error: 45bb6ffdb6da9b6f561fd0d0c1539cfd

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

Status:ClosedStart date:06/10/2016
Priority:LowDue date:
Assignee:-% Done:

0%

Category:Hoster
Target version:-
Resolution:

Description

PLUGIN_DEFECT-Error Detected

Error ID 45bb6ffdb6da9b6f561fd0d0c1539cfd
Plugin youtube.com
Account free
Revision 34299

Stacktrace:

IDV1:
youtube.com-free
jd.plugins.hoster.YoutubeDashV2
java.lang.NullPointerException
org.jdownloader.plugins.components.youtube.YoutubeHelper.extractData(YoutubeHelper.java:1224)
org.jdownloader.plugins.components.youtube.YoutubeHelper.refreshVideo(YoutubeHelper.java:1596)
org.jdownloader.plugins.components.youtube.YoutubeHelper.loadVideo(YoutubeHelper.java:1420)
org.jdownloader.plugins.components.youtube.ClipDataCache.getInternal(ClipDataCache.java:105)
org.jdownloader.plugins.components.youtube.ClipDataCache.getInternal(ClipDataCache.java:176)
org.jdownloader.plugins.components.youtube.ClipDataCache.get(ClipDataCache.java:76)
jd.plugins.hoster.YoutubeDashV2.requestFileInformationDescription(YoutubeDashV2.java:769)  

Source Code:

IDV1:
youtube.com-free
jd.plugins.hoster.YoutubeDashV2
java.lang.NullPointerException
org.jdownloader.plugins.components.youtube.YoutubeHelper.extractData(
Line 1221:                    if (StringUtils.isEmpty(vid.description)) {

Line 1222:                        // 04 Mai 2016

Line 1223:                        match = br.getRegex("<meta name=\"description\" content=\"([^\"]*)").getMatch(0);

Line 1224:    >>                    match = Encoding.htmlDecode(match.replaceAll("\\+", " ").trim().replaceAll("<br\\s*/>", "\r\n"));

Line 1225:                        match = match.replaceAll("<a href=\"#\" onclick=\"[^\"]+\\((\\d+)\\*60 (\\d+)\\)[^\"]+\">(.*?)</a>", "\r\nJump to $3 https://youtu.be/" + vid.videoID + "?t=$1m$2s");

Line 1226:        

Line 1227:                        match = match.replaceAll("<a.*?href=\"([^\"]*)\".*?>(.*?)</a\\s*>", "$1");

)
org.jdownloader.plugins.components.youtube.YoutubeHelper.refreshVideo(
Line 1593:                        }

Line 1594:                    }

Line 1595:                }

Line 1596:    >>            this.extractData();

Line 1597:                doFeedScan();

Line 1598:                doUserAPIScan();

Line 1599:        

)
org.jdownloader.plugins.components.youtube.YoutubeHelper.loadVideo(
Line 1417:        

Line 1418:            public void loadVideo(final YoutubeClipData vid) throws Exception {

Line 1419:                // TODO: add Cache

Line 1420:    >>            refreshVideo(vid);

Line 1421:            }

Line 1422:        

Line 1423:            public void refreshVideo(final YoutubeClipData vid) throws Exception {

)
org.jdownloader.plugins.components.youtube.ClipDataCache.getInternal(
Line 102:                    if (cachedData == null) {

Line 103:                        cachedData = new CachedClipData(proxyListNew, vid);

Line 104:        

Line 105:    >>                    helper.loadVideo(cachedData.clipData);

Line 106:                        ref = new MinTimeWeakReference<CachedClipData>(cachedData, 15000, cachedID, CLEANUP);

Line 107:                        CACHE.put(cachedID, ref);

Line 108:        

)
org.jdownloader.plugins.components.youtube.ClipDataCache.getInternal(
Line 173:            // }

Line 174:        

Line 175:            private static CachedClipData getInternal(YoutubeHelper helper, String videoID) throws Exception {

Line 176:    >>            return getInternal(helper, new YoutubeClipData(videoID));

Line 177:            }

Line 178:        

Line 179:            public static void clearCache(DownloadLink downloadLink) {

)
org.jdownloader.plugins.components.youtube.ClipDataCache.get(
Line 73:            }

Line 74:        

Line 75:            public static YoutubeClipData get(YoutubeHelper helper, String videoID) throws Exception {

Line 76:    >>            return getInternal(helper, videoID).clipData;

Line 77:            }

Line 78:        

Line 79:            private static MinTimeWeakReferenceCleanup CLEANUP = new MinTimeWeakReferenceCleanup() {

)
jd.plugins.hoster.YoutubeDashV2.requestFileInformationDescription(
Line 766:                String description = downloadLink.getTempProperties().getStringProperty(YoutubeHelper.YT_DESCRIPTION);

Line 767:                if (StringUtils.isEmpty(description)) {

Line 768:                    YoutubeClipData vid;

Line 769:    >>                vid = ClipDataCache.get(helper, id);

Line 770:                    downloadLink.getTempProperties().setProperty(YoutubeHelper.YT_DESCRIPTION, description = vid.description);

Line 771:                }

Line 772:                downloadLink.setDownloadSize(description.getBytes("UTF-8").length);

)  

Logs (only for developers):

|Request another log

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

Error Chart:

Also available in: Atom PDF