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

[XABT] Refactor marshal methods and type map generation out of GenerateJavaStubs. #9850

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

[XABT] Refactor marshal methods and type map generation out of `Gener…

c2b7fcb
Select commit
Loading
Failed to load commit list.
Draft

[XABT] Refactor marshal methods and type map generation out of GenerateJavaStubs. #9850

[XABT] Refactor marshal methods and type map generation out of `Gener…
c2b7fcb
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Xamarin.Android-PR failed Feb 26, 2025 in 1h 39m 52s

Build #10.0.0-ci.net10.25126.1+azdo.11084485 had test failures

Details

Tests

  • Failed: 14 (0.17%, 14 new, 0 recurring)
  • Passed: 7,990 (98.86%)
  • Other: 78 (0.97%)
  • Total: 8,082

Annotations

Check failure on line 238 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Xamarin.Android-PR

Build log #L238

Error: The process '/Users/runner/.dotnet//dotnet' failed with exit code 1

Check failure on line 241 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Xamarin.Android-PR

Build log #L241

Dotnet command failed with non-zero exit code on the following projects : [
  '/Users/runner/work/1/s/build-tools/xaprepare/xaprepare/xaprepare.csproj'
]

Check failure on line 268 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Xamarin.Android-PR

Build log #L268

Error: The process '/Users/runner/.dotnet//dotnet' failed with exit code 1

Check failure on line 271 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Xamarin.Android-PR

Build log #L271

Dotnet command failed with non-zero exit code on the following projects : [
  '/Users/runner/work/1/s/build-tools/xaprepare/xaprepare/xaprepare.csproj'
]

Check failure on line 1 in Mono.Android.NET_Tests, Java.InteropTests.InvokeVirtualFromConstructorTests.ActivationConstructor / Debug

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Xamarin.Android-PR

Mono.Android.NET_Tests, Java.InteropTests.InvokeVirtualFromConstructorTests.ActivationConstructor / Debug

Java.Lang.UnsatisfiedLinkError : No implementation found for void net.dot.jni.test.CallVirtualFromConstructorDerived.calledFromConstructor(int) (tried Java_net_dot_jni_test_CallVirtualFromConstructorDerived_calledFromConstructor and Java_net_dot_jni_test_CallVirtualFromConstructorDerived_calledFromConstructor__I)
Raw output
   at Java.Interop.JniEnvironment.StaticMethods.CallStaticObjectMethod(JniObjectReference type, JniMethodInfo method, JniArgumentValue* args)
   at Java.Interop.JniPeerMembers.JniStaticMethods.InvokeObjectMethod(String encodedMember, JniArgumentValue* parameters)
   at Java.InteropTests.CallVirtualFromConstructorDerived.NewInstance(Int32 value)
   at Java.InteropTests.InvokeVirtualFromConstructorTests.ActivationConstructor()
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
  --- End of managed Java.Lang.UnsatisfiedLinkError stack trace ---
java.lang.UnsatisfiedLinkError: No implementation found for void net.dot.jni.test.CallVirtualFromConstructorDerived.calledFromConstructor(int) (tried Java_net_dot_jni_test_CallVirtualFromConstructorDerived_calledFromConstructor and Java_net_dot_jni_test_CallVirtualFromConstructorDerived_calledFromConstructor__I)
	at net.dot.jni.test.CallVirtualFromConstructorDerived.calledFromConstructor(Native Method)
	at net.dot.jni.test.CallVirtualFromConstructorBase.<init>(CallVirtualFromConstructorBase.java:22)
	at net.dot.jni.test.CallVirtualFromConstructorDerived.<init>(CallVirtualFromConstructorDerived.java:20)
	at net.dot.jni.test.CallVirtualFromConstructorDerived.newInstance(CallVirtualFromConstructorDerived.java:32)
	at crc643df67da7b13bb6b1.TestInstrumentation_1.n_onStart(Native Method)
	at crc643df67da7b13bb6b1.TestInstrumentation_1.onStart(TestInstrumentation_1.java:32)
	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2189)

Check failure on line 1 in Mono.Android.NET_Tests, Java.InteropTests.InvokeVirtualFromConstructorTests.InvokeVirtualFromConstructor / Debug

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Xamarin.Android-PR

Mono.Android.NET_Tests, Java.InteropTests.InvokeVirtualFromConstructorTests.InvokeVirtualFromConstructor / Debug

Java.Lang.UnsatisfiedLinkError : No implementation found for void net.dot.jni.test.CallVirtualFromConstructorDerived.calledFromConstructor(int) (tried Java_net_dot_jni_test_CallVirtualFromConstructorDerived_calledFromConstructor and Java_net_dot_jni_test_CallVirtualFromConstructorDerived_calledFromConstructor__I)
Raw output
   at Java.Interop.JniEnvironment.InstanceMethods.CallNonvirtualVoidMethod(JniObjectReference instance, JniObjectReference type, JniMethodInfo method, JniArgumentValue* args)
   at Java.Interop.GenericMarshaler.JniPeerInstanceMethodsExtensions._InvokeConstructor[Int32](JniInstanceMethods peer, String constructorSignature, IJavaPeerable self, Int32 value)
   at Java.Interop.GenericMarshaler.JniPeerInstanceMethodsExtensions.FinishGenericCreateInstance[Int32](JniInstanceMethods peer, String constructorSignature, IJavaPeerable self, Int32 value)
   at Java.InteropTests.CallVirtualFromConstructorBase..ctor(Int32 value)
   at Java.InteropTests.CallVirtualFromConstructorDerived..ctor(Int32 value)
   at Java.InteropTests.InvokeVirtualFromConstructorTests.InvokeVirtualFromConstructor()
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
  --- End of managed Java.Lang.UnsatisfiedLinkError stack trace ---
java.lang.UnsatisfiedLinkError: No implementation found for void net.dot.jni.test.CallVirtualFromConstructorDerived.calledFromConstructor(int) (tried Java_net_dot_jni_test_CallVirtualFromConstructorDerived_calledFromConstructor and Java_net_dot_jni_test_CallVirtualFromConstructorDerived_calledFromConstructor__I)
	at net.dot.jni.test.CallVirtualFromConstructorDerived.calledFromConstructor(Native Method)
	at net.dot.jni.test.CallVirtualFromConstructorBase.<init>(CallVirtualFromConstructorBase.java:22)
	at net.dot.jni.test.CallVirtualFromConstructorDerived.<init>(CallVirtualFromConstructorDerived.java:20)
	at crc643df67da7b13bb6b1.TestInstrumentation_1.n_onStart(Native Method)
	at crc643df67da7b13bb6b1.TestInstrumentation_1.onStart(TestInstrumentation_1.java:32)
	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2189)

Check failure on line 1 in Mono.Android.NET_Tests, Java.InteropTests.InvokeVirtualFromConstructorTests.ActivationConstructor / Release

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Xamarin.Android-PR

Mono.Android.NET_Tests, Java.InteropTests.InvokeVirtualFromConstructorTests.ActivationConstructor / Release

Java.Lang.LinkageError : No implementation found for void net.dot.jni.test.CallVirtualFromConstructorDerived.calledFromConstructor(int) (tried Java_net_dot_jni_test_CallVirtualFromConstructorDerived_calledFromConstructor and Java_net_dot_jni_test_CallVirtualFromConstructorDerived_calledFromConstructor__I)
Raw output
   at Java.Interop.JniEnvironment.StaticMethods.CallStaticObjectMethod(JniObjectReference , JniMethodInfo , JniArgumentValue* )
   at Java.Interop.JniPeerMembers.JniStaticMethods.InvokeObjectMethod(String , JniArgumentValue* )
   at Java.InteropTests.CallVirtualFromConstructorDerived.NewInstance(Int32 value)
   at Java.InteropTests.InvokeVirtualFromConstructorTests.ActivationConstructor()
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object , BindingFlags )
  --- End of managed Java.Lang.LinkageError stack trace ---
java.lang.UnsatisfiedLinkError: No implementation found for void net.dot.jni.test.CallVirtualFromConstructorDerived.calledFromConstructor(int) (tried Java_net_dot_jni_test_CallVirtualFromConstructorDerived_calledFromConstructor and Java_net_dot_jni_test_CallVirtualFromConstructorDerived_calledFromConstructor__I)
	at net.dot.jni.test.CallVirtualFromConstructorDerived.calledFromConstructor(Native Method)
	at net.dot.jni.test.CallVirtualFromConstructorBase.<init>(CallVirtualFromConstructorBase.java:22)
	at net.dot.jni.test.CallVirtualFromConstructorDerived.<init>(CallVirtualFromConstructorDerived.java:20)
	at net.dot.jni.test.CallVirtualFromConstructorDerived.newInstance(CallVirtualFromConstructorDerived.java:32)
	at crc643df67da7b13bb6b1.TestInstrumentation_1.n_onStart(Native Method)
	at crc643df67da7b13bb6b1.TestInstrumentation_1.onStart(TestInstrumentation_1.java:24)
	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2189)

Check failure on line 1 in Mono.Android.NET_Tests, Java.InteropTests.InvokeVirtualFromConstructorTests.InvokeVirtualFromConstructor / Release

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Xamarin.Android-PR

Mono.Android.NET_Tests, Java.InteropTests.InvokeVirtualFromConstructorTests.InvokeVirtualFromConstructor / Release

Java.Lang.LinkageError : No implementation found for void net.dot.jni.test.CallVirtualFromConstructorDerived.calledFromConstructor(int) (tried Java_net_dot_jni_test_CallVirtualFromConstructorDerived_calledFromConstructor and Java_net_dot_jni_test_CallVirtualFromConstructorDerived_calledFromConstructor__I)
Raw output
   at Java.Interop.JniEnvironment.InstanceMethods.CallNonvirtualVoidMethod(JniObjectReference , JniObjectReference , JniMethodInfo , JniArgumentValue* )
   at Java.Interop.GenericMarshaler.JniPeerInstanceMethodsExtensions._InvokeConstructor[Int32](JniInstanceMethods , String , IJavaPeerable , Int32 )
   at Java.Interop.GenericMarshaler.JniPeerInstanceMethodsExtensions.FinishGenericCreateInstance[Int32](JniInstanceMethods , String , IJavaPeerable , Int32 )
   at Java.InteropTests.CallVirtualFromConstructorBase..ctor(Int32 value)
   at Java.InteropTests.CallVirtualFromConstructorDerived..ctor(Int32 value)
   at Java.InteropTests.InvokeVirtualFromConstructorTests.InvokeVirtualFromConstructor()
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object , BindingFlags )
  --- End of managed Java.Lang.LinkageError stack trace ---
java.lang.UnsatisfiedLinkError: No implementation found for void net.dot.jni.test.CallVirtualFromConstructorDerived.calledFromConstructor(int) (tried Java_net_dot_jni_test_CallVirtualFromConstructorDerived_calledFromConstructor and Java_net_dot_jni_test_CallVirtualFromConstructorDerived_calledFromConstructor__I)
	at net.dot.jni.test.CallVirtualFromConstructorDerived.calledFromConstructor(Native Method)
	at net.dot.jni.test.CallVirtualFromConstructorBase.<init>(CallVirtualFromConstructorBase.java:22)
	at net.dot.jni.test.CallVirtualFromConstructorDerived.<init>(CallVirtualFromConstructorDerived.java:20)
	at crc643df67da7b13bb6b1.TestInstrumentation_1.n_onStart(Native Method)
	at crc643df67da7b13bb6b1.TestInstrumentation_1.onStart(TestInstrumentation_1.java:24)
	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2189)