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

Crash #2

Open
ChristophyBarth opened this issue Jun 13, 2021 · 0 comments
Open

Crash #2

ChristophyBarth opened this issue Jun 13, 2021 · 0 comments

Comments

@ChristophyBarth
Copy link

ChristophyBarth commented Jun 13, 2021

.initialize("2.in.pool.ntp.org", "0.asia.pool.ntp.org"); crashes the application.

java.lang.RuntimeException: Unable to create application com.example.officialscrab.TimeGuy: java.lang.UnsupportedOperationException
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7214)
        at android.app.ActivityThread.access$1600(ActivityThread.java:288)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2156)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:254)
        at android.app.ActivityThread.main(ActivityThread.java:8199)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)
     Caused by: java.lang.UnsupportedOperationException
        at java.util.AbstractList.add(AbstractList.java:153)
        at com.krishna.securetimer.task.SyncSecureTimerTask.<init>(SyncSecureTimerTask.java:35)
        at com.krishna.securetimer.SecureTimer.initialize(SecureTimer.java:46)
        at com.krishna.securetimer.SecureTimer.initialize(SecureTimer.java:54)

Also, Is there any possibility of setting the time ourselves and let SecureTimer use that?

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

1 participant