Java Exception error [SOLVED]

This is for troubleshooting of problems with the FAF client and Forged Alliance game.

Moderator: PhilipJFry

Java Exception error

Postby Wiseman » 19 May 2019, 19:23

Hello guys,

First sorry for my english but i have no other place to go...
I've read so many topics about that error and still cannot fix it.
I have to say that i've got this error only with newest version of FAF client, for example version 0.9.3 works well but i when download newest 0.10.5 beta this error apears...

error.log
(641 Bytes) Downloaded 49 times


Copied this from "error" file created by client in FAF folder.

Can anybody help me ?
Wiseman
 
Posts: 6
Joined: 19 May 2019, 19:14
Has liked: 4 times
Been liked: 0 time
FAF User Name: Wiseman

Re: Java Exception error

Postby PhilipJFry » 19 May 2019, 19:40

try deleting your client prefs file -> located in
Code: Select all
%appdata%\Forged Alliance Forever\
cats>dogs
post logs
User avatar
PhilipJFry
Supreme Commander
 
Posts: 2635
Joined: 23 Mar 2016, 21:16
Location: Austria
Has liked: 232 times
Been liked: 348 times
FAF User Name: PhilipJFry

Re: Java Exception error

Postby Wiseman » 19 May 2019, 19:55

%appdata%\Forged Alliance Forever\

Folder is empty...

Btw someone can be so kind and check for me to witch Steam Account im linked ? If its possible cuz this worry me...

[img]
Bez tytułu.jpg
[/img]
Attachments
Bez tytułu.jpg
Bez tytułu.jpg (258.3 KiB) Viewed 1636 times
Wiseman
 
Posts: 6
Joined: 19 May 2019, 19:14
Has liked: 4 times
Been liked: 0 time
FAF User Name: Wiseman

Re: Java Exception error

Postby PhilipJFry » 19 May 2019, 21:19

your faf acc is linked to your own steam acc
the wording is just not great in that error

screenshot of the "empty" folder where the client prefs should be pls
cats>dogs
post logs
User avatar
PhilipJFry
Supreme Commander
 
Posts: 2635
Joined: 23 Mar 2016, 21:16
Location: Austria
Has liked: 232 times
Been liked: 348 times
FAF User Name: PhilipJFry

Re: Java Exception error

Postby Wiseman » 20 May 2019, 16:28

[img]
Bez tytułu2.jpg
[/img]

File won't get create cuz Client didn't even starting to launch cuz of that error.

When im starting oldest client ver 0.9.3 file in that folder are created but for this ver of client not the newest one.

really sorry for my english :D
Attachments
Bez tytułu2.jpg
Bez tytułu2.jpg (120.53 KiB) Viewed 1601 times
Wiseman
 
Posts: 6
Joined: 19 May 2019, 19:14
Has liked: 4 times
Been liked: 0 time
FAF User Name: Wiseman

Re: Java Exception error

Postby Wesmania » 20 May 2019, 19:25

It seems the issue is not with the config file - looking at client source code, it tries to check if current user is an admin by running 'cmd.exe' with a bunch of commands. It doesn't handle a situation where there's no output from cmd.exe (for whatever reason - maybe it's missing???)

@Wiseman - masz na swoim Windowsie cmd.exe? Powinno się dać sprawdzić po wejściu w menu "Uruchom" -> cmd.exe, nie mam pojęcia, gdzie to jest na nowszych windach.
Wesmania
Contributor
 
Posts: 391
Joined: 19 Nov 2014, 19:17
Has liked: 2 times
Been liked: 79 times
FAF User Name: MazorNoob

Re: Java Exception error

Postby Wiseman » 20 May 2019, 19:44

Wesmania wrote:It seems the issue is not with the config file - looking at client source code, it tries to check if current user is an admin by running 'cmd.exe' with a bunch of commands. It doesn't handle a situation where there's no output from cmd.exe (for whatever reason - maybe it's missing???)

@Wiseman - masz na swoim Windowsie cmd.exe? Powinno się dać sprawdzić po wejściu w menu "Uruchom" -> cmd.exe, nie mam pojęcia, gdzie to jest na nowszych windach.


WItaj,

WIesz co wchodze w uruchom poprzed klawiature "klawisz windows + R" wpisuje polecenie cmd.exe wyskakuje okienko na 0.5sec po czym samo sie zamyka i ani po nim śladu.

Jakieś pomysły jaki może mieć to wpływ ?
Wiseman
 
Posts: 6
Joined: 19 May 2019, 19:14
Has liked: 4 times
Been liked: 0 time
FAF User Name: Wiseman

Re: Java Exception error

Postby Wesmania » 20 May 2019, 20:53

Na oko klient próbuje odpalić parę poleceń poprzez cmd.exe żeby określić, czy przypadkiem klient nie został odpalony jako admin. Odpalane są takie 3 linijki:

Code: Select all
@echo off
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
echo %errorlevel%


Zupełnie niewinne IMO. Z jakiegoś powodu u ciebie cmd.exe jest jakoś zepsuty, a klient nie przewidział takiej sytuacji i się w rezultacie crashuje. Dodałem issue na githubie klienta:

https://github.com/FAForever/downlords- ... ssues/1255

Może pomóc. Przy odrobinie szczęścia uda mi się załatwić instaler z szybką łatką :)
Wesmania
Contributor
 
Posts: 391
Joined: 19 Nov 2014, 19:17
Has liked: 2 times
Been liked: 79 times
FAF User Name: MazorNoob

Re: Java Exception error

Postby Wesmania » 20 May 2019, 21:33

https://github.com/FAForever/downlords- ... -admin.exe

Powinien zadziałać. Miłej zabawy :)
Wesmania
Contributor
 
Posts: 391
Joined: 19 Nov 2014, 19:17
Has liked: 2 times
Been liked: 79 times
FAF User Name: MazorNoob

Re: Java Exception error

Postby Wiseman » 21 May 2019, 19:39

Dziękuje za zainteresowanie, lecz link który podałeś nie działa błąd 404 page not found.

I jeśli da radę to może jakieś instrukcje jak to sciągne co z tym zrobić bo to już chyba zbyt ciężki temat dla mnie.

Wydaje mi się ze znalazłem na GitHub ten plik o który wnosiłeś do admina sciągnąłem go lecz to tak na prawde setki plików i nie wiem co z nimi zrobić(jeśli to to co trzeba)
Wiseman
 
Posts: 6
Joined: 19 May 2019, 19:14
Has liked: 4 times
Been liked: 0 time
FAF User Name: Wiseman

Next

Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest