[Tool] Dependencies fixing and resolving tool

The error that I am getting is not due to java being old, I am running 1.8
java version "1.8.0_291"
Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
Java HotSpot(TM) Client VM (build 25.291-b10, mixed mode, sharing)

Exception in thread "main" java.lang.NoSuchMethodError: java.io.FileWriter.<init>(Ljava/io/File;Ljava/nio/charset/Charset;)V
at pl.qus.wolin.MainKt.saveJson(Main.kt:133)
at pl.qus.wolin.JsonDbFile.save(JsonDbFile.kt:17)
at pl.qus.wolin.Main.main(Main.kt:960)

It looks like you are trying to pass a charset into the constructor for FileWriter, and there is no constructor that takes that (https://docs.oracle.com/javase/8/docs/api/java/io/FileWriter.html)

This might be caused by my computer having a non-US language set?

is your source available on github or something?
 
to future easter egg hunters who found this thread seeking missing morphs where this thread is picked up by keyword search.

Chances are some clues will be discovered if you search for "Do_Not_Distribute.Import_Reloaded_Full_Addon" as well as clues to other paid Daz3D store morph packs converted to VAM.
 
I have the latest JRE from oracle and am gettint the same error. it also tells me it's the first time i'm running the script, but it isn't.

It seems it's a first time you're running this script, so you have to select root of your VAM directory (the one that contains vam.exe).
You may choose a directory that contains unused assets, saves and packages as a repository that will be used to get missing files. Cancel the dialog if you don't have a repo.
Exception in thread "main" java.lang.NoSuchMethodError: java.io.FileWriter.<init>(Ljava/io/File;Ljava/nio/charset/Charset;)V
at pl.qus.wolin.MainKt.saveJson(Main.kt:133)
at pl.qus.wolin.JsonDbFile.save(JsonDbFile.kt:17)
at pl.qus.wolin.Main.main(Main.kt:960)


java version "1.8.0_291"
Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.291-b10, mixed mode)
 
used to clean up a substantial mess today. worked perfectly. kudos amaimon!
 
I had the same errors after some google search, i found 2 main issues:
1. You need to start cmd with Ansicode : Press win+r and write this : C:\Windows\System32\cmd.exe /K chcp 65001
2. You need to set maximum memory to 1024 mb with xmx parameter : java -Xmx1024m -jar vamifier2.jar -a --write
Then it will work.
 
Does anyone have an idea what could cause this error?

Exception in thread "main" java.lang.Exception: Don't know
at pl.qus.wolin.MainKt.correctDestPath(Main.kt:254)
at pl.qus.wolin.MainKt.copyOrExtractToMain(Main.kt:228)
at pl.qus.wolin.MainKt.findAndPlaceBestFile(Main.kt:215)
at pl.qus.wolin.MainKt.findAndPlaceBestFile$default(Main.kt:184)
at pl.qus.wolin.MainKt.fixSavesWorker(Main.kt:689)
at pl.qus.wolin.MainKt$fixLooseRefs$1.invoke(Main.kt:483)
at pl.qus.wolin.MainKt$fixLooseRefs$1.invoke(Main.kt)
at pl.qus.wolin.VamContainer.forEachJson(VamContainer.kt:116)
at pl.qus.wolin.VamContainer.forEachJson(VamContainer.kt:112)
at pl.qus.wolin.VamContainer.forEachJson(VamContainer.kt:112)
at pl.qus.wolin.VamContainer.forEachJson(VamContainer.kt:112)
at pl.qus.wolin.VamContainer.forEachJson$default(VamContainer.kt:76)
at pl.qus.wolin.MainKt.fixLooseRefs(Main.kt:482)
at pl.qus.wolin.Main.main(Main.kt:1028)
 
Back
Top Bottom