No action on Git push from Intellij Idea

已回答

With latest windows upgrade on my dell laptop, now when i try to commit and push a changes to remote git repository Intellij makes no action. Before upgrade it was working fine. When i see in idea logs i can see exception as below -

2019-03-11 11:27:15,748 [261272611] ERROR - .attributes.GitCheckAttrParser - IntelliJ IDEA 2017.1.2 Build #IU-171.4249.39 
2019-03-11 11:27:15,748 [261272611] ERROR - .attributes.GitCheckAttrParser - JDK: 1.8.0_112-release
2019-03-11 11:27:15,748 [261272611] ERROR - .attributes.GitCheckAttrParser - VM: OpenJDK 64-Bit Server VM
2019-03-11 11:27:15,748 [261272611] ERROR - .attributes.GitCheckAttrParser - Vendor: JetBrains s.r.o
2019-03-11 11:27:15,748 [261272611] ERROR - .attributes.GitCheckAttrParser - OS: Windows 10
2019-03-11 11:27:15,748 [261272611] ERROR - .attributes.GitCheckAttrParser - Last Action: CheckinFiles
2019-03-11 11:27:15,759 [261272622] ERROR - intellij.openapi.progress.Task - Index: 2, Size: 2
java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
at java.util.ArrayList.rangeCheck(ArrayList.java:653)
at java.util.ArrayList.get(ArrayList.java:429)
at git4idea.attributes.GitCheckAttrParser.<init>(GitCheckAttrParser.java:50)
at git4idea.attributes.GitCheckAttrParser.parse(GitCheckAttrParser.java:64)
at git4idea.crlf.GitCrlfProblemsDetector.findFilesWithoutAttrs(GitCrlfProblemsDetector.java:115)
at git4idea.crlf.GitCrlfProblemsDetector.findFilesWithoutAttrs(GitCrlfProblemsDetector.java:94)


Version details -
IntelliJ IDEA 2017.1.2
Build #IU-171.4249.39, built on April 25, 2017
Licensed to *
You have a perpetual fallback license for this version
Subscription expired on January 17, 2019
JRE: 1.8.0_112-release-736-b16 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

 

2
Avatar
Permanently deleted user

I've faced the same problem on:
IntelliJ IDEA 2017.1.6 Build #IU-171.4694.73
JDK: 1.8.0_112-release
VM: OpenJDK 64-Bit Server VM
Vendor: JetBrains s.r.o
OS: Windows 10

The issue isn't reproduced on:
IntelliJ IDEA 2018.3.3 Build #IC-183.5153.38
JDK: 1.8.0_152-release;
VM: OpenJDK 64-Bit Server VM;
Vendor: JetBrains s.r.o
OS: Windows 10

1

Looks like some API change that prevents wrapper to work correctly. See https://youtrack.jetbrains.com/issue/IDEA-209013#focus=streamItem-27-3334923.0-0 for possible sopultions

1
Avatar
Permanently deleted user

Thanks all, after upgrading to 2017.3.4 issue is resolved.

0

请先登录再写评论。