UI Designer eats 100% of my CPU

When I put JPanel in UIDesigner in #1018, my CPU is on 100%. It is clear instalation, not update, not custom plugins...

-- likeapear

0
Avatar
Permanently deleted user

Build is #2018

-- likeapear

"likeapear" <likeapear@centrum.cz> pí¹e v diskusním pøíspìvku news:c8hn6i$hgj$1@is.intellij.net...

When I put JPanel in UIDesigner in #1018, my CPU is on 100%. It is clear instalation, not update, not custom plugins...

-- likeapear

0
Avatar
Permanently deleted user

likeapear wrote:

When I put JPanel in UIDesigner in #1018, my CPU is on 100%. It is clear instalation, not update, not custom plugins...

-- likeapear

cannot repeate this problem on the same build. Please take a full thread
dump and send it to us. If the problem is repeatable on some form only
please send us this form.

Thank you in advance,
Vladimir Kondratyev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

"Vladimir Kondratyev (JetBrains)" <vova@intellij.com> píse v diskusním príspevku news:c8ksk3$flo$1@is.intellij.net...

cannot repeate this problem on the same build. Please take a full thread
dump and send it to us. If the problem is repeatable on some form only
please send us this form.


Thank you for interest. I cannot repeated it too. I can send thread dump to fix it when I get this problem.

I have found next bug: Please try to add two same components into GUI Designer palette...

This exception is obtaineed:

Error message: Assertion failed
java.lang.Throwable

at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)

at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:72)

at com.intellij.uiDesigner.palette.e.a(e.java:28)

at com.intellij.uiDesigner.GuiDesignerConfigurable.h(GuiDesignerConfigurable.java:39)

at com.intellij.uiDesigner.GuiDesignerConfigurable.access$700(GuiDesignerConfigurable.java:142)

at com.intellij.uiDesigner.GuiDesignerConfigurable$5.actionPerformed(GuiDesignerConfigurable.java)

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

at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)

at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)

at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)

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.s.b(s.java:60)

at com.intellij.ide.s.a(s.java:45)

at com.intellij.ide.s.dispatchEvent(s.java:147)

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

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

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

at java.awt.Dialog$1.run(Dialog.java:540)

at java.awt.Dialog.show(Dialog.java:561)

at com.intellij.openapi.f.b.a$d_.show(a$d_.java:21)

at com.intellij.openapi.f.b.a.show(a.java:0)

at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:673)

at com.intellij.openapi.a.a.a.b(a.java:112)

at com.intellij.openapi.a.a.a.access$1000(a.java:113)

at com.intellij.openapi.a.a.a$1.mouseReleased(a$1.java:0)

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.s.b(s.java:60)

at com.intellij.ide.s.a(s.java:45)

at com.intellij.ide.s.dispatchEvent(s.java:147)

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

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

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

at java.awt.Dialog$1.run(Dialog.java:540)

at java.awt.Dialog.show(Dialog.java:561)

at com.intellij.openapi.f.b.a$d_.show(a$d_.java:21)

at com.intellij.openapi.f.b.a.show(a.java:0)

at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:673)

at com.intellij.ide.actions.ek.b(ek.java:5)

at com.intellij.ide.actions.ek.a(ek.java:34)

at com.intellij.ide.actions.dh.actionPerformed(dh.java:2)

at com.intellij.openapi.p.a.j.a(j.java:86)

at com.intellij.openapi.p.a.j.processMouseEvent(j.java:120)

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.s.b(s.java:60)

at com.intellij.ide.s.a(s.java:45)

at com.intellij.ide.s.dispatchEvent(s.java:147)

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)



0

How do I take a full thread dump? I'm also experiencing some cpu saturation issues (with no project open).

0
Avatar
Permanently deleted user

On Windows you need to press Ctrl-Break in IDEA's console.

Tom

0

And how do enable the console window?

0
Avatar
Permanently deleted user

For me, it automatically occurs, because I don't use the installer.

Tom

0
Avatar
Permanently deleted user

Press the control button while starting idea.

0
Avatar
Permanently deleted user

Hello Vladimir,

i still cannot repeate problem with UI Designer. Yesterday I have found this behaviour (hope it help you solve the problem):

1. Start IDEA (build #2018)
2. In existing (very simple project) create a GUI form (for example 'Main.form') and put a JPanel. It works fine...
3. Open GUI Designer Settings for opened project and add new (empty) component group to the palette (for example 'xx').
4. Now put new JPanel to the same form (Main). You can see the newer panel looks differently - it is not layouted.
5. I think this is not normal behaviour...Propably it is little bug. Or if it is not a bug then I'm sorry.

PS: When it will happens (GUIG start eats my CPU) I send you full thread dump.

Thank you

-- likeapear


"likeapear" <likeapear@centrum.cz> píse v diskusním príspevku news:c8kums$u7s$1@is.intellij.net...
"Vladimir Kondratyev (JetBrains)" <vova@intellij.com> píse v diskusním príspevku news:c8ksk3$flo$1@is.intellij.net...

cannot repeate this problem on the same build. Please take a full thread
dump and send it to us. If the problem is repeatable on some form only
please send us this form.


Thank you for interest. I cannot repeated it too. I can send thread dump to fix it when I get this problem.

I have found next bug: Please try to add two same components into GUI Designer palette...

This exception is obtaineed:

Error message: Assertion failed
java.lang.Throwable


0

请先登录再写评论。