Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DJIV5/RXUtil error causes app to crash shortly after application start and successful app registration #308

Open
danekpilar01 opened this issue Apr 9, 2024 · 4 comments

Comments

@danekpilar01
Copy link

danekpilar01 commented Apr 9, 2024

Hello, I started with an empty project and implemented the basic steps for using the SDK.

My app only uses a single Activity, where it initialises the SDK, checks for permissions, registers the App with the API key and in case when product is connected, a simple textview displays a message that the product is connected.

The registration goes well, but after one or two seconds, an exception is thrown and the app crashes, but I don't get any useful information from the error message:

(co_a:34) io.reactivex.rxjava3.exceptions.OnErrorNotImplementedException: The exception was not handled due to missing onError handler in the subscribe() method call. Further reading: https://github.com/ReactiveX/RxJava/wiki/Error-Handling | io.reactivex.rxjava3.exceptions.MissingBackpressureException: Can't deliver value due to lack of requests
at io.reactivex.rxjava3.internal.functions.Functions$OnErrorMissingConsumer.accept(Functions.java:717)
at io.reactivex.rxjava3.internal.functions.Functions$OnErrorMissingConsumer.accept(Functions.java:714)
at io.reactivex.rxjava3.internal.subscribers.LambdaSubscriber.onError(LambdaSubscriber.java:79)
at io.reactivex.rxjava3.subscribers.SerializedSubscriber.onError(SerializedSubscriber.java:144)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableRepeatWhen$WhenReceiver.onError(FlowableRepeatWhen.java:112)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableTimer$TimerSubscriber.run(FlowableTimer.java:81)
at io.reactivex.rxjava3.internal.schedulers.ScheduledDirectTask.call(ScheduledDirectTask.java:38)
at io.reactivex.rxjava3.internal.schedulers.ScheduledDirectTask.call(ScheduledDirectTask.java:26)
at java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at java.lang.Thread.run(Thread.java:1012)
Caused by: io.reactivex.rxjava3.exceptions.MissingBackpressureException: Can't deliver value due to lack of requests
at io.reactivex.rxjava3.internal.operators.flowable.FlowableTimer$TimerSubscriber.run(FlowableTimer.java:81) 
at io.reactivex.rxjava3.internal.schedulers.ScheduledDirectTask.call(ScheduledDirectTask.java:38) 
at io.reactivex.rxjava3.internal.schedulers.ScheduledDirectTask.call(ScheduledDirectTask.java:26) 
at java.util.concurrent.FutureTask.run(FutureTask.java:264) 
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637) 
at java.lang.Thread.run(Thread.java:1012) 

The error message comes from DJIV5/RXUtil.

@dji-dev
Copy link
Contributor

dji-dev commented Apr 10, 2024

Agent comment from yating.liao in Zendesk ticket #104655:

Could you please inform us about the version of MSDK you are using? Is it the latest version 5.8?

°°°

@dji-dev
Copy link
Contributor

dji-dev commented Apr 10, 2024

Agent comment from yating.liao in Zendesk ticket #104655:

If you are not currently using the latest 5.8 version, could you please update to version 5.8 before conducting the test? I did not find any information in the logs you provided regarding the location of the crash.

Thank you.

°°°

@danekpilar01
Copy link
Author

Yes, I have the latest version: 5.8.0.

@dji-dev
Copy link
Contributor

dji-dev commented Apr 11, 2024

Agent comment from yating.liao in Zendesk ticket #104655:

Could you send us your project for analysis?

Here is the upload link:https://pan-sec.djicorp.com/s/oGoJJKQEgxjKbJ9 password:dji123

°°°

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants