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

Android fix object navigation #458

Closed

Conversation

isha382
Copy link
Contributor

@isha382 isha382 commented Oct 29, 2024

A java.lang.NullPointerException with the message: Attempt to invoke virtual method 'void org.openbot.tracking.MultiBoxTracker.draw(android.graphics.Canvas)' on a null object reference.
This issue arose when the ObjectTracking or Autopilot fragment was opened, and the app was then placed in the background before being brought back to the foreground.
To resolve this, I added a null check to ensure MultiBoxTracker is not accessed if it's null, preventing the exception.

@isha382 isha382 closed this Oct 29, 2024
@isha382 isha382 deleted the android-fix-object-navigation branch November 11, 2024 06:33
@isha382 isha382 restored the android-fix-object-navigation branch November 11, 2024 06:33
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

Successfully merging this pull request may close these issues.

1 participant