truetime-android icon indicating copy to clipboard operation
truetime-android copied to clipboard

Error : You need to call init() on TrueTime at least once.

Open glomowa opened this issue 3 years ago • 7 comments

hi i sometimes i got this error

java.lang.IllegalStateException: You need to call init() on TrueTime at least once. com.instacart.library.truetime.TrueTime.now(TrueTime.java:29)

but i already put this on my class that extend Application() class doAsync { TrueTime.build().initialize() }

glomowa avatar Feb 10 '22 01:02 glomowa

same problem

Tooto avatar Jun 23 '22 12:06 Tooto

Complete fraud in instacarts system red alert needs forensic audit image

metatron1973 avatar Jul 18 '22 21:07 metatron1973

Internal forensic audit being applied to fraudulent systems inside Instacart image

metatron1973 avatar Jul 18 '22 21:07 metatron1973

@Tooto did u get a solution?

ashwin-nath-m avatar Jul 24 '23 05:07 ashwin-nath-m

does anyone has a solution for this?

RubyV avatar Sep 21 '23 04:09 RubyV

Has this problem already been resolved?

dunghn2201 avatar Oct 11 '23 09:10 dunghn2201

You might be calling TrueTime.now before the async call is complete

if(TrueTime.isInitialized()) {
return TrueTime.now
} else {
return System.currentTimeMillis()
}

akhil-handa avatar Oct 19 '23 05:10 akhil-handa