Azaret / superputty

Automatically exported from code.google.com/p/superputty
MIT License
0 stars 0 forks source link

Issue with PortableSettings on Roaming profile #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. SuperPutty fails to start with NullPointerException
2.
3.

What is the expected output? What do you see instead?

Start up clean.

Please use labels and text to provide additional information.

2012-04-23 10:38:18,506 [6576] INFO  SuperPutty.Properties.Settings - Settings 
Loaded
2012-04-23 10:38:18,506 [6576] INFO  SuperPutty.SuperPuTTY - Upgrading Settings 
to 1.2.0.1
2012-04-23 10:38:18,506 [6576] INFO  SuperPutty.Properties.Settings - Settings 
Saved
2012-04-23 10:38:18,506 [6576] ERROR SuperPutty.Program - Error in Main
System.NullReferenceException: Object reference not set to an instance of an 
object.
   at SuperPutty.Utils.PortableSettingsProvider.SetValue(SettingsPropertyValue propVal) in F:\projects\dotnet\superputty\1.2\SuperPutty\Utils\PortableSettingsProvider.cs:line 233
   at SuperPutty.Utils.PortableSettingsProvider.SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection collection) in F:\projects\dotnet\superputty\1.2\SuperPutty\Utils\PortableSettingsProvider.cs:line 95
   at System.Configuration.SettingsBase.SaveCore()
   at System.Configuration.SettingsBase.Save()
   at System.Configuration.ApplicationSettingsBase.Save()
   at SuperPutty.SuperPuTTY.Initialize(String[] args) in F:\projects\dotnet\superputty\1.2\SuperPutty\SuperPuTTY.cs:line 45
   at SuperPutty.Program.Main(String[] args) in F:\projects\dotnet\superputty\1.2\SuperPutty\Program.cs:line 77
2012-04-23 10:38:18,553 [6576] INFO  SuperPutty.Program - Shutdown

*** Will fix by removing per machine (roaming) settings for now.

Original issue reported on code.google.com by btatey...@gmail.com on 23 Apr 2012 at 2:54

GoogleCodeExporter commented 9 years ago
This is caused if hostname starts with number...

Original comment by btatey...@gmail.com on 25 Apr 2012 at 2:43

GoogleCodeExporter commented 9 years ago

Original comment by btatey...@gmail.com on 25 Apr 2012 at 3:19

GoogleCodeExporter commented 9 years ago

Original comment by btatey...@gmail.com on 19 Aug 2012 at 3:16