Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullReferenceException on first install #379

Closed
GoogleCodeExporter opened this issue May 8, 2015 · 4 comments
Closed

NullReferenceException on first install #379

GoogleCodeExporter opened this issue May 8, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. copy as (call from session)
2.
3.

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


What version of the product are you using? On what operating system?


Please provide any additional information below.

Original issue reported on code.google.com by durovi...@gmail.com on 8 Oct 2013 at 9:29

Attachments:

@GoogleCodeExporter
Copy link
Author

This is to do with the images/icons.
Check if you have within your .exe home directory the following tree:
themes
 default
  icons
   {files of .png extension}

If these are not there, this may be your problem. Of course it's still a bug as 
it should be handled better.

Original comment by djtrem...@gmail.com on 5 Nov 2013 at 12:00

@GoogleCodeExporter
Copy link
Author

same here, on the first run. 

i had imported the sessions from putty, then moved them to new folders, then 
double-clicked one to open it. boom.

yes the icons were there in the folder, but not visually present.

i then moved the SuperPutty-1.4.0.4 folder to a simpler one (out of "program 
files") because i suspected that could be the cause. in the new place it worked 
fine. then i moved it back, still worked.

so maybe it had to do with running it the first time.

Original comment by fabian.k...@optimaize.com on 28 Nov 2013 at 7:41

@GoogleCodeExporter
Copy link
Author

i just reproduced it.
fresh windows 7.
intalled putty, then superputty extracted to temp, moved folder to c:\program 
files (x86)
then run it, config screen came, ok, program opens, folder icon missing
restarted superputty, folder icon is there.

Original comment by fabian.k...@optimaize.com on 30 Nov 2013 at 8:24

@jimradford jimradford self-assigned this May 10, 2015
@jimradford jimradford changed the title NullReferenceException NullReferenceException on first install Sep 24, 2015
@jimradford jimradford added this to the v1.4.0.7 milestone Sep 25, 2015
@jimradford
Copy link
Owner

So as it turns out the problem is with the ImageList being excluded from loading on first run, This was a problem in circumstances where there were existing sessions to load. The default imagelist was being clobbered on first run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants