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

SimpleFabricProject should not print a NullPointerException to the log when the project fails to compile #19

Open
coderbot16 opened this issue Jun 8, 2022 · 0 comments

Comments

@coderbot16
Copy link
Contributor

19:26:37.294 ERROR: Task Failed
19:26:37.294 ERROR: java.lang.NullPointerException: Cannot invoke "io.github.coolcrabs.brachyura.compiler.java.JavaCompilationResult.getInputs(io.github.coolcrabs.brachyura.processing.ProcessingSink)" because "<local3>" is null
	at io.github.coolcrabs.brachyura.FabricModule.createFabricCompilationResult(FabricModule.java:91)
	at io.github.coolcrabs.brachyura.util.Lazy.maybeCompute(Lazy.java:25)
	at io.github.coolcrabs.brachyura.util.Lazy.get(Lazy.java:20)
	at io.github.coolcrabs.brachyura.fabric.FabricContext.getRemappedClasses(FabricContext.java:149)
	at io.github.coolcrabs.brachyura.fabric.SimpleFabricProject.build(SimpleFabricProject.java:234)
	at io.github.coolcrabs.brachyura.project.Task$NoArgTask.doTask(Task.java:53)
	at io.github.coolcrabs.brachyura.project.BrachyuraEntry.main(BrachyuraEntry.java:45)
	at io.github.coolcrabs.brachyura.bootstrap.Main.main(Main.java:74)
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

1 participant