Cannot sync to github, stays on load for hours

Published by DerexXD on Sat, 05/02/2020 - 17:20
Status
Can not reproduce
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

I'm trying to sync my project to github, it has a lot of stuff already in it

However, after clicking sync and entering commit message the thing just stays loading and shows the commit in remote workspace but the repository is still empty after hours. Nothing is shown in the console either. 

Issue comments

Something probably crashes in the background. Please attach the contents of mcreator.log (found in user dir/.mcreator/logs) when this happens.

Do you use SSH or HTTPS repository URL? Try to use the other one you used at the moment to see if this helps.

Using HTTPS. Unlinking and using SSH tells me it's invalid. 

2020-05-04-09:48:49 [AWT-EventQueue-0/ERROR] [Exception] Uncaught exception in AWT-EventQueue-0
java.lang.UnsatisfiedLinkError: sun.net.www.protocol.http.ntlm.NTLMAuthentication.isTrustedSiteAvailable()Z
	at sun.net.www.protocol.http.ntlm.NTLMAuthentication.isTrustedSiteAvailable(Native Method) ~[?:1.8.0_232]
	at sun.net.www.protocol.http.ntlm.NTLMAuthentication.<clinit>(NTLMAuthentication.java:197) ~[?:1.8.0_232]
	at java.lang.Class.forName0(Native Method) ~[?:1.8.0_232]
	at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_232]
	at sun.net.www.protocol.http.NTLMAuthenticationProxy.tryLoadNTLMAuthentication(NTLMAuthenticationProxy.java:120) ~[?:1.8.0_232]
	at sun.net.www.protocol.http.NTLMAuthenticationProxy.<clinit>(NTLMAuthenticationProxy.java:44) ~[?:1.8.0_232]
	at sun.net.www.protocol.http.AuthenticationHeader.parse(AuthenticationHeader.java:229) ~[?:1.8.0_232]
	at sun.net.www.protocol.http.AuthenticationHeader.<init>(AuthenticationHeader.java:143) ~[?:1.8.0_232]
	at sun.net.www.protocol.http.AuthenticationHeader.<init>(AuthenticationHeader.java:123) ~[?:1.8.0_232]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1720) ~[?:1.8.0_232]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498) ~[?:1.8.0_232]
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:1.8.0_232]
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:352) ~[?:1.8.0_232]
	at org.eclipse.jgit.transport.http.JDKHttpConnection.getResponseCode(JDKHttpConnection.java:115) ~[org.eclipse.jgit-5.4.0.201906121030-r.jar:5.4.0.201906121030-r]
	at org.eclipse.jgit.util.HttpSupport.response(HttpSupport.java:228) ~[org.eclipse.jgit-5.4.0.201906121030-r.jar:5.4.0.201906121030-r]
	at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:539) ~[org.eclipse.jgit-5.4.0.201906121030-r.jar:5.4.0.201906121030-r]
	at org.eclipse.jgit.transport.TransportHttp.openPush(TransportHttp.java:466) ~[org.eclipse.jgit-5.4.0.201906121030-r.jar:5.4.0.201906121030-r]
	at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:160) ~[org.eclipse.jgit-5.4.0.201906121030-r.jar:5.4.0.201906121030-r]
	at org.eclipse.jgit.transport.Transport.push(Transport.java:1367) ~[org.eclipse.jgit-5.4.0.201906121030-r.jar:5.4.0.201906121030-r]
	at org.eclipse.jgit.api.PushCommand.call(PushCommand.java:170) ~[org.eclipse.jgit-5.4.0.201906121030-r.jar:5.4.0.201906121030-r]
	at net.mcreator.ui.a.a.b.d.a(SourceFile:175) ~[mcreator.jar:?]
	at net.mcreator.ui.a.f.actionPerformed(SourceFile:51) ~[mcreator.jar:?]
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) ~[?:1.8.0_232]
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) ~[?:1.8.0_232]
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) ~[?:1.8.0_232]
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) ~[?:1.8.0_232]
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) ~[?:1.8.0_232]
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) ~[?:1.8.0_232]
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) ~[?:1.8.0_232]
	at java.awt.Component.processMouseEvent(Component.java:6539) ~[?:1.8.0_232]
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) ~[?:1.8.0_232]
	at java.awt.Component.processEvent(Component.java:6304) ~[?:1.8.0_232]
	at java.awt.Container.processEvent(Container.java:2239) ~[?:1.8.0_232]
	at java.awt.Component.dispatchEventImpl(Component.java:4889) ~[?:1.8.0_232]
	at java.awt.Container.dispatchEventImpl(Container.java:2297) ~[?:1.8.0_232]
	at java.awt.Component.dispatchEvent(Component.java:4711) ~[?:1.8.0_232]
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904) ~[?:1.8.0_232]
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535) ~[?:1.8.0_232]
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476) ~[?:1.8.0_232]
	at java.awt.Container.dispatchEventImpl(Container.java:2283) ~[?:1.8.0_232]
	at java.awt.Window.dispatchEventImpl(Window.java:2746) ~[?:1.8.0_232]
	at java.awt.Component.dispatchEvent(Component.java:4711) ~[?:1.8.0_232]
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760) ~[?:1.8.0_232]
	at java.awt.EventQueue.access$500(EventQueue.java:97) ~[?:1.8.0_232]
	at java.awt.EventQueue$3.run(EventQueue.java:709) ~[?:1.8.0_232]
	at java.awt.EventQueue$3.run(EventQueue.java:703) ~[?:1.8.0_232]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_232]
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) ~[?:1.8.0_232]
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84) ~[?:1.8.0_232]
	at java.awt.EventQueue$4.run(EventQueue.java:733) ~[?:1.8.0_232]
	at java.awt.EventQueue$4.run(EventQueue.java:731) ~[?:1.8.0_232]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_232]
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) ~[?:1.8.0_232]
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:730) ~[?:1.8.0_232]
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) [?:1.8.0_232]
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [?:1.8.0_232]
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [?:1.8.0_232]
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:1.8.0_232]
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [?:1.8.0_232]
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [?:1.8.0_232]
2020-05-04-09:52:07 [AWT-EventQueue-0/INFO] [MCreator] Closing MCreator window ...
2020-05-04-09:52:07 [AWT-EventQueue-0/INFO] [Workspace] Closing workspace
2020-05-04-09:52:07 [AWT-EventQueue-0/INFO] [Workspace File Manager/TRUMPCRAFT_114] Saving the workspace by direct request!
2020-05-04-09:52:07 [AWT-EventQueue-0/DEBUG] [Workspace File Manager/TRUMPCRAFT_114] Workspace stored on the FS
2020-05-04-09:52:07 [AWT-EventQueue-0/DEBUG] [Application] Closing any potentially open MCreator windows
2020-05-04-09:52:07 [AWT-EventQueue-0/DEBUG] [Application] Performing exit tasks
2020-05-04-09:52:07 [AWT-EventQueue-0/INFO] [GA] Tracking page: /2020.2/close
2020-05-04-09:52:07 [AWT-EventQueue-0/DEBUG] [Application] Stopping AWT and FX threads
2020-05-04-09:52:08 [AWT-EventQueue-0/DEBUG] [Application] Exiting MCreator

 

Hmm, I am lost. I will update Git library version we use in the next update, it might fix this. It seems like a lib bug.

The last idea I have is to try to reinstall MCreator if something installed incorrectly.

i've done test commits. It appears to just not work on this computer. It's not the mod either, all test mods won't commit either. 



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.