问题
java.lang.NullPointerException
at gitflow.GitflowImpl.run(GitflowImpl.java:62)
at gitflow.GitflowImpl.startRelease(GitflowImpl.java:252)
at gitflow.actions.StartReleaseAction 1. r u n ( S t a r t R e l e a s e A c t i o n . j a v a : 35 ) a t c o m . i n t e l l i j . o p e n a p i . p r o g r e s s . i m p l . C o r e P r o g r e s s M a n a g e r 1.run(StartReleaseAction.java:35) at com.intellij.openapi.progress.impl.CoreProgressManager 1.run(StartReleaseAction.java:35)atcom.intellij.openapi.progress.impl.CoreProgressManagerTaskRunnable.run(CoreProgressManager.java:750)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:157)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:580)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:525)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:85)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:144)
at com.intellij.openapi.progress.impl.CoreProgressManager$4.run(CoreProgressManager.java:395)
at com.intellij.openapi.application.impl.ApplicationImpl 1. r u n ( A p p l i c a t i o n I m p l . j a v a : 305 ) a t j a v a . u t i l . c o n c u r r e n t . E x e c u t o r s 1.run(ApplicationImpl.java:305) at java.util.concurrent.Executors 1.run(ApplicationImpl.java:305)atjava.util.concurrent.ExecutorsRunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
直接在IDEA的【设置】-【插件】里面搜Git Flow Integration安装重启之后会报这个错误
这个问题八成是Git Flow Integration版本跟IDEA版本不对应造成的
所以我们应该自行去下载适合我们IDEA版本的Git Flow Integration插件
步骤
-
首先查看IDEA版本号
-
下载IDEA对应的压缩包,我这里选择的是0.6.7
-
在IDEA导入我们下载好的压缩包
选择我们下载好的压缩包即可,点击OK会提示重启,重启完成之后,在右下角就会出现git flow图标了,初始化之后就是下面的样子