Priority
Normal
Type
Bug 
State
Fixed 
Assignee
Dmitry Jemerov 
Subsystem
Version Control 
Affected versions
Fixed in
Fixed in build
Next build 
  • Submitted by   Irina Petrovskaya
    3 years ago (21 Dec 2006 15:55)
  • Updated by   root
    6 months ago (17 Jan 2010 19:39)
  • Jira: IDEA-36146
    (history, comments)
IDEA-36146 ShelveChanges: incorrect update of Shelf view when shelving new change after previous one fails
0
tested with VSS
try to apply some shelved patch that fails with 'context mismatch'
modify some different file
invoke ShelveChanges, select this specific change in dialog, shelve
---> exception, no shelved changes are shown in Shelf view

Assertion failed
java.lang.Throwable
 at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:89)
 at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:96)
 at com.intellij.ui.SimpleColoredComponent.getPreferredSize(SimpleColoredComponent.java:180)
 at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2702)
 at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:475)
 at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1342)
 at javax.swing.tree.VariableHeightLayoutCache.rebuild(VariableHeightLayoutCache.java:720)
 at javax.swing.tree.VariableHeightLayoutCache.setModel(VariableHeightLayoutCache.java:91)
 at javax.swing.plaf.basic.BasicTreeUI.setModel(BasicTreeUI.java:400)
 at javax.swing.plaf.basic.BasicTreeUI$Handler.propertyChange(BasicTreeUI.java:3388)
 at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
 at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:270)
 at java.awt.Component.firePropertyChange(Component.java:7172)
 at javax.swing.JTree.setModel(JTree.java:710)
 at com.intellij.openapi.vcs.changes.shelf.ShelvedChangesViewManager.a(ShelvedChangesViewManager.java:29)
 at com.intellij.openapi.vcs.changes.shelf.ShelvedChangesViewManager.access$200(ShelvedChangesViewManager.java:4)
 at com.intellij.openapi.vcs.changes.shelf.ShelvedChangesViewManager$1.stateChanged(ShelvedChangesViewManager.java:1)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:85)
 at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:137)
 at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:129)
 at com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:19)
 at com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:77)
 at $Proxy51.stateChanged(Unknown Source)
 at com.intellij.openapi.vcs.changes.shelf.ShelveChangesManager.a(ShelveChangesManager.java:70)
 at com.intellij.openapi.vcs.changes.shelf.ShelveChangesManager.shelveChanges(ShelveChangesManager.java:10)
 at com.intellij.openapi.vcs.changes.shelf.ShelveChangesCommitExecutor$ShelveChangesCommitSession.execute(ShelveChangesCommitExecutor.java:6)
 at com.intellij.openapi.vcs.changes.ui.CommitChangeListDialog$3$1.run(CommitChangeListDialog.java:1)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:48)
 at com.intellij.openapi.application.impl.ApplicationImpl$6$1.run(ApplicationImpl.java:2)
 at com.intellij.openapi.application.impl.ApplicationImpl$4.run(ApplicationImpl.java:3)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
 at java.util.concurrent.FutureTask.run(FutureTask.java:123)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
 at java.lang.Thread.run(Thread.java:595)
 at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:0)




java.lang.NullPointerException
 at java.util.Hashtable.get(Hashtable.java:336)
 at java.awt.Component.getFontMetrics(Component.java:2494)
 at javax.swing.JComponent.getFontMetrics(JComponent.java:1589)
 at com.intellij.ui.SimpleColoredComponent.getPreferredSize(SimpleColoredComponent.java:193)
 at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2702)
 at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:475)
 at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1342)
 at javax.swing.tree.VariableHeightLayoutCache.rebuild(VariableHeightLayoutCache.java:720)
 at javax.swing.tree.VariableHeightLayoutCache.setModel(VariableHeightLayoutCache.java:91)
 at javax.swing.plaf.basic.BasicTreeUI.setModel(BasicTreeUI.java:400)
 at javax.swing.plaf.basic.BasicTreeUI$Handler.propertyChange(BasicTreeUI.java:3388)
 at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
 at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:270)
 at java.awt.Component.firePropertyChange(Component.java:7172)
 at javax.swing.JTree.setModel(JTree.java:710)
 at com.intellij.openapi.vcs.changes.shelf.ShelvedChangesViewManager.a(ShelvedChangesViewManager.java:29)
 at com.intellij.openapi.vcs.changes.shelf.ShelvedChangesViewManager.access$200(ShelvedChangesViewManager.java:4)
 at com.intellij.openapi.vcs.changes.shelf.ShelvedChangesViewManager$1.stateChanged(ShelvedChangesViewManager.java:1)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:85)
 at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:137)
 at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:129)
 at com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:19)
 at com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:77)
 at $Proxy51.stateChanged(Unknown Source)
 at com.intellij.openapi.vcs.changes.shelf.ShelveChangesManager.a(ShelveChangesManager.java:70)
 at com.intellij.openapi.vcs.changes.shelf.ShelveChangesManager.shelveChanges(ShelveChangesManager.java:10)
 at com.intellij.openapi.vcs.changes.shelf.ShelveChangesCommitExecutor$ShelveChangesCommitSession.execute(ShelveChangesCommitExecutor.java:6)
 at com.intellij.openapi.vcs.changes.ui.CommitChangeListDialog$3$1.run(CommitChangeListDialog.java:1)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:48)
 at com.intellij.openapi.application.impl.ApplicationImpl$6$1.run(ApplicationImpl.java:2)
 at com.intellij.openapi.application.impl.ApplicationImpl$4.run(ApplicationImpl.java:3)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
 at java.util.concurrent.FutureTask.run(FutureTask.java:123)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
 at java.lang.Thread.run(Thread.java:595)
 at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:0)






Issue was resolved
Comments (0)
 
History
 
Linked Issues (0)
 
Issue has no comments