tkellogg / Jump-Location

Powershell `cd` that reads your mind
MIT License
467 stars 26 forks source link

TypeInitializationException #60

Open ghost opened 9 years ago

ghost commented 9 years ago

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 commented 9 years ago

I just started getting the same error:

kujotx commented 9 years ago

Same here.

I had to install manually, however.

Jump.Location 0.6.0 PS Version 5.0.10105.0

fabsenet commented 9 years ago

me to :(

nahojd commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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

Win10 x64, PSVersion 5.0.10240.16384, JL 0.6.0

MihaMarkic commented 8 years ago

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

dprice commented 8 years ago

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 commented 8 years ago

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 commented 6 years ago

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.