Structure.getFieldOrder() on class org.mozilla.experiments.nimbus.internal.RustBuffer$ByValue
Categories
(Firefox for Android :: Experimentation and Telemetry, defect)
Tracking
()
People
(Reporter: JeffreyBobEver, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0
Steps to reproduce:
I downloaded the recent code from the mozilla-central, and I built the release version of fenix. I installed to my phone successfully, but when I run the fenix, a fatal error showed as bleow:
Actual results:
EXCEPTION: main
Process: org.mozilla.firefox, PID: 32004
java.lang.Error: Structure.getFieldOrder() on class org.mozilla.experiments.nimbus.internal.RustBuffer$ByValue does not provide enough names [0] ([]) to match declared fields [3] ([capacity, data, len])
at com.sun.jna.Structure.getFields(SourceFile:140)
at com.sun.jna.Structure.deriveLayout(SourceFile:3)
at com.sun.jna.Structure.calculateSize(SourceFile:9)
at com.sun.jna.Structure.allocateMemory(SourceFile:2)
at com.sun.jna.Structure.allocateMemory(SourceFile:1)
at com.sun.jna.Structure.newInstance(SourceFile:17)
at com.sun.jna.Structure.newInstance(SourceFile:12)
at com.sun.jna.Structure.size(SourceFile:8)
at com.sun.jna.Native.getNativeSize(SourceFile:8)
at com.sun.jna.Structure.getNativeSize(SourceFile:2)
at com.sun.jna.Structure.getNativeSize(SourceFile:1)
at com.sun.jna.Structure.validateField(SourceFile:33)
at com.sun.jna.Structure.lambda$validateFields$2(SourceFile:29)
at com.sun.jna.Structure.$r8$lambda$sGfNwEHp_1PyC3MjWDlWDhZGVOM(SourceFile:1)
at com.sun.jna.Structure$$ExternalSyntheticLambda0.apply(SourceFile:1)
at j$.util.Map$-CC.$default$computeIfAbsent(SourceFile:1003)
at j$.util.Map$-EL.computeIfAbsent(SourceFile:0)
at com.sun.jna.Structure.validateFields(SourceFile:54)
at com.sun.jna.Structure.<init>(SourceFile:15)
at com.sun.jna.Structure.<init>(SourceFile:6)
at com.sun.jna.Structure.<init>(SourceFile:3)
at com.sun.jna.Structure.<init>(SourceFile:1)
at org.mozilla.experiments.nimbus.internal.UniffiRustCallStatus.<init>(SourceFile:1)
at org.mozilla.fenix.components.NimbusComponents$$ExternalSyntheticLambda0.invoke(SourceFile:392)
at kotlin.SynchronizedLazyImpl.getValue(SourceFile:21)
at org.mozilla.fenix.components.NimbusComponents.getSdk(SourceFile:3)
at org.mozilla.fenix.FenixApplication.onCreate(SourceFile:129)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1213)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6906)
at android.app.ActivityThread.access$1600(ActivityThread.java:261)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2154)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loopOnce(Looper.java:238)
at android.os.Looper.loop(Looper.java:357)
at android.app.ActivityThread.main(ActivityThread.java:8089)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1026)
2025-04-21 13:38:41.025 32004-32004 ExceptionHandler pid-32004 E Uncaught exception handled:
java.lang.Error: Structure.getFieldOrder() on class org.mozilla.experiments.nimbus.internal.RustBuffer$ByValue does not provide enough names [0] ([]) to match declared fields [3] ([capacity, data, len])
at com.sun.jna.Structure.getFields(SourceFile:140)
at com.sun.jna.Structure.deriveLayout(SourceFile:3)
at com.sun.jna.Structure.calculateSize(SourceFile:9)
at com.sun.jna.Structure.allocateMemory(SourceFile:2)
at com.sun.jna.Structure.allocateMemory(SourceFile:1)
at com.sun.jna.Structure.newInstance(SourceFile:17)
at com.sun.jna.Structure.newInstance(SourceFile:12)
at com.sun.jna.Structure.size(SourceFile:8)
at com.sun.jna.Native.getNativeSize(SourceFile:8)
at com.sun.jna.Structure.getNativeSize(SourceFile:2)
at com.sun.jna.Structure.getNativeSize(SourceFile:1)
at com.sun.jna.Structure.validateField(SourceFile:33)
at com.sun.jna.Structure.lambda$validateFields$2(SourceFile:29)
at com.sun.jna.Structure.$r8$lambda$sGfNwEHp_1PyC3MjWDlWDhZGVOM(SourceFile:1)
at com.sun.jna.Structure$$ExternalSyntheticLambda0.apply(SourceFile:1)
at j$.util.Map$-CC.$default$computeIfAbsent(SourceFile:1003)
at j$.util.Map$-EL.computeIfAbsent(SourceFile:0)
at com.sun.jna.Structure.validateFields(SourceFile:54)
at com.sun.jna.Structure.<init>(SourceFile:15)
at com.sun.jna.Structure.<init>(SourceFile:6)
at com.sun.jna.Structure.<init>(SourceFile:3)
at com.sun.jna.Structure.<init>(SourceFile:1)
at org.mozilla.experiments.nimbus.internal.UniffiRustCallStatus.<init>(SourceFile:1)
at org.mozilla.fenix.components.NimbusComponents$$ExternalSyntheticLambda0.invoke(SourceFile:392)
at kotlin.SynchronizedLazyImpl.getValue(SourceFile:21)
at org.mozilla.fenix.components.NimbusComponents.getSdk(SourceFile:3)
at org.mozilla.fenix.FenixApplication.onCreate(SourceFile:129)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1213)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6906)
at android.app.ActivityThread.access$1600(ActivityThread.java:261)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2154)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loopOnce(Looper.java:238)
at android.os.Looper.loop(Looper.java:357)
at android.app.ActivityThread.main(ActivityThread.java:8089)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1026)
Comment 1•1 month ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox for Android::Experimentation and Telemetry' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•25 days ago
|
Description
•