[Mono-list] mono linker question

Treker Chen treker.chen at gmail.com
Mon Jan 12 08:35:04 EST 2009


Hi All

Recently i try to use mono linker to make a smaller mono runtime, and i got
this error message, any comment is welcome.

Linux:~/monocharge-20090108/1.0#  mono monolinker.exe -out 1 -a
/usr/local/xxxx/sbin/XXXX.Standalone.Daemon.exe
Fatal error in Mono CIL Linker
System.NullReferenceException: Object reference not set to an instance of an
object
  at Mono.Linker.Steps.MarkStep.MarkCustomAttributeProperties
(Mono.Cecil.CustomAttribute ca, Mono.Cecil.TypeDefinition attribute)
[0x00000]
  at Mono.Linker.Steps.MarkStep.MarkCustomAttribute
(Mono.Cecil.CustomAttribute ca) [0x00000]
  at Mono.Linker.Steps.MarkStep.MarkCustomAttributes
(ICustomAttributeProvider provider) [0x00000]
  at Mono.Linker.Steps.MarkStep.MarkAssembly (Mono.Cecil.AssemblyDefinition
assembly) [0x00000]
  at Mono.Linker.Steps.MarkStep.InitializeAssembly
(Mono.Cecil.AssemblyDefinition assembly) [0x00000]
  at Mono.Linker.Steps.MarkStep.Initialize () [0x00000]
  at Mono.Linker.Steps.MarkStep.Process (Mono.Linker.LinkContext context)
[0x00000]
  at Mono.Linker.Pipeline.Process (Mono.Linker.LinkContext context)
[0x00000]
  at Mono.Linker.Driver.Run () [0x00000]
  at Mono.Linker.Driver.Main (System.String[] args) [0x00000]

the mono linker i used was downloaded from Mono Daily Packages,
monocharge-20090108.tar.gz<http://mono.ximian.com/daily/monocharge-20090108.tar.gz>,
with mono runtime 2.0.1

Regards
Treker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090112/e3af6490/attachment.html 


More information about the Mono-list mailing list