Git Product home page Git Product logo

Comments (10)

OpherV avatar OpherV commented on August 22, 2024

Can you please paste a stack trace of the exception?

from gitflow4idea.

iddqdidkfa avatar iddqdidkfa commented on August 22, 2024
null
java.lang.NullPointerException
    at java.lang.String.startsWith(String.java:1385)
    at java.lang.String.startsWith(String.java:1414)
    at gitflow.GitflowBranchUtil.isCurrentBranchFeature(GitflowBranchUtil.java:58)
    at gitflow.actions.GitflowActions.getActions(GitflowActions.java:113)
    at gitflow.ui.GitflowWidget.getPopupStep(GitflowWidget.java:106)
    at com.intellij.openapi.wm.impl.status.IdeStatusBarImpl$MultipleTextValuesPresentationWrapper$1.onClick(IdeStatusBarImpl.java:703)
    at com.intellij.ui.ClickListener$1.mouseReleased(ClickListener.java:73)
    at java.awt.Component.processMouseEvent(Component.java:6505)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
    at java.awt.Component.processEvent(Component.java:6270)
    at java.awt.Container.processEvent(Container.java:2229)
    at java.awt.Component.dispatchEventImpl(Component.java:4861)
    at java.awt.Container.dispatchEventImpl(Container.java:2287)
    at java.awt.Component.dispatchEvent(Component.java:4687)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
    at java.awt.Container.dispatchEventImpl(Container.java:2273)
    at java.awt.Window.dispatchEventImpl(Window.java:2719)
    at java.awt.Component.dispatchEvent(Component.java:4687)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:694)
    at java.awt.EventQueue$3.run(EventQueue.java:692)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
    at java.awt.EventQueue$4.run(EventQueue.java:708)
    at java.awt.EventQueue$4.run(EventQueue.java:706)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
    at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:697)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:520)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

from gitflow4idea.

OpherV avatar OpherV commented on August 22, 2024

Hmm I think it's connected to #14. I thought I solved that one...

Can you please paste the contents of .git/config within your project?

from gitflow4idea.

iddqdidkfa avatar iddqdidkfa commented on August 22, 2024

Its new project, not sure it will helps you but here it is:

[core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true

from gitflow4idea.

iddqdidkfa avatar iddqdidkfa commented on August 22, 2024

and after Gitflow Init it becomes

[core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
[gitflow "branch"]
    master = master
    develop = develop
[gitflow "prefix"]
    feature = feature/
    release = release/
    hotfix = hotfix/
    support = support/
    versiontag = 

from gitflow4idea.

OpherV avatar OpherV commented on August 22, 2024

I tried but can't seem to reproduce this. Does this happen for every new project?

Can you please share a screencast where you reproduce the issue?
You can use a tool like http://www.screenr.com/

from gitflow4idea.

barvaz avatar barvaz commented on August 22, 2024

Same here.
On every project init repo causes Assertion failed: Notification should have content, groupId: Gitflow Notifications even if gitflow was correctly initiated. The next time I click on the "No Gitflow" label produces the NullPointerException described by @iddqdidkfa
After restart everything is OK.

Phpstorm 7.1, Rubymine 6.3, Gitflow 0.3.5
on OSX

from gitflow4idea.

iddqdidkfa avatar iddqdidkfa commented on August 22, 2024

Sorry for not responding so long. We have hard situation here in Crimea.
Here is screencast: https://drive.google.com/file/d/0B9hIrK24qlv0OTgxUk53RW8zeXM/edit?usp=sharing

from gitflow4idea.

OpherV avatar OpherV commented on August 22, 2024

@iddqdidkfa Thanks for the screencast!
It was super helpful and I can now recreate the problem - which means I can solve it :)
I think it has something to do with the custom git init option not refreshing the plugin

Here's the stack trace for my own future reference:

Assertion failed: Notification should have content, groupId: Gitflow Notifications
java.lang.Throwable
    at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:141)
    at com.intellij.notification.Notification.<init>(Notification.java:65)
    at com.intellij.notification.NotificationGroup.createNotification(NotificationGroup.java:85)
    at gitflow.ui.NotifyUtil.notify(NotifyUtil.java:31)
    at gitflow.ui.NotifyUtil.notifySuccess(NotifyUtil.java:19)
    at gitflow.actions.InitRepoAction$1.run(InitRepoAction.java:38)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:464)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
    at com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:209)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:212)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:171)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$8.run(ProgressManagerImpl.java:373)
    at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:419)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
    at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:149)

from gitflow4idea.

barvaz avatar barvaz commented on August 22, 2024

👍
thanx

from gitflow4idea.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.