JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 23.03.2018, 02:22
wsbchk wsbchk is offline
Junior Loader
 
Join Date: Mar 2018
Posts: 13
Default imgsrc.ru failes with NullPointerException

Since a few days no files can be downloaded from imgsrc.ru anymore.

Code:
--ID:629TS:1521757253331-3/22/18 11:20:53 PM -  [] -> java.lang.NullPointerException
	at jd.plugins.hoster.ImgSrcRu.getDllink(ImgSrcRu.java:154)
	at jd.plugins.hoster.ImgSrcRu.requestFileInformation(ImgSrcRu.java:122)
	at jd.plugins.hoster.ImgSrcRu.handleFree(ImgSrcRu.java:247)
	at jd.plugins.PluginForHost.handle(PluginForHost.java:1089)
	at jd.controlling.downloadcontroller.SingleDownloadController.download(SingleDownloadController.java:395)
	at jd.controlling.downloadcontroller.SingleDownloadController.run(SingleDownloadController.java:575)
Unfortunately I can not provide a plugin version since the plugin is not listed in the settings -> plugin dropdown.

But I have made sure I have the newest version of JDownloader2 and all plugins.
Reply With Quote
  #2  
Old 23.03.2018, 04:54
tony2long's Avatar
tony2long tony2long is online now
English Supporter
 
Join Date: Jun 2009
Posts: 6,237
Default

Please provide example links and upload the log.
__________________
FAQ: How to upload a Log
Reply With Quote
  #3  
Old 23.03.2018, 09:46
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

Quote:
Originally Posted by wsbchk View Post
Unfortunately I can not provide a plugin version since the plugin is not listed in the settings -> plugin dropdown.
The plugin version is also shown in log Please provide a proper logID next time, see https://support.jdownloader.org/Know...d-session-logs

Please provide example links
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 23.03.2018, 12:09
wsbchk wsbchk is offline
Junior Loader
 
Join Date: Mar 2018
Posts: 13
Default

Example Links
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**

Log
23.03.18 11.03.41 <--> 23.03.18 11.04.13 jdlog://8899554433151/
Reply With Quote
  #5  
Old 23.03.2018, 12:15
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

will be fixed with next plugin update
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 23.03.2018, 12:38
wsbchk wsbchk is offline
Junior Loader
 
Join Date: Mar 2018
Posts: 13
Default

Cool. Thanks. I guess imgsrc has yet again moved elements around on the page.

btw: (Off-Topic):
How does this jdlog:// URI work? Where can I enter this to see the logs?
Reply With Quote
  #7  
Old 23.03.2018, 12:41
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,272
Default

@wsbchk
they are the logs which are stored on your jd install path/logs/sessionid
once uploaded they are located on our server, and only select people can read them. They are purged after an amount of time.

raztoki
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #8  
Old 23.03.2018, 18:11
wsbchk wsbchk is offline
Junior Loader
 
Join Date: Mar 2018
Posts: 13
Default

Thanks for the very fast fix. It works now again!
Reply With Quote
  #9  
Old 23.03.2018, 18:22
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

Thanks for the feedback!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 31.03.2018, 21:04
rainerfrey rainerfrey is offline
Baby Loader
 
Join Date: Mar 2018
Posts: 5
Default

Unfortunately I get a very similar error now after the plugin update. Maybe imgsrc.ru has rolled back their change, or hasn't rolled out the change to their entire system (yet). Is it feasible to support both variations?

Code:
--ID:197TS:1522519423339-3/31/18 8:03:43 PM -  [] -> java.lang.NullPointerException
	at jd.plugins.hoster.ImgSrcRu.getDllink(ImgSrcRu.java:152)
	at jd.plugins.hoster.ImgSrcRu.requestFileInformation(ImgSrcRu.java:120)
	at jd.plugins.hoster.ImgSrcRu.handleFree(ImgSrcRu.java:245)
	at jd.plugins.PluginForHost.handle(PluginForHost.java:1089)
	at jd.controlling.downloadcontroller.SingleDownloadController.download(SingleDownloadController.java:395)
	at jd.controlling.downloadcontroller.SingleDownloadController.run(SingleDownloadController.java:575)
Reply With Quote
  #11  
Old 01.04.2018, 03:28
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,272
Default

@rainefrey
fixed
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #12  
Old 01.04.2018, 23:31
rainerfrey rainerfrey is offline
Baby Loader
 
Join Date: Mar 2018
Posts: 5
Default

Thank you! I can confirm that the fix is working.
Reply With Quote
  #13  
Old 02.04.2018, 12:43
rainerfrey rainerfrey is offline
Baby Loader
 
Join Date: Mar 2018
Posts: 5
Default

And there is another problem. Images where there is a full-size version are not downloaded. I see the following error in the log:

Code:
--ID:2208TS:1522661277654-4/2/18 11:27:57 AM -  [] -> javax.script.ScriptException: org.mozilla.javascript.EcmaError: ReferenceError: "document" is not defined. (<Unknown source>#7) in <Unknown source> at line number 7
	at org.jdownloader.scripting.JavaScriptEngineFactory$RhinoScriptEngine.eval(JavaScriptEngineFactory.java:740)
	at org.jdownloader.scripting.JavaScriptEngineFactory$RhinoScriptEngine.eval(JavaScriptEngineFactory.java:755)
	at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
	at jd.plugins.hoster.ImgSrcRu.getDllink(ImgSrcRu.java:184)
	at jd.plugins.hoster.ImgSrcRu.requestFileInformation(ImgSrcRu.java:121)
	at jd.plugins.hoster.ImgSrcRu.handleFree(ImgSrcRu.java:263)
	at jd.plugins.PluginForHost.handle(PluginForHost.java:1089)
	at jd.controlling.downloadcontroller.SingleDownloadController.download(SingleDownloadController.java:395)
	at jd.controlling.downloadcontroller.SingleDownloadController.run(SingleDownloadController.java:575)
Caused by: org.mozilla.javascript.EcmaError: ReferenceError: "document" is not defined. (<Unknown source>#7)
	at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3687)
	at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3665)
	at org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3750)
	at org.mozilla.javascript.ScriptRuntime.name(ScriptRuntime.java:1728)
	at org.mozilla.javascript.gen._Unknown_source__655._c_script_0(<Unknown source>:7)
	at org.mozilla.javascript.gen._Unknown_source__655.call(<Unknown source>)
	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
	at org.jdownloader.scripting.JSRhinoPermissionRestricter$SandboxContextFactory.doTopCall(JSRhinoPermissionRestricter.java:123)
	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
	at org.mozilla.javascript.gen._Unknown_source__655.call(<Unknown source>)
	at org.mozilla.javascript.gen._Unknown_source__655.exec(<Unknown source>)
	at org.mozilla.javascript.Context.evaluateReader(Context.java:1110)
	at org.jdownloader.scripting.JavaScriptEngineFactory$RhinoScriptEngine.eval(JavaScriptEngineFactory.java:728)
	... 8 more

--ID:2208TS:1522661277654-4/2/18 11:27:57 AM -  [] -> jd.plugins.PluginException: ERROR_PLUGIN_DEFECT|Value:-1
	at jd.plugins.hoster.ImgSrcRu.requestFileInformation(ImgSrcRu.java:142)
	at jd.plugins.hoster.ImgSrcRu.handleFree(ImgSrcRu.java:263)
	at jd.plugins.PluginForHost.handle(PluginForHost.java:1089)
	at jd.controlling.downloadcontroller.SingleDownloadController.download(SingleDownloadController.java:395)
	at jd.controlling.downloadcontroller.SingleDownloadController.run(SingleDownloadController.java:575)

--ID:2208TS:1522661277654-4/2/18 11:27:57 AM -  [jd.controlling.downloadcontroller.SingleDownloadController(download)] -> Exception: 
--ID:2208TS:1522661277654-4/2/18 11:27:57 AM -  [] -> jd.plugins.PluginException: ERROR_PLUGIN_DEFECT|Value:-1
	at jd.plugins.hoster.ImgSrcRu.requestFileInformation(ImgSrcRu.java:142)
	at jd.plugins.hoster.ImgSrcRu.handleFree(ImgSrcRu.java:263)
	at jd.plugins.PluginForHost.handle(PluginForHost.java:1089)
	at jd.controlling.downloadcontroller.SingleDownloadController.download(SingleDownloadController.java:395)
	at jd.controlling.downloadcontroller.SingleDownloadController.run(SingleDownloadController.java:575)
Reply With Quote
  #14  
Old 02.04.2018, 13:38
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,272
Default

@rainerfrey
example url ?
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #15  
Old 02.04.2018, 21:27
rainerfrey rainerfrey is offline
Baby Loader
 
Join Date: Mar 2018
Posts: 5
Default

Here's a sample album: **External links are only visible to Support Staff****External links are only visible to Support Staff**
First three images are uploaded as 1024x768 with originals. Image 4 is uploaded as 1024x768 but without original. Image 5 is uploaded as 1280x1024.

Images 1 - 3 cause errors. Images 4-5 are downloaded successfully.

02.04.18 20.22.02 <--> 02.04.18 20.22.48 jdlog://4184654433151/

Last edited by raztoki; 03.04.2018 at 01:31.
Reply With Quote
  #16  
Old 02.04.2018, 23:57
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 8,353
Default HosterPlugin out of date: ImgSrcRu

HosterPlugin out of date: ImgSrcRu

Not working Download


**External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #17  
Old 03.04.2018, 02:05
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,272
Default

@rainerfrey
Fixed
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #18  
Old 03.04.2018, 21:35
rainerfrey rainerfrey is offline
Baby Loader
 
Join Date: Mar 2018
Posts: 5
Default

Quote:
Originally Posted by raztoki View Post
@rainerfrey
Fixed
Thank you!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 10:29.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.