Can't start game: "A JavaScript error occured in the main process"

  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

leefnmajors

Second Lieutenant
46 Badges
Feb 21, 2018
154
301
  • Europa Universalis IV: Art of War
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Apocalypse
  • Europa Universalis 4: Emperor
  • Crusader Kings III
  • Imperator: Rome
  • Europa Universalis IV: Golden Century
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Dharma
  • Europa Universalis IV
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Call to arms event
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Stellaris: Galaxy Edition
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Cadet
  • Crusader Kings II
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
Hello. Started EU4 today, and everything ran fine until about an hour ago when I started working on a new mod. I was exiting the game and hopping back in to test things as is usual, so it didn't surprised me at first that I had a crash in the startup process. I assumed it was something I did; wouldn't be the first time.

So I start the troubleshooting process. Verify files (I run through the Steam client), didn't find any problems. Still get the the same error. Try a reinstall. Didn't work. Same error. So I try Google. That leads me to this thread: https://forum.paradoxplaza.com/foru...pt-error-occured-in-the-main-process.1426192/

I followed the steps listed in this thread because I was getting a similar message (the user in that post had a launcher on version 2.2020.5, mine is saying 2.2020.17 in the error) so I figured it was worth a shot. And it worked; sort of. I finally saw the launcher return after a fresh reinstall of the launcher, but then the launcher wanted to update to new versions. After updating my launcher and restarting, the error returned. I have an attached screenshot with the message it's sending.

I'm running on a Windows 7 PC if that helps at all. I can provide any other logs, specs, or information you might need on request.

This user also appears to be experiencing the same issue: https://forum.paradoxplaza.com/forum/threads/the-game-suddenly-stopped-working.1453006/

EDIT: I should also note, something appears to be starting up, as after I start the game Steam seems to think the game is running fine and Task Manager shows three processes which I would assume belong to the launcher as well.
 

Attachments

  • launchererror.PNG
    launchererror.PNG
    87,8 KB · Views: 0
  • tasks.PNG
    tasks.PNG
    3,9 KB · Views: 0
Last edited:

AndrewT

The Full Monty Python
Moderator
116 Badges
Jun 29, 2001
85.264
3.594
  • Leviathan: Warships
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • Gettysburg
  • Hearts of Iron III
  • Heir to the Throne
  • Impire
  • Europa Universalis III Complete
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Lead and Gold
  • Legio
  • Europa Universalis IV: Conquest of Paradise
  • The Kings Crusade
  • Lost Empire - Immortals
  • Magicka
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Naval War: Arctic Circle
  • Pirates of Black Cove
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Rome Gold
  • Stellaris: Necroids
  • Crusader Kings II: Sunset Invasion
  • Ancient Space
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • A Game of Dwarves
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Dungeonland
  • East India Company Collection
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
We now have reports of this on AVG, Avast and possibly Kaspersky.

You need to make sure all these apps are in its exceptions lists:

dowser.exe (in the Steam EU4 folder)
C:/users/<UserName>/AppData/Local/Programs/Paradox Interactive/launcher-v2.2020.17/paradox launcher.exe
C:/users/<UserName>/AppData/Local/Programs/Paradox Interactive/bootstrapper-v2.exe

Good luck!
 
  • 1
Reactions:

leefnmajors

Second Lieutenant
46 Badges
Feb 21, 2018
154
301
  • Europa Universalis IV: Art of War
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Apocalypse
  • Europa Universalis 4: Emperor
  • Crusader Kings III
  • Imperator: Rome
  • Europa Universalis IV: Golden Century
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Dharma
  • Europa Universalis IV
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Call to arms event
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Stellaris: Galaxy Edition
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Cadet
  • Crusader Kings II
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
We now have reports of this on AVG, Avast and possibly Kaspersky.

You need to make sure all these apps are in its exceptions lists:

dowser.exe (in the Steam EU4 folder)
C:/users/<UserName>/AppData/Local/Programs/Paradox Interactive/launcher-v2.2020.17/paradox launcher.exe
C:/users/<UserName>/AppData/Local/Programs/Paradox Interactive/bootstrapper-v2.exe

Good luck!

I'm not running any of those three programs, so that's not it.

EDIT: I also can confirm that accessing the eu4.exe in the game's main folder works fine; it starts up and I can play the game as before. The problem seems to be just the launcher.
 
Last edited:

AndrewT

The Full Monty Python
Moderator
116 Badges
Jun 29, 2001
85.264
3.594
  • Leviathan: Warships
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • Gettysburg
  • Hearts of Iron III
  • Heir to the Throne
  • Impire
  • Europa Universalis III Complete
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Lead and Gold
  • Legio
  • Europa Universalis IV: Conquest of Paradise
  • The Kings Crusade
  • Lost Empire - Immortals
  • Magicka
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Naval War: Arctic Circle
  • Pirates of Black Cove
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Rome Gold
  • Stellaris: Necroids
  • Crusader Kings II: Sunset Invasion
  • Ancient Space
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • A Game of Dwarves
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Dungeonland
  • East India Company Collection
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
Do those three files physically exist in those places? because one or more of them being deleted or quarantined by an AV app is the only known cause of that Java error.
 
  • 1
Reactions:

AndrewT

The Full Monty Python
Moderator
116 Badges
Jun 29, 2001
85.264
3.594
  • Leviathan: Warships
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • Gettysburg
  • Hearts of Iron III
  • Heir to the Throne
  • Impire
  • Europa Universalis III Complete
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Lead and Gold
  • Legio
  • Europa Universalis IV: Conquest of Paradise
  • The Kings Crusade
  • Lost Empire - Immortals
  • Magicka
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Naval War: Arctic Circle
  • Pirates of Black Cove
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Rome Gold
  • Stellaris: Necroids
  • Crusader Kings II: Sunset Invasion
  • Ancient Space
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • A Game of Dwarves
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Dungeonland
  • East India Company Collection
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
Try deleting C:/users/<UserName>/AppData/Local/Programs/Paradox Interactive/ and run the game from the Steam PLAY button again. The launcher will reinstall and update, if you then exit it and restart it you should be fine from then on.
 
  • 1
Reactions:

leefnmajors

Second Lieutenant
46 Badges
Feb 21, 2018
154
301
  • Europa Universalis IV: Art of War
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Apocalypse
  • Europa Universalis 4: Emperor
  • Crusader Kings III
  • Imperator: Rome
  • Europa Universalis IV: Golden Century
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Dharma
  • Europa Universalis IV
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Call to arms event
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Stellaris: Galaxy Edition
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Cadet
  • Crusader Kings II
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
Nope. Just deleting the one folder leads to the same situation as described above. The launcher works fine while on version 2020.5. As soon as I try updating to 2020.11, the launcher can't find my mods folder any more (but the game still starts fine, with mods and all). Once I update to 2020.17 and try restarting, the error starts although the actual eu4.exe is still fine.
 

Pterinochilus

Corporal
3 Badges
Jun 9, 2020
29
20
  • Crusader Kings II: The Old Gods
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Mandate of Heaven
Yes I have pretty much exactly the same issue. Always after trying to update the launcher.