Comments (10)
Can you please paste a stack trace of the exception?
from gitflow4idea.
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.
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.
Its new project, not sure it will helps you but here it is:
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
from gitflow4idea.
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.
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.
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.
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.
@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.
👍
thanx
from gitflow4idea.
Related Issues (20)
- Reading Git repository information should not be done on the EDT HOT 2
- Do not call synchronous repository update in EDT HOT 1
- Unsupported Git Flow Version HOT 11
- Unsupported Git Flow Version for 1.12.3 (AVH Edition) HOT 9
- IDE Fatal Errors HOT 2
- Assertion failed: dataContext has no component for new ListPopupStep HOT 1
- 2021.2 Compatibility HOT 6
- After updating WebStorm to version 2021.2, the plugin broke HOT 2
- Exception: cannot share data context between Swing events HOT 7
- Please update for last IDE version. HOT 1
- IDE Fatal Error on Init Repo HOT 3
- Null Pointer when finishing branch: "branch was merged into null" HOT 1
- Gitflow repository initialization stucks HOT 1
- Execute command on all repos in "Open task" widget
- Access from event dispatch thread is not allowed.
- 2021.3 Compatibility HOT 29
- java.lang.Throwable: Assertion failed: dataContext has no component for new ListPopupStep
- Contributors
- Can we support IntelliJ IDEA 2022.1.1 HOT 1
- Unsupported git flow version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitflow4idea.