Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to parse latest factorio api #11

Open
knoxfighter opened this issue Dec 9, 2021 · 3 comments
Open

Unable to parse latest factorio api #11

knoxfighter opened this issue Dec 9, 2021 · 3 comments

Comments

@knoxfighter
Copy link
Owner

knoxfighter commented Dec 9, 2021

Since factorio 1.1.49 the new api format is finished and used. The current parser is not able to parse that new format.

As a workaround you can just select version 1.1.38 or lower. Those are still able to parse and i work on a fix.

@knoxfighter knoxfighter pinned this issue Dec 9, 2021
@oorzkws
Copy link

oorzkws commented Dec 12, 2021

I'm assuming that's what's resulting in the following? Otherwise I'll open a separate issue

java.lang.NullPointerException
	at moe.knox.factorio.parser.FactorioApiParser.downloadAndParseAPI(FactorioApiParser.java:693)
	at moe.knox.factorio.parser.FactorioApiParser.assureDir(FactorioApiParser.java:652)
	at moe.knox.factorio.parser.FactorioApiParser.run(FactorioApiParser.java:126)
	at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:962)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsync$5(CoreProgressManager.java:472)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:235)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:178)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:165)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:235)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
	at java.base/java.lang.Thread.run(Thread.java:834)

@knoxfighter
Copy link
Owner Author

yes, that is the error for that :)

@MeblIkea
Copy link

And so is there a way to fix it please? (Or can someone update the plugin into Jetbrains ? :/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants