gitflow4idea: NullPointerException on GitFlow actions with build 181

Hi,

Thanks for this great plugin.

When I do Start new release, then enter “v1.2.3”, it fails with:

null
java.lang.NullPointerException
	at gitflow.GitflowImpl.run(GitflowImpl.java:62)
	at gitflow.GitflowImpl.startRelease(GitflowImpl.java:252)
	at gitflow.actions.StartReleaseAction$1.run(StartReleaseAction.java:35)
	at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.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.run(ApplicationImpl.java:305)
	at java.util.concurrent.Executors$RunnableAdapter.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)

I will try to find out what’s wrong.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 31 (9 by maintainers)

Commits related to this issue

Most upvoted comments

@kylekatarnls @darkman1983 @nisace @blint587 @pdesterlich Can you please try to install this version locally and see if it still works or if you get errors:

gitflow4idea_0.6.4.1.jar.zip

gitflow4idea_0.6.4.1 work fine too me. I’m not expert , but can you write on your doc how to create a jar file from your gir rep?

phpstorm2018

Note, the try-catches here should still be done in a safer way here IMHO: https://github.com/OpherV/gitflow4idea/commit/71afe4bfe53308f9bf70570a9792b8b66258deb3#diff-56e17d6339468e9112f293730936bca5R30

Instead of catching NoSuchMethodException, IllegalAccessException and InvocationTargetException and still have m.setAccessible(true) outisde of the IllegalAccessException try-catch, you better should test GitCommand.class and m before calling methods on them. Don’t think so?

0.6.5 released

for me it still doesn’t work, i can’t “Init Repo” now it hangs on:

09:59:21.497: [alpo] git -c core.quotepath=false -c log.showSignature=false flow init
Which branch should be used for bringing forth production releases?
   - dev
   - master

Nothing happens, it stays at this stage forever.

I got the same exception on “Init Repo”. I’m on 0.6.4 & just updated to Intellij Idea 2018.1.

@OpherV Thanks for the help on the other issue 😃