Open Bug 2100522 Opened 3 days ago Updated 3 days ago

null pointer errors with glean-sym + DualLabeledCounter

Categories

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

defect

Tracking

(Not tracked)

People

(Reporter: bdk, Unassigned)

Details

I just tried landing some code that uses dual labeled counters, but it got backed out for null pointer errors. Claude's analysis says the issue is that DualLabeledCounter::get is calling uniffi_glean_core_fn_method_duallabeledcountermetric_get and expecting a RustBuffer to be returned, but a 64-bit handle is actually being returned since CounterMetric is an interface. That seems right to me, although I'm not exactly sure what's going on and what the fix is.

You need to log in before you can comment on or make changes to this bug.