You are not logged in.

#1 2016-03-21 15:29:42

MrBlackWolf
Member
Registered: 2016-03-21
Posts: 10

[Solved] MonoDevelop throws a exception and doesn't open

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>:0

Someone can help me, please?

Last edited by MrBlackWolf (2016-03-22 10:55:52)

Offline

#2 2016-03-21 16:05:55

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [Solved] MonoDevelop throws a exception and doesn't open

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.

https://wiki.archlinux.org/index.php/Fo … s_and_code

Offline

#3 2016-03-21 18:40:22

MrBlackWolf
Member
Registered: 2016-03-21
Posts: 10

Re: [Solved] MonoDevelop throws a exception and doesn't open

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 region

Last edited by MrBlackWolf (2016-03-21 18:45:37)

Offline

#4 2016-03-22 10:05:59

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [Solved] MonoDevelop throws a exception and doesn't open

Please mark the thread as solved by editing the first post and prepending [solved] to the title.

Offline

Board footer

Powered by FluxBB