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

TypeInitializationException #60

Open
ghost opened this issue Jul 23, 2015 · 10 comments
Open

TypeInitializationException #60

ghost opened this issue Jul 23, 2015 · 10 comments

Comments

@ghost
Copy link

ghost commented Jul 23, 2015

PSVersion : 4.0
Jump.Location : 0.6.0

Set-JumpLocation : The type initializer for 'Jump.Location.SetJumpLocationCommand' threw an exception.

I installed via:
install-module Jump.Location

What have I done wrong?
Thanks --

@rmegal
Copy link

rmegal commented Aug 21, 2015

I just started getting the same error:

  • PS Version: 5.0.10240.16384
  • Jump.Location (Binary) 0.6.0.0
  • Jump.Location (Script) 0.6.0

@kujotx
Copy link

kujotx commented Aug 25, 2015

Same here.

I had to install manually, however.

Jump.Location 0.6.0
PS Version 5.0.10105.0

@fabsenet
Copy link

me to :(

@nahojd
Copy link

nahojd commented Sep 29, 2015

I had this problem too, but when I deleted my old jumpstat-file (~\jump-location.txt) it started working again. Of course, I lost my history, but now it works again.

@MihaMarkic
Copy link

My computer went BSOD (actually not, it just shut down). When I restarted it, I've got the same problem. Before deleting .txt file I saw it was filled with nulls, thus I'd say the file was corrupt for good due to the BSOD.
Deleted it as @nahojd suggested and started working again.

@vorou
Copy link

vorou commented Nov 4, 2015

Had the problem too. Removing the jumpstat-file helped.

Win10 x64, PSVersion 5.0.10240.16384, JL 0.6.0

@MihaMarkic
Copy link

FYI It happens consistently. I computer does turn-off the stats becomes corrupted.

@dprice
Copy link

dprice commented Nov 9, 2015

My computer crashed and when I restarted, I got this error. It's definitely due to the jump-location.txt file getting corrupted. Delete it like @nahojd and others have suggested and it will work again.

@randarp
Copy link

randarp commented Aug 3, 2016

Same issue. I deleted both jump-location.txt.tmp and jump-location.txt (which was full of nulls) and it started working again. I've had a few computer crashes. Sounds common enough that maybe jump-location should delete the file if it detects corruption. After all, the history is already lost.

@ghost
Copy link
Author

ghost commented Jan 24, 2018

I just installed Jump-Location-0.6.0 manually (Win10, PS 5) and am getting the type initializer error.
There is no jump-location.txt file yet.

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

No branches or pull requests

8 participants