Comments (4)
I have removed the JDownloaderHander.Reconnect()
method, and I replaced it with the classic JDownloaderHander.Connect(string username, string password);
method - it appears to fix this bug, for now:
I will report if this error happens again
In summary, as of now I suspect that this is a problem within the JDownloaderHander.Reconnect()
method
from my.jdownloader.api.
The error happened again, however, I believe that this is a separate error.
Basically my app does this:
- Downloads many links (150)
- Sleeps for 10 minutes (allows time for the links to be downloaded...)
- Wakes up
- Queries JDownloader packages to get current status of packages (If downloading is complete, it will loop and download 150 more links, if downloading is not complete, it will sleep for 10 more minutes, then repeat the check).
the error happens on step 4. Please see screenshots:
Error Message:
"Object reference not set to an instance of an object."
" at My.JDownloader.Api.ApiHandler.JDownloaderApiHandler.CallAction[T](Device device, String action, Object param, LoginObject loginObject, Boolean decryptResponse, Boolean deserialize)"
It appears that this error occurs at a different My.Jdownloader.API
method. It appears the error occurs at My.JDownloader.Api.ApiHandler.JDownloaderApiHandler.CallAction[T](Device device, String action, Object param, LoginObject loginObject, Boolean decryptResponse, Boolean deserialize)
Here it shows that my Device
object is not null, and isConnected = true
:
I believe that this might be an internal issue? The strange thing is sometimes this works, at least it used to work, but recently has not been working for me.
from my.jdownloader.api.
Thanks for the report!
I couldn't reproduce this error so it would be greate if you could provide me a sample project where you get exactly this error?
So I can debug through this to hopefully fix this
from my.jdownloader.api.
Hello!
I am revisiting this project in the next few days, if the problem occurs again, and I cannot fix it in the SDK or in my project. i will ask for your email address so I can give you access to the project
Thanks for being so responsive! you are awesome!!
from my.jdownloader.api.
Related Issues (11)
- Quite critical bug - or so it seems HOT 2
- Documentation is outdated HOT 1
- LinkgrabberV2.QueryLinks gibt nur eine leere Liste zurück HOT 1
- DownloadController.Start and DownloadController.Stop are incorrectly swapped HOT 1
- Adding links and setting directory HOT 3
- QueryPackages doesn't return SaveTo Property HOT 2
- CleanUp returns API_COMMAND_NOT_FOUND HOT 2
- [Question] - How to add a 'comment' to a Package? Missing method from JDownload docs or this API? HOT 2
- Adding Links takes a very long time HOT 2
- Build version 2.4.6 for Nuget HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from my.jdownloader.api.