You are not logged in.
Hi guys. I need some help. When I try to open the MonoDevelop he throws the follow exception.
Unhandled Exception:
System.TypeInitializationException: The type initializer for 'MonoDevelop.Core.LoggingService' threw an exception. ---> System.InvalidTimeZoneException: TZ file too big for the buffer
at System.TimeZoneInfo.BuildFromStream (System.String id, System.IO.Stream stream) <0x401bec50 + 0x000d3> in <filename unknown>:0
at System.TimeZoneInfo.FindSystemTimeZoneByFileName (System.String id, System.String filepath) <0x401bc6f0 + 0x00047> in <filename unknown>:0
at System.TimeZoneInfo.CreateLocal () <0x401bc3b0 + 0x00197> in <filename unknown>:0
at System.TimeZoneInfo.get_Local () <0x401bc2f0 + 0x00023> in <filename unknown>:0
at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (DateTime time, System.Boolean& isAmbiguousLocalDst) <0x401bc290 + 0x00017> in <filename unknown>:0
at System.DateTime.get_Now () <0x401bbea0 + 0x00047> in <filename unknown>:0
at MonoDevelop.Core.LoggingService..cctor () <0x401b9ac0 + 0x004c3> in <filename unknown>:0
--- End of inner exception stack trace ---
at MonoDevelop.Ide.IdeStartup.Main (System.String[] args, MonoDevelop.Ide.Extensions.IdeCustomizer customizer) <0x4017ef80 + 0x00087> in <filename unknown>:0
at MonoDevelop.Startup.MonoDevelopMain.Main (System.String[] args) <0x4017ee00 + 0x0000f> in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'MonoDevelop.Core.LoggingService' threw an exception. ---> System.InvalidTimeZoneException: TZ file too big for the buffer
at System.TimeZoneInfo.BuildFromStream (System.String id, System.IO.Stream stream) <0x401bec50 + 0x000d3> in <filename unknown>:0
at System.TimeZoneInfo.FindSystemTimeZoneByFileName (System.String id, System.String filepath) <0x401bc6f0 + 0x00047> in <filename unknown>:0
at System.TimeZoneInfo.CreateLocal () <0x401bc3b0 + 0x00197> in <filename unknown>:0
at System.TimeZoneInfo.get_Local () <0x401bc2f0 + 0x00023> in <filename unknown>:0
at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (DateTime time, System.Boolean& isAmbiguousLocalDst) <0x401bc290 + 0x00017> in <filename unknown>:0
at System.DateTime.get_Now () <0x401bbea0 + 0x00047> in <filename unknown>:0
at MonoDevelop.Core.LoggingService..cctor () <0x401b9ac0 + 0x004c3> in <filename unknown>:0
--- End of inner exception stack trace ---
at MonoDevelop.Ide.IdeStartup.Main (System.String[] args, MonoDevelop.Ide.Extensions.IdeCustomizer customizer) <0x4017ef80 + 0x00087> in <filename unknown>:0
at MonoDevelop.Startup.MonoDevelopMain.Main (System.String[] args) <0x4017ee00 + 0x0000f> in <filename unknown>:0Someone can help me, please?
Last edited by MrBlackWolf (2016-03-22 10:55:52)
Offline
Seems to be some problem with your timezone. What timezone are you using?
According to https://github.com/mosa/Mono-Class-Libr … oneInfo.cs, the timezone file size should be less than 16384 bytes.
Also, please edit your post and use code tags instead of quote tags.
Offline
So. I deleted the /etc/localtime file and make the symbolic link again. Now the problem is solved.
Here are the utliized commands:
# rm /etc/localtime
# ln -s /usr/share/zoneinfo/America/Sao_Paulo //change the zone for your regionLast edited by MrBlackWolf (2016-03-21 18:45:37)
Offline
Please mark the thread as solved by editing the first post and prepending [solved] to the title.
Offline