sadr0b0t / yashlang

PeerTube and YouTube player for Android with local playlists and whitelisted recommendations
GNU General Public License v3.0
52 stars 3 forks source link

java.lang.NoClassDefFoundError: Failed resolution of: Ljavax/lang/model/SourceVersion; #151

Open sadr0b0t opened 2 years ago

sadr0b0t commented 2 years ago

Ютюб поломался - вплоть до вылетов. NewPipeExtractor пока не лечат (у них всё ок штоле?).

В любом случае, вылетов таких быть не должно - нужно этот Error, видимо, тоже как-то у себя ловить.

java.lang.NoClassDefFoundError: Failed resolution of: Ljavax/lang/model/SourceVersion;
    at org.mozilla.javascript.JavaMembers.<clinit>(JavaMembers.java:37)
    at org.mozilla.javascript.JavaMembers.lookupClass(JavaMembers.java:769)
    at org.mozilla.javascript.NativeJavaObject.initMembers(NativeJavaObject.java:63)
    at org.mozilla.javascript.NativeJavaObject.<init>(NativeJavaObject.java:53)
    at org.mozilla.javascript.NativeJavaObject.<init>(NativeJavaObject.java:44)
    at org.mozilla.javascript.WrapFactory.wrapAsJavaObject(WrapFactory.java:120)
    at org.mozilla.javascript.WrapFactory.wrap(WrapFactory.java:74)
    at org.mozilla.javascript.ScriptRuntime.newCatchScope(ScriptRuntime.java:4097)
    at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:2091)
    at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1053)
    at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:90)
    at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:380)
    at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3868)
    at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:88)
    at org.schabi.newpipe.extractor.utils.JavaScript.run(JavaScript.java:22)
    at org.schabi.newpipe.extractor.services.youtube.YoutubeThrottlingDecrypter.decryptNParam(YoutubeThrottlingDecrypter.java:172)
    at org.schabi.newpipe.extractor.services.youtube.YoutubeThrottlingDecrypter.apply(YoutubeThrottlingDecrypter.java:92)
    at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.tryDecryption(YoutubeStreamExtractor.java:641)
    at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.getVideoStreams(YoutubeStreamExtractor.java:597)
    at su.sadrobot.yashlang.controller.ContentLoader.extractStreams(ContentLoader.java:596)
    at su.sadrobot.yashlang.controller.StreamHelper.fetchOnlineStreams(StreamHelper.java:206)
    at su.sadrobot.yashlang.controller.StreamHelper.fetchStreams(StreamHelper.java:273)
    at su.sadrobot.yashlang.WatchVideoActivity.loadVideoItem(WatchVideoActivity.java:1513)
    at su.sadrobot.yashlang.WatchVideoActivity.access$1700(WatchVideoActivity.java:94)
    at su.sadrobot.yashlang.WatchVideoActivity$36.run(WatchVideoActivity.java:1455)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
    at java.lang.Thread.run(Thread.java:764)
Caused by: java.lang.ClassNotFoundException: Didn't find class "javax.lang.model.SourceVersion" on path: DexPathList[[zip file "/data/app/su.sadrobot.yashlang-PKwX5GV41sZXxJdmup5q1w==/base.apk"],nativeLibraryDirectories=[/data/app/su.sadrobot.yashlang-PKwX5GV41sZXxJdmup5q1w==/lib/arm64, /system/lib64, /system/vendor/lib64]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    ... 28 more