Custom GUI compiling problem with Input slots

Published by Geegaz on Sun, 05/06/2018 - 15:28
Status
Fixed
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

Hello, I have an issue with GUIs : adding input slots either from a custom inventory than from one inherited from a block always gets me the same error.

Here is the gradle.log :

C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_testGUI.java:100: error: cannot find symbol
                        mcreator_null.executeProcedure(dependencies);
                        ^
  symbol: variable mcreator_null
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_testGUI.java:122: error: cannot find symbol
                        mcreator_null.executeProcedure(dependencies);
                        ^
  symbol: variable mcreator_null
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_testGUI.java:144: error: cannot find symbol
                        mcreator_null.executeProcedure(dependencies);
                        ^
  symbol: variable mcreator_null
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_testGUI.java:166: error: cannot find symbol
                        mcreator_null.executeProcedure(dependencies);
                        ^
  symbol: variable mcreator_null
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_testGUI.java:188: error: cannot find symbol
                        mcreator_null.executeProcedure(dependencies);
                        ^
  symbol: variable mcreator_null
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_testGUI.java:210: error: cannot find symbol
                        mcreator_null.executeProcedure(dependencies);
                        ^
  symbol: variable mcreator_null
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_testGUI.java:232: error: cannot find symbol
                        mcreator_null.executeProcedure(dependencies);
                        ^
  symbol: variable mcreator_null
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
7 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

 

I've put the problematic workspace(litteraly) in the attachments and I hope you'll see what's wrong here, thank you in advance !

Attachment Size
The workspace I had trouble with.55.16 KB 55.16 KB

Issue comments

This bug was fixed. From the release article:

UPDATE (6.5 9:10 CEST)

If GUI button or slot was defined without event, it caused recompilation errors. If you are having issues with this, redownload MCreator.

We have fixed this bug and reuploaded MCreator with a fix.

Ok, thank you for the information (and the quick anwser) !

I'll check that fast.

I can't get my gui to work I can send the error log ore the MCreator workshop zip file



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.