GithubHelp home page GithubHelp logo

[Bug??] - I am having a bug sometimes when I connect to my JDownloader instance, verbose details below about my.jdownloader.api HOT 4 CLOSED

jeffward01 avatar jeffward01 commented on August 22, 2024
[Bug??] - I am having a bug sometimes when I connect to my JDownloader instance, verbose details below

from my.jdownloader.api.

Comments (4)

jeffward01 avatar jeffward01 commented on August 22, 2024

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:

image

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.

jeffward01 avatar jeffward01 commented on August 22, 2024

The error happened again, however, I believe that this is a separate error.

Basically my app does this:

  1. Downloads many links (150)
  2. Sleeps for 10 minutes (allows time for the links to be downloaded...)
  3. Wakes up
  4. 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:

image

Error Message:

image

"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:

image

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.

Cr1TiKa7 avatar Cr1TiKa7 commented on August 22, 2024

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.

jeffward01 avatar jeffward01 commented on August 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.