View Single Post
09-06-16, 09:19 AM   #1
mkaito
A Murloc Raider
Join Date: Sep 2016
Posts: 5
Nullpointer exception when scanning for wow on Linux

Hey folks!

Arch Linux
java version "1.8.0_102"
Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)

Log and config are attached.

Here's the relevant part of the log:

Code:
ERROR 2016-09-06 16:15:31,792 [JavaFX Application Thread] gg.minion.controller.MinionController:lambda$null$48(1062): GameDetectionService failed: {} java.lang.NullPointerException
	at gg.minion.plugin.NameFinder.preVisitDirectory(NameFinder.java:82)
	at gg.minion.plugin.NameFinder.preVisitDirectory(NameFinder.java:25)
	at java.nio.file.Files.walkFileTree(Files.java:2677)
	at gg.minion.plugin.WOWPlugin.process(WOWPlugin.java:82)
	at gg.minion.service.GameDetectionService$1.call(GameDetectionService.java:30)
	at gg.minion.service.GameDetectionService$1.call(GameDetectionService.java:26)
	at javafx.concurrent.Task$TaskCallable.call(Task.java:1423)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at javafx.concurrent.Service.lambda$null$492(Service.java:725)
	at java.security.AccessController.doPrivileged(Native Method)
	at javafx.concurrent.Service.lambda$executeTask$493(Service.java:724)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Additionally, scanning the entire harddrive on Linux is extremely innefficient. Especially since Minion seems to think my entire filesystem is a single harddrive. Just let me manually pick the wow folder, please?

EDIT: I could probably just manually edit minion.xml to insert the wow path, but I have no idea what the expected keys would be. Does anyone know?
Attached Files
File Type: log minion.log (4.3 KB, 404 views)
File Type: xml minion.xml (638 Bytes, 437 views)

Last edited by mkaito : 09-06-16 at 09:24 AM.
  Reply With Quote