Cannot Export Mod

Status
Works as designed
Type
Product/platform
Not applicable
Priority
Normal
Issue description

It's a simple issues, but an annoying one. I cannot export my mod. Can you help me. It's said: *Your mod contains errors and could not be exported. No mod files was generated*

automaticly after the export menu where it said building workspace etc... appears.

Issue comments

Executing gradle command: clean build
Microsoft Windows [version 10.0.16299.431]
(c) Microsoft Corporation, 2017. Tous droits r‚serv‚s.
C:\Pylo\MCreator179>cd forge
C:\Pylo\MCreator179\forge>SET "JAVA_HOME=C:\Pylo\MCreator179\jdk\"
C:\Pylo\MCreator179\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator179\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator179\forge>SET "GRADLE_USER_HOME=C:\Users\Admin.ADMIN\.mcreator\gradle"
C:\Pylo\MCreator179\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms1000m -Xmx3000m" clean build 
'gradlew' n'est pas reconnu en tant que commande interne
ou externe, un programme ex‚cutable ou un fichier de commandes.
C:\Pylo\MCreator179\forge>
Task completed with return code 0 in 694 milliseconds

 

Translate to: " 'Gradlew' is not recognized as an internal control
or external ex,cutable a program or batch file." I needed to translate it because my pc is a french pc

You have an incomplete setup of MCreator. Try to install it again as it seems that something prevented MCreator from installing all the required components for it to work.

I have this problem too. I tried deleting and reinstalling MCreator, but it didn't work. Here's the error log:

   
Executing gradle command: clean build
Downloading https://services.gradle.org/distributions/gradle-2.14-bin.zip
Exception in thread "main" javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
   at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)
   at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1747)
   at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1708)
   at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1691)
   at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1222)
   at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1199)
   at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:476)
   at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractD…
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.ja…
   at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnec…
   at org.gradle.wrapper.Download.downloadInternal(Download.java:58)
   at org.gradle.wrapper.Download.download(Download.java:44)
   at org.gradle.wrapper.Install$1.call(Install.java:59)
   at org.gradle.wrapper.Install$1.call(Install.java:46)
   at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
   at org.gradle.wrapper.Install.createDist(Install.java:46)
   at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:126)
   at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
   at sun.security.validator.PKIXValidator.(PKIXValidator.java:57)
   at sun.security.validator.Validator.getInstance(Validator.java:161)
   at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:108)
   at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:204)
   at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)
   at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1188)
   at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:135)
   at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)
   at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:529)
   at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:943)
   at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188)
   at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1215)
   ... 13 more
Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
   at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:183)
   at java.security.cert.PKIXParameters.(PKIXParameters.java:103)
   at java.security.cert.PKIXBuilderParameters.(PKIXBuilderParameters.java:87)
   at sun.security.validator.PKIXValidator.(PKIXValidator.java:55)
   ... 24 more
Task completed with return code 1 in 2998 milliseconds

 

The stuff in bold seems to be the main problem. I have no idea what the trustAnchors parameter is or how to change it to 'non-empty', but any help would be appreciated. Thanks in advance!

What version are you using? The same bug as you happened in MCreator 7.7.8, but this bug page was when i tried to export my mod in MCreator 1.7.9. Also, do you have a lot of things in your workspace? If not, go to Local Drive (C:), Click Pylo and delete Mcreator 1.7.9 Folder



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.