Embeddinator-4000
Embeddinator-4000 copied to clipboard
Unexpected error MT0000
From @rafaelsrocha on Mon, 24 Jun 2019 18:52:19 GMT
Steps to Reproduce
- Go to
packages/Embeddinator-4000.0.4.0/tools
- run
./objcgen PCLTest/PCLTest/bin/Debug/PCLTest.dll --target=framework --platform=iOS --outdir=PCLTest/output -c -debug --verbose
Expected Behavior
Should build with no error.
Actual Behavior
Getting
error MT0000: Unexpected error - Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
System.ArgumentNullException: Value cannot be null.
Parameter name: collection
at System.Collections.Generic.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) [0x00003] in <a2bfeec6715c4fdfa8972c2780c54eba>:0
at System.Collections.Generic.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00000] in <a2bfeec6715c4fdfa8972c2780c54eba>:0
at Xamarin.Bundler.Application.BuildApp () [0x00040] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/tools/mtouch/Application.cs:1526
at Xamarin.Bundler.Application.BuildNative () [0x0001f] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/tools/mtouch/Application.cs:900
at Xamarin.Bundler.Application+<>c.<BuildAll>b__146_2 (Xamarin.Bundler.Application v) [0x00000] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/tools/mtouch/Application.cs:837
at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x0001e] in <a2bfeec6715c4fdfa8972c2780c54eba>:0
at Xamarin.Bundler.Application.BuildAll () [0x00076] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/tools/mtouch/Application.cs:837
at Xamarin.Bundler.Driver.Main2 (System.String[] args) [0x00442] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/tools/mtouch/mtouch.cs:1344
at Xamarin.Bundler.Driver.Main (System.String[] args) [0x00015] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/tools/mtouch/mtouch.cs:864
Environment
=== Visual Studio Community 2019 for Mac ===
Version 8.1.1 (build 27)
Installation UUID: 3b5f0d07-587c-45ba-b234-67dc0787e1de
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac 5.6.0.25 (d16-0 / 50f75273)
Package version: 518010028
=== Mono Framework MDK ===
Runtime:
Mono 5.18.1.28 (2018-08/223ea7ef92e) (64-bit)
Package version: 518010028
=== NuGet ===
Version: 5.0.2.5988
=== .NET Core ===
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
2.2.5
2.2.4
SDK: /usr/local/share/dotnet/sdk/2.2.300/Sdks
SDK Versions:
2.2.300
2.2.106
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.18.1/lib/mono/msbuild/Current/bin/Sdks
=== Xamarin.Profiler ===
Version: 1.6.10
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
=== Updater ===
Version: 11
=== Xamarin.Android ===
Version: 9.3.0.23 (Visual Studio Community)
Commit: HEAD/d0b48056f
Android SDK: /Users/rafael/Library/Android/sdk
Supported Android versions:
None installed
SDK Tools Version: 26.1.1
SDK Platform Tools Version: 28.0.2
SDK Build Tools Version: 28.0.3
Build Information:
Mono: mono/mono/2018-08@3a07bd426d3
Java.Interop: xamarin/java.interop/d16-1@5ddc3e3
LibZipSharp: grendello/LibZipSharp/d16-1@44de300
LibZip: nih-at/libzip/rel-1-5-1@b95cf3f
ProGuard: xamarin/proguard/master@905836d
SQLite: xamarin/sqlite/3.27.1@8212a2d
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-1@acabd26
=== Microsoft Mobile OpenJDK ===
Java SDK: /Users/rafael/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_1.8.0.25
1.8.0-25
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
=== Android Device Manager ===
Version: 1.2.0.44
Hash: aac645b
Branch: remotes/origin/d16-1
Build date: 2019-05-29 19:55:24 UTC
=== Xamarin Inspector ===
Version: 1.4.3
Hash: db27525
Branch: 1.4-release
Build date: Mon, 09 Jul 2018 21:20:18 GMT
Client compatibility: 1
=== Apple Developer Tools ===
Xcode 10.2.1 (14490.122)
Build 10E1001
=== Xamarin.Mac ===
Version: 5.10.0.157 (Visual Studio Community)
Hash: 6bd94753
Branch: d16-1
Build date: 2019-06-12 17:28:48-0400
=== Xamarin.iOS ===
Version: 12.10.0.157 (Visual Studio Community)
Hash: 6bd94753
Branch: d16-1
Build date: 2019-06-12 17:28:47-0400
=== Xamarin Designer ===
Version: 16.1.0.467
Hash: f1657e133
Branch: remotes/origin/d16-1-new-document-model
Build date: 2019-06-18 21:57:42 UTC
=== Build Information ===
Release ID: 801010027
Git revision: ce34f6838e6457d0e7d5991a1a693415e6fcae07
Build date: 2019-06-19 19:52:58+00
Build branch: release-8.1
Xamarin extensions: 5104b76623e0df8e5f763f87d170279c0b788e89
=== Operating System ===
Mac OS X 10.14.4
Darwin 18.5.0 Darwin Kernel Version 18.5.0
Mon Mar 11 20:40:32 PDT 2019
root:xnu-4903.251.3~3/RELEASE_X86_64 x86_64
Build Logs
https://gist.github.com/rafaelsrocha/3d65f420ad8a9dc5892cf784b301586b
Example Project (If Possible)
https://github.com/rafaelsrocha/test-pcl
Copied from original issue xamarin/xamarin-macios#6414
From @chamons on Tue, 25 Jun 2019 15:59:55 GMT
I can reproduce with latest stable.
From @chamons on Tue, 25 Jun 2019 16:00:24 GMT
Though this is an https://github.com/mono/Embeddinator-4000 issue.
Hi, I am having this exact issue... why was it closed?
@rodrigoelp this issue is not closed, it's still open
Thanks @rolfbjarne, I saw the last tag in the ticket and assumed it was closed. Apologies.
Reviewing the log uploaded by @chamons, I can see a few differences (so, I might be hitting some other issue with a similar error code).
I have created my own issue just in case it isn't the same root cause.
Hi Everyone, I am also running into the same issue when trying to convert a xamarin.ios class library to objective c framework.
Is there any workaround or a fix for this ?.
Hello all,
I just wanted to add that I think this started in one of the recent updates. Version 12.8.0.2 of Xamarin.iOS works for us (which we reverted back to and have just been updating the non-iOS parts since then).
-Tom B.
@tombly Thanks for the update, I will try to downgrade the Xamarin.iOS version and try to run the tool again.
I think you can grab the download from:
https://dl.xamarin.com/MonoTouch/Mac/xamarin.ios-12.8.0.2.pkg
Thanks for the update @tombly, unfortunately (for me), this is not good because I need to pack a library which I do not control (it's a partnership with another company).
I hope this gets fixed soon.