Jump-Location icon indicating copy to clipboard operation
Jump-Location copied to clipboard

TypeInitializationException

Open ghost opened this issue 9 years ago • 10 comments

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

ghost avatar Jul 23 '15 17:07 ghost

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

rmegal avatar Aug 21 '15 20:08 rmegal

Same here.

I had to install manually, however.

Jump.Location 0.6.0 PS Version 5.0.10105.0

kujotx avatar Aug 25 '15 12:08 kujotx

me to :(

fabsenet avatar Sep 15 '15 16:09 fabsenet

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.

nahojd avatar Sep 29 '15 08:09 nahojd

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.

MihaMarkic avatar Oct 29 '15 16:10 MihaMarkic

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

Win10 x64, PSVersion 5.0.10240.16384, JL 0.6.0

vorou avatar Nov 04 '15 06:11 vorou

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

MihaMarkic avatar Nov 04 '15 09:11 MihaMarkic

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.

dprice avatar Nov 09 '15 14:11 dprice

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.

randarp avatar Aug 03 '16 17:08 randarp

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.

ghost avatar Jan 24 '18 15:01 ghost