editor background color turns to yellow suddenly?

Does anyone else see this?  Happens in production too.

There's a movie of what I mean in the bug http://youtrack.jetbrains.com/issue/IDEA-87544

You'll be editing and disclose some piece of code.  the editor will shift lines and turn to yellow background (from white).

I'm not sure if this discussion is the same thing:
http://devnet.jetbrains.net/message/1053204#1053204

8 comments
Comment actions Permalink

I have the same problem with my new laptop:
Lenovo T430 with Ubuntu 12.4 and Idea 11.1.3
Perhaps it has something to nvidia optimus?


[ 105602]  ERROR - t.hint.EditorFragmentComponent - Assertion failed: TextWidth: -49; startLine:60; endLine:63;
java.lang.Throwable
    at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:98)
    at com.intellij.codeInsight.hint.EditorFragmentComponent.<init>(EditorFragmentComponent.java:47)
    at com.intellij.codeInsight.hint.EditorFragmentComponent.createEditorFragmentComponent(EditorFragmentComponent.java:200)
    at com.intellij.codeInsight.hint.EditorFragmentComponent.showEditorFragmentHintAt(EditorFragmentComponent.java:173)
    at com.intellij.codeInsight.hint.DocumentFragmentTooltipRenderer.show(DocumentFragmentTooltipRenderer.java:76)
    at com.intellij.codeInsight.hint.TooltipController.showTooltip(TooltipController.java:138)
    at com.intellij.codeInsight.hint.TooltipController.showTooltip(TooltipController.java:116)
    at com.intellij.openapi.editor.impl.EditorImpl$MyMouseMotionListener.mouseMoved(EditorImpl.java:5504)
    at java.awt.Component.processMouseMotionEvent(Component.java:6550)
    at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3339)
    at java.awt.Component.processEvent(Component.java:6274)
    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:4505)
    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:723)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:682)
    at java.awt.EventQueue$3.run(EventQueue.java:680)
    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:696)
    at java.awt.EventQueue$4.run(EventQueue.java:694)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
    at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:699)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:534)
    at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:420)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:378)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
[ 105604]  ERROR - t.hint.EditorFragmentComponent - IntelliJ IDEA 11.1.3  Build #IU-117.798
[ 105604]  ERROR - t.hint.EditorFragmentComponent - JDK: 1.7.0_07
[ 105604]  ERROR - t.hint.EditorFragmentComponent - VM: Java HotSpot(TM) 64-Bit Server VM
[ 105604]  ERROR - t.hint.EditorFragmentComponent - Vendor: Oracle Corporation
[ 105604]  ERROR - t.hint.EditorFragmentComponent - OS: Linux
[ 105604]  ERROR - t.hint.EditorFragmentComponent - Last Action: $Undo
[ 105605]  ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_MOVED,(728,542),absolute(803,600),clickCount=0] on frame0
java.lang.IllegalArgumentException: Width (-49) and height (45) cannot be <= 0
    at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1016)
    at java.awt.image.BufferedImage.<init>(BufferedImage.java:329)
    at com.intellij.codeInsight.hint.EditorFragmentComponent.<init>(EditorFragmentComponent.java:68)
    at com.intellij.codeInsight.hint.EditorFragmentComponent.createEditorFragmentComponent(EditorFragmentComponent.java:200)
    at com.intellij.codeInsight.hint.EditorFragmentComponent.showEditorFragmentHintAt(EditorFragmentComponent.java:173)
    at com.intellij.codeInsight.hint.DocumentFragmentTooltipRenderer.show(DocumentFragmentTooltipRenderer.java:76)
    at com.intellij.codeInsight.hint.TooltipController.showTooltip(TooltipController.java:138)
    at com.intellij.codeInsight.hint.TooltipController.showTooltip(TooltipController.java:116)
    at com.intellij.openapi.editor.impl.EditorImpl$MyMouseMotionListener.mouseMoved(EditorImpl.java:5504)
    at java.awt.Component.processMouseMotionEvent(Component.java:6550)
    at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3339)
    at java.awt.Component.processEvent(Component.java:6274)
    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:4505)
    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:723)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:682)
    at java.awt.EventQueue$3.run(EventQueue.java:680)
    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:696)
    at java.awt.EventQueue$4.run(EventQueue.java:694)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
    at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:699)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:534)
    at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:420)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:378)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
[ 105605]  ERROR - com.intellij.ide.IdeEventQueue - IntelliJ IDEA 11.1.3  Build #IU-117.798

0
Comment actions Permalink

Hi Ernst,

No, it looks like an IDE bug. Are there stable steps to reproduce it?

Denis

0
Comment actions Permalink

No repeatable steps, sorry.  I can tell you that on my macbook pro 2011, it happens always after the page renders, and I'm moving to edit something, like clicking and arrowing in the text.  I've seen lots and lots of errors like

     Assertion failed: TextWidth: 0; startLine:250; endLine:251;

that I've reported by clicking to post a bug automatically, but I don't know if that's involved.

0
Comment actions Permalink

It looks like you experience this problem - IDEA-82008. Unfortunately, we can't fix it until it's not reproduced locally :(

Denis

0
Comment actions Permalink

Since your customers are all software developers, they know the value of having nice repeatable steps for bug diagnosis.  Believe me, if I had the repeatable steps, I'd tell ya. In fact, I've reported way to many bugs with very nicely repeatable steps, including lots of laborious data dumps for memory leaks.

As software developers, your customers also all have to deal with more difficult bugs. That's where you come in. Please do the extra work to isolate the problem, now that you've seen it from multiple customers. That's what your customers are paying for, no?

0
Comment actions Permalink

hello Denis

My impression so far is that it does not happen on the screen of my laptop, but on the monitor that I attach to it during work. I'm using a Samsung SyncMaster 213T.
I'll try to get a better fix on the problem, and will tell you what I learn.

cheers,

Ernst

0
Comment actions Permalink

Hi Denis

I keep having trouble with the yellow screen, but I can detect no pattern in the occurrence. Sometimes it doesn't happen for hours, and than it happens 10 times in 5 minutes.
Pretty annoying though.

regards,

Ernst

0
Comment actions Permalink

Hi guys,

I have the same problem. I have a laptop dell, running ubuntu, also using a dual monitor.

It wasn't happen before, I was using this laptop with this monitor for the last six months. It just happened now that I downloaded the version 11.1.4
I get this from the logs:

[6063799]  ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_MOVED,(596,150),absolute(645,174),clickCount=0] on frame2
java.lang.IllegalArgumentException: Width (-603) and height (210) cannot be <= 0
 at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1016)
 at java.awt.image.BufferedImage.<init>(BufferedImage.java:329)
 at com.intellij.codeInsight.hint.EditorFragmentComponent.<init>(EditorFragmentComponent.java:68)
 at com.intellij.codeInsight.hint.EditorFragmentComponent.createEditorFragmentComponent(EditorFragmentComponent.java:200)
 at com.intellij.codeInsight.hint.EditorFragmentComponent.showEditorFragmentHintAt(EditorFragmentComponent.java:173)
 at com.intellij.codeInsight.hint.DocumentFragmentTooltipRenderer.show(DocumentFragmentTooltipRenderer.java:76)
 at com.intellij.codeInsight.hint.TooltipController.showTooltip(TooltipController.java:138)
 at com.intellij.codeInsight.hint.TooltipController.showTooltip(TooltipController.java:116)
 at com.intellij.openapi.editor.impl.EditorImpl$MyMouseMotionListener.mouseMoved(EditorImpl.java:5504)
 at java.awt.Component.processMouseMotionEvent(Component.java:6550)
 at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3339)
 at java.awt.Component.processEvent(Component.java:6274)
 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:4505)
 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:723)
 at java.awt.EventQueue.access$200(EventQueue.java:103)
 at java.awt.EventQueue$3.run(EventQueue.java:682)
 at java.awt.EventQueue$3.run(EventQueue.java:680)
 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:696)
 at java.awt.EventQueue$4.run(EventQueue.java:694)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
 at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:699)
 at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:534)
 at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:420)
 at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:378)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)



Hope this helps to solve the problem.
Regards.
0

Please sign in to leave a comment.