1108 - new vertical group fails...

Open 2 files File1.java and File2.java. Make File2.java frame take the focus. Right click and ask to move to new vertical group (horizontal split). Runs into NPE with following stack trace:

java.lang.NullPointerException

at com.intellij.openapi.fileEditor.b.f.getSelectedFiles(f.java:54)

at com.intellij.codeInsight.f.a.n.d(n.java:5)

at com.intellij.codeInsight.f.a.n.b(n.java:98)

at com.intellij.codeInsight.f.a.n.b(n.java:96)

at com.intellij.codeInsight.f.a.n.a(n.java:97)

at com.intellij.codeInsight.f.a.n.e(n.java:101)

at com.intellij.codeInsight.f.a.n$2.hierarchyChanged(n$2.java:2)

at java.awt.Component.processHierarchyEvent(Component.java:5263)

at java.awt.Component.processEvent(Component.java:4918)

at java.awt.Container.processEvent(Container.java:1569)

at java.awt.Component.dispatchEventImpl(Component.java:3615)

at java.awt.Container.dispatchEventImpl(Container.java:1627)

at java.awt.Component.dispatchEvent(Component.java:3477)

at java.awt.Component.createHierarchyEvents(Component.java:4226)

at java.awt.Container.createHierarchyEvents(Container.java:939)

at java.awt.Container.createHierarchyEvents(Container.java:934)

at java.awt.Container.createHierarchyEvents(Container.java:934)

at java.awt.Container.createHierarchyEvents(Container.java:934)

at java.awt.Component.show(Component.java:1102)

at java.awt.Component.show(Component.java:1133)

at java.awt.Component.setVisible(Component.java:1088)

at javax.swing.JComponent.setVisible(JComponent.java:2210)

at javax.swing.plaf.basic.BasicTabbedPaneUI.setVisibleComponent(BasicTabbedPaneUI.java:1321)

at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.layoutContainer(BasicTabbedPaneUI.java:2124)

at java.awt.Container.layout(Container.java:1020)

at java.awt.Container.doLayout(Container.java:1010)

at com.intellij.ui.TabbedPaneWrapper$TabbedPane.setSelectedIndex(TabbedPaneWrapper.java:21)

at javax.swing.JTabbedPane.insertTab(JTabbedPane.java:573)

at com.intellij.ui.TabbedPaneWrapper.insertTab(TabbedPaneWrapper.java:87)

at com.intellij.openapi.fileEditor.b.f.b(f.java:449)

at com.intellij.openapi.fileEditor.b.f.access$900(f.java:703)

at com.intellij.openapi.fileEditor.b.f$3.run(f$3.java:2)

at com.intellij.openapi.command.impl.a.executeCommand(a.java:36)

at com.intellij.openapi.fileEditor.b.f.a(f.java:663)

at com.intellij.openapi.fileEditor.b.f.b(f.java:252)

at com.intellij.openapi.fileEditor.b.k$b_$k_.actionPerformed(k$b_$k_.java:5)

at com.intellij.openapi.actionSystem.a.n$b_.actionPerformed(n$b_.java:3)

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)

at com.intellij.openapi.actionSystem.a.n.fireActionPerformed(n.java:16)

at com.intellij.ui.c.a.h.doClick(h.java:104)

at com.intellij.ui.c.a.h.access$300(h.java:71)

at com.intellij.ui.c.a.h$a_.mouseReleased(h$a_.java:2)

at java.awt.Component.processMouseEvent(Component.java:5100)

at java.awt.Component.processEvent(Component.java:4897)

at java.awt.Container.processEvent(Container.java:1569)

at java.awt.Component.dispatchEventImpl(Component.java:3615)

at java.awt.Container.dispatchEventImpl(Container.java:1627)

at java.awt.Component.dispatchEvent(Component.java:3477)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)

at java.awt.Container.dispatchEventImpl(Container.java:1613)

at java.awt.Window.dispatchEventImpl(Window.java:1606)

at java.awt.Component.dispatchEvent(Component.java:3477)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)

at com.intellij.ide.q.b(q.java:96)

at com.intellij.ide.q.a(q.java:83)

at com.intellij.ide.q.dispatchEvent(q.java:103)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

1 comment
Comment actions Permalink

It's already submitted will be fixed soon.

--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

"Vinay Moharil" <vmohar98@yahoo.com> wrote in message
news:13425899.1074528703352.JavaMail.itn@is.intellij.net...

Open 2 files File1.java and File2.java. Make File2.java frame take the

focus. Right click and ask to move to new vertical group (horizontal split).
Runs into NPE with following stack trace:
>

java.lang.NullPointerException

>

at com.intellij.openapi.fileEditor.b.f.getSelectedFiles(f.java:54)

>

at com.intellij.codeInsight.f.a.n.d(n.java:5)

>

at com.intellij.codeInsight.f.a.n.b(n.java:98)

>

at com.intellij.codeInsight.f.a.n.b(n.java:96)

>

at com.intellij.codeInsight.f.a.n.a(n.java:97)

>

at com.intellij.codeInsight.f.a.n.e(n.java:101)

>

at com.intellij.codeInsight.f.a.n$2.hierarchyChanged(n$2.java:2)

>

at java.awt.Component.processHierarchyEvent(Component.java:5263)

>

at java.awt.Component.processEvent(Component.java:4918)

>

at java.awt.Container.processEvent(Container.java:1569)

>

at java.awt.Component.dispatchEventImpl(Component.java:3615)

>

at java.awt.Container.dispatchEventImpl(Container.java:1627)

>

at java.awt.Component.dispatchEvent(Component.java:3477)

>

at java.awt.Component.createHierarchyEvents(Component.java:4226)

>

at java.awt.Container.createHierarchyEvents(Container.java:939)

>

at java.awt.Container.createHierarchyEvents(Container.java:934)

>

at java.awt.Container.createHierarchyEvents(Container.java:934)

>

at java.awt.Container.createHierarchyEvents(Container.java:934)

>

at java.awt.Component.show(Component.java:1102)

>

at java.awt.Component.show(Component.java:1133)

>

at java.awt.Component.setVisible(Component.java:1088)

>

at javax.swing.JComponent.setVisible(JComponent.java:2210)

>

at

javax.swing.plaf.basic.BasicTabbedPaneUI.setVisibleComponent(BasicTabbedPane
UI.java:1321)
>

at

javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.layoutContainer(Ba
sicTabbedPaneUI.java:2124)
>

at java.awt.Container.layout(Container.java:1020)

>

at java.awt.Container.doLayout(Container.java:1010)

>

at

com.intellij.ui.TabbedPaneWrapper$TabbedPane.setSelectedIndex(TabbedPaneWrap
per.java:21)
>

at javax.swing.JTabbedPane.insertTab(JTabbedPane.java:573)

>

at com.intellij.ui.TabbedPaneWrapper.insertTab(TabbedPaneWrapper.java:87)

>

at com.intellij.openapi.fileEditor.b.f.b(f.java:449)

>

at com.intellij.openapi.fileEditor.b.f.access$900(f.java:703)

>

at com.intellij.openapi.fileEditor.b.f$3.run(f$3.java:2)

>

at com.intellij.openapi.command.impl.a.executeCommand(a.java:36)

>

at com.intellij.openapi.fileEditor.b.f.a(f.java:663)

>

at com.intellij.openapi.fileEditor.b.f.b(f.java:252)

>

at

com.intellij.openapi.fileEditor.b.k$b_$k_.actionPerformed(k$b_$k_.java:5)
>

at com.intellij.openapi.actionSystem.a.n$b_.actionPerformed(n$b_.java:3)

>

at

javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
>

at com.intellij.openapi.actionSystem.a.n.fireActionPerformed(n.java:16)

>

at com.intellij.ui.c.a.h.doClick(h.java:104)

>

at com.intellij.ui.c.a.h.access$300(h.java:71)

>

at com.intellij.ui.c.a.h$a_.mouseReleased(h$a_.java:2)

>

at java.awt.Component.processMouseEvent(Component.java:5100)

>

at java.awt.Component.processEvent(Component.java:4897)

>

at java.awt.Container.processEvent(Container.java:1569)

>

at java.awt.Component.dispatchEventImpl(Component.java:3615)

>

at java.awt.Container.dispatchEventImpl(Container.java:1627)

>

at java.awt.Component.dispatchEvent(Component.java:3477)

>

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)

>

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)

>

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)

>

at java.awt.Container.dispatchEventImpl(Container.java:1613)

>

at java.awt.Window.dispatchEventImpl(Window.java:1606)

>

at java.awt.Component.dispatchEvent(Component.java:3477)

>

at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)

>

at com.intellij.ide.q.b(q.java:96)

>

at com.intellij.ide.q.a(q.java:83)

>

at com.intellij.ide.q.dispatchEvent(q.java:103)

>

at

java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:201)
>

at

java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:151)
>

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)

>

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)

>

at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

>
>


0

Please sign in to leave a comment.