Closed Bug 1597917 Opened 5 years ago Closed 5 years ago

"WorkManager is not initialized properly" in GleanFromJavaTest

Categories

(Data Platform and Tools :: Glean: SDK, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Dexter, Assigned: Dexter)

Details

(Whiteboard: [telemetry:glean-rs:m11])

testInitGleanWithConfiguration - mozilla.telemetry.glean.GleanFromJavaTest

java.lang.IllegalStateException: WorkManager is not initialized properly. You have explicitly disabled WorkManagerInitializer in your manifest, have not manually called WorkManager#initialize at this point, and your Application does not implement Configuration.Provider.

Priority: -- → P3
Whiteboard: [telemetry:glean-rs:m?]

I assume this needs the WorkManager.testInitHelper thing?

(In reply to Travis Long [:travis_] from comment #2)

I assume this needs the WorkManager.testInitHelper thing?

Yeah, true. I'm not sure why this even worked?

Assignee: nobody → alessio.placitelli
Priority: P3 → P1
Whiteboard: [telemetry:glean-rs:m?] → [telemetry:glean-rs:m11]
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.