Major UI corruption in EAPS

Hi all,

Over the last few days I've noticed getting MAJOR UI corruption in IntelliJ IDEA EAP releases ( not only the latest, but going back 2-3 builds ), I highly suspect its something to do with my code base, or something to do with my git repo, but I can't spot it ( it doesn't break at home on other projects ).

I end tripped up with the following exceptions:

2012-10-17 12:33:45,358 [ 144122]  ERROR - .impl.MessageBusConnectionImpl - IntelliJ IDEA (Leda) IU-122.573  Build #IU-122.573
2012-10-17 12:33:45,359 [ 144123]  ERROR - .impl.MessageBusConnectionImpl - JDK: 1.6.0_27
2012-10-17 12:33:45,359 [ 144123]  ERROR - .impl.MessageBusConnectionImpl - VM: Java HotSpot(TM) 64-Bit Server VM
2012-10-17 12:33:45,359 [ 144123]  ERROR - .impl.MessageBusConnectionImpl - Vendor: Apple Inc.
2012-10-17 12:33:45,359 [ 144123]  ERROR - .impl.MessageBusConnectionImpl - OS: Mac OS X
2012-10-17 12:33:45,359 [ 144123]  ERROR - .impl.MessageBusConnectionImpl - Last Action:  
2012-10-17 12:33:45,719 [ 144483]  ERROR - .impl.MessageBusConnectionImpl - Negative start offset: (-90,-90);  
java.lang.AssertionError: Negative start offset: (-90,-90);
        at com.intellij.openapi.util.ProperTextRange.assertProperRange(ProperTextRange.java:43)
        at com.intellij.openapi.util.ProperTextRange.assertProperRange(ProperTextRange.java:38)
        at com.intellij.openapi.util.ProperTextRange.assertProperRange(ProperTextRange.java:34)
        at com.intellij.openapi.util.ProperTextRange.<init>(ProperTextRange.java:26)
        at com.intellij.openapi.editor.impl.EditorMarkupModelImpl.b(EditorMarkupModelImpl.java:881)
        at com.intellij.openapi.editor.impl.EditorMarkupModelImpl.repaint(EditorMarkupModelImpl.java:320)
        at com.intellij.openapi.editor.impl.EditorImpl$1.attributesChanged(EditorImpl.java:344)
        at com.intellij.openapi.editor.impl.MarkupModelImpl.fireAttributesChanged(MarkupModelImpl.java:221)
        at com.intellij.openapi.editor.impl.RangeHighlighterData.a(RangeHighlighterData.java:200)
        at com.intellij.openapi.editor.impl.RangeHighlighterData.setErrorStripeMarkColor(RangeHighlighterData.java:116)
        at com.intellij.openapi.editor.impl.RangeHighlighterImpl.setErrorStripeMarkColor(RangeHighlighterImpl.java:140)
        at com.intellij.notification.EventLogConsole.a(EventLogConsole.java:177)
        at com.intellij.notification.EventLogConsole.doPrintNotification(EventLogConsole.java:162)
        at com.intellij.notification.EventLog$ProjectTracker$2.run(EventLog.java:400)
        at com.intellij.ide.startup.impl.StartupManagerImpl$5.run(StartupManagerImpl.java:223)

2012-10-17 12:29:38,730 [ 935270]  ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=javax.swing.SystemEventQueueUtilities$ComponentWorkRequest@d92db4a,notifier=null,catchExceptions=false,when=1350430178720] on apple.awt.CToolkit@3ed71be8
java.lang.IllegalArgumentException: line must be non negative: -5
        at com.intellij.openapi.editor.VisualPosition.<init>(VisualPosition.java:36)
        at com.intellij.openapi.editor.impl.EditorImpl.xyToVisualPosition(EditorImpl.java:1041)
        at com.intellij.openapi.editor.impl.EditorImpl.xyToLogicalPosition(EditorImpl.java:1286)
        at com.intellij.openapi.editor.impl.EditorImpl.paint(EditorImpl.java:1825)
        at com.intellij.openapi.editor.impl.EditorComponentImpl$3.consume(EditorComponentImpl.java:155)
        at com.intellij.openapi.editor.impl.EditorComponentImpl$3.consume(EditorComponentImpl.java:149)
        at com.intellij.util.ui.UIUtil.paintWithRetina(UIUtil.java:1400)
        at com.intellij.openapi.editor.impl.EditorComponentImpl.paintComponent(EditorComponentImpl.java:149)
        at javax.swing.JComponent.paint(JComponent.java:1029)
        at javax.swing.JComponent.paintChildren(JComponent.java:862)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JViewport.paint(JViewport.java:747)
        at com.intellij.ui.components.JBViewport.paint(JBViewport.java:60)
        at javax.swing.JComponent.paintChildren(JComponent.java:862)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JComponent.paintChildren(JComponent.java:862)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JComponent.paintChildren(JComponent.java:862)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JComponent.paintChildren(JComponent.java:862)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JLayeredPane.paint(JLayeredPane.java:567)
        at javax.swing.JComponent.paintChildren(JComponent.java:862)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JComponent.paintChildren(JComponent.java:862)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JComponent.paintChildren(JComponent.java:862)
        at com.intellij.ui.tabs.impl.JBTabsImpl.paintChildren(JBTabsImpl.java:2172)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at com.intellij.ui.tabs.impl.JBTabsImpl.paint(JBTabsImpl.java:2168)
        at javax.swing.JComponent.paintChildren(JComponent.java:862)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JComponent.paintChildren(JComponent.java:862)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JComponent.paintChildren(JComponent.java:862)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JComponent.paintChildren(JComponent.java:862)
        at com.intellij.ui.tabs.impl.JBTabsImpl.paintChildren(JBTabsImpl.java:2172)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at com.intellij.ui.tabs.impl.JBTabsImpl.paint(JBTabsImpl.java:2168)
        at javax.swing.JComponent.paintChildren(JComponent.java:862)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JComponent.paintChildren(JComponent.java:862)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JComponent.paintChildren(JComponent.java:862)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JComponent.paintChildren(JComponent.java:862)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JComponent.paintChildren(JComponent.java:862)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JComponent.paintChildren(JComponent.java:862)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JComponent.paintChildren(JComponent.java:862)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JComponent.paintChildren(JComponent.java:862)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JComponent.paintChildren(JComponent.java:862)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JComponent.paintChildren(JComponent.java:862)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JComponent.paintChildren(JComponent.java:862)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JComponent.paintChildren(JComponent.java:862)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JComponent._paintImmediately(JComponent.java:5098)
        at javax.swing.JComponent.paintImmediately(JComponent.java:4882)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:811)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:713)
        at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:693)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:125)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:677)
        at java.awt.EventQueue.access$000(EventQueue.java:85)
        at java.awt.EventQueue$1.run(EventQueue.java:638)
        at java.awt.EventQueue$1.run(EventQueue.java:636)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:647)
        at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:672)
        at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:497)
        at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:375)
        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:333)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)

and then everything goes to shambles with repaint errors on icons, taps, text areas - it always seems to trigger -after- connecting the debugger.

Any one have any suggestions on what I could try to diagnose this?

0

Just a thought - my IDEA project now has maven modules of mixed Java 6 and Java 7 language levels.

I wonder if its something to do with that - and code folding thats generating invalid line positions?

0

In a freshly compiled-from-git version of Idea Community - I don't see any of these UI corruption issues,will investigated any plugins I have installed in Ultimate...

0
Avatar
Permanently deleted user

still an issue for me in 122.694 (Mac OS 10.8)

0
Avatar
Permanently deleted user

I just switched back to the default color scheme and hte problems went away - I don't think I had many changes to the default, one major change I had was I was using SourceCode Pro as my editor font. when i changed back to use the default font - everything started working fine again!

0

I encountered the same problem on OS X.  The ultimate fix for me was to delete everything IntelliJ related - caches, preferences, installs and then reinstall.
Based on the things I tried, I think its something related to the prefs - so make sure you delete all of those.

See: http://youtrack.jetbrains.com/issue/IDEA-93306

N

0

请先登录再写评论。