Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.

SDK 4.10.0: java.lang.IllegalStateException: Timer was canceled #32

@gsams04

Description

@gsams04

Hi,

We recently upgraded to 4.10.0 from 4.4.0 and we've received multiple reports of this crash

java.lang.IllegalStateException: Timer was canceled
	at java.util.Timer.scheduleImpl(Timer.java:558)
	at java.util.Timer.schedule(Timer.java:456)
	at com.tune.location.TuneLocationListener$GetLocationUpdates.run(TuneLocationListener.java:249)
	at android.os.Handler.handleCallback(Handler.java:739)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:211)
	at android.app.ActivityThread.main(ActivityThread.java:5317)
	at java.lang.reflect.Method.invoke(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:372)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1016)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:811)

We haven't personally seen this issue but this happens in all OS versions starting Lollipop.

If it's of any help, here's how we initialize Tune.

Tune.init(app,tune_advertiser_id,tune_converion_key );
Tune.getInstance().setShouldAutoCollectDeviceLocation(false);

What could've possibly been the problem?

Thanks for the help.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions