JDownloader Community - Appwork GmbH
 

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 04.11.2024, 18:18
xenonnblue xenonnblue is offline
I will play nice!
 
Join Date: Feb 2023
Posts: 3
Default Posts on Kemono cause NullPointerException

Adding direct links to all posts which I've tried on Kemono do not add any links to the linkgrabber. The log indicates that the JSON is retrieved successfully but then encounters an exception in crawlProcessPostAPI:

Code:
--ID:435TS:1730735613000-11/4/24, 10:53:33 AM -  [] -> Exception thrown at jd.plugins.PluginForDecrypt.decryptLink(PluginForDecrypt.java:478):
java.lang.NullPointerException: Cannot invoke "Object.toString()" because the return value of "java.util.Map.get(Object)" is null
   at jd.plugins.decrypter.KemonoPartyCrawler.crawlProcessPostAPI(KemonoPartyCrawler.java:342)
   ...
I have not been able to replicate this problem for adding entire profiles from Kemono, nor adding profiles or direct posts from Coomer.
FWIW: Coomer and Kemono plugin settings are the same + the linkgrabber, packagizer, and link crawler rules are disabled + JDownloader core revision #48254 + OS is Windows 11 22621.2134 + I get the same result on a 2nd computer.

Examples used in log:
(This profile is NSFW but these posts (mostly) are not.)
**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**
**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:
04.11.24 11.02.01 <--> 04.11.24 11.07.51 jdlog://2256411370661/

Thanks
  #2  
Old 05.11.2024, 12:47
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 73,523
Default

Hi,
kemono.su has changed their API output which broke our plugin.

Fixed.

Wartest du auf einen angekündigten Bugfix oder ein neues Feature?
Updates werden nicht immer sofort bereitgestellt!
Bitte lies unser Update FAQ! | Please read our Update FAQ!

---
Are you waiting for recently announced changes to get released?
Updates to not necessarily get released immediately!
Bitte lies unser Update FAQ! | Please read our Update FAQ!


-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
  #3  
Old 05.11.2024, 19:12
xenonnblue xenonnblue is offline
I will play nice!
 
Join Date: Feb 2023
Posts: 3
Default

Hello,

I've updated JD but I am now getting a different null exception from Kemono posts:

Code:
--ID:185TS:1730825796672-11/5/24, 11:56:36 AM -  [] -> Exception thrown at jd.plugins.PluginForDecrypt.decryptLink(PluginForDecrypt.java:478):
java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because "postmap" is null
	at jd.plugins.decrypter.KemonoPartyCrawler.crawlProcessPostAPI(KemonoPartyCrawler.java:343)
...
After I updated JD it worked (ie, files were added to the linkgrabber) for the first ~15 posts I tried (and I have no idea why), but now those same URLs I tried after updating result in NullPointerException. I also tried changing the Kemono plugin's settings but got the same result.

Log with the same URLs as in OP:
05.11.24 12.06.03 <--> 05.11.24 12.06.48 jdlog://0456411370661/

Thanks
  #4  
Old 06.11.2024, 12:51
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 73,523
Default

They've reverted those API changes.
I've updated the plugin to be able to handle both cases.

Wartest du auf einen angekündigten Bugfix oder ein neues Feature?
Updates werden nicht immer sofort bereitgestellt!
Bitte lies unser Update FAQ! | Please read our Update FAQ!

---
Are you waiting for recently announced changes to get released?
Updates to not necessarily get released immediately!
Bitte lies unser Update FAQ! | Please read our Update FAQ!


-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
  #5  
Old 07.11.2024, 03:12
xenonnblue xenonnblue is offline
I will play nice!
 
Join Date: Feb 2023
Posts: 3
Default

Seems like it's working again. Thank you!
  #6  
Old 07.11.2024, 11:42
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 73,523
Default

Thanks for your feedback.
Thread closed.
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Closed Thread

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 18:39.
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 - 2024, Jelsoft Enterprises Ltd.