Rendering problems on 8.1.3 after giving Maia a spin

I've opened a bug on this issue (http://www.jetbrains.net/jira/browse/IDEA-24338), but hoping someone here might have a suggestion since I'm completely blocked by this issue.

I'm running Mac OS X, IDEA 8.1.3.  I've had some of the same lockup/crash/quirky behavior problems others have noted in this forum, so I decided to see how Maia was looking.  I launched it this morning and tried to create a project from a Maven superpom, but it never finished loading.  Figuring that it wasn't yet ready for me, I decided to go back to 8.1.3.

But when I started it, I was greeted with significant rendering problems -- an open editor tab was completely grayed out except for maybe a single character or line of code and other portions of the frame (e.g. buttons, status details, etc) were missing altogether.  Mousing over or clicking on different areas might show the missing items, but only transiently.  Selecting another tab causes things to disappear again.  Restarting and even rebooting don't cause the problem to disappear.

Is it possible that Maia somehow placed or cached a library somewhere that 8.1.3 is picking up and using?  I rebooted my computer, but the same behavior manifests so it would have to be something on the file system.  What could cause this behavior?

Thanks,
-JT

9 comments
Comment actions Permalink

Hi Jonathan,

It is possible Maia changed your project files in a way incompatible with 8.1.3. You could try to open a project you have not opened with Maia.
Secondly, most likely there will be exceptions logged. You can find the log file in ~/Library/Caches/IntelliJIDEA8x/log.

Bas

0
Comment actions Permalink

Hi Bas,

Yes, you're right about the exceptions.  I looked in the log and found a bunch of errors similar to the following:

2009-08-21 13:42:31,781 [ 237835]  ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=javax.swing.SystemEventQueueUtilities$ComponentWorkRequest@198397,notifier=null,catchExceptions=false,when=1250887351760] on apple.awt.CToolkit@16ce65
java.lang.NullPointerException
    at com.intellij.codeInsight.daemon.impl.SeverityRegistrar.compare(SeverityRegistrar.java:24)
    at com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl.getHighlights(DaemonCodeAnalyzerImpl.java:232)
    at com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl.getHighlights(DaemonCodeAnalyzerImpl.java:259)
    at com.intellij.codeInsight.daemon.impl.TrafficLightRenderer.getErrorsCount(TrafficLightRenderer.java:131)
    at com.intellij.codeInsight.daemon.impl.TrafficLightRenderer.getDaemonCodeAnalyzerStatus(TrafficLightRenderer.java:17)
    at com.intellij.codeInsight.daemon.impl.TrafficLightRenderer.a(TrafficLightRenderer.java:64)
    at com.intellij.codeInsight.daemon.impl.TrafficLightRenderer.paint(TrafficLightRenderer.java:62)
    at com.intellij.openapi.editor.impl.EditorMarkupModelImpl$MyErrorPanel.paintComponent(EditorMarkupModelImpl.java:28)
    at javax.swing.JComponent.paint(JComponent.java:1006)
    at javax.swing.JComponent._paintImmediately(JComponent.java:4890)
    at javax.swing.JComponent.paintImmediately(JComponent.java:4676)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:477)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:35)
    at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:99)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:217)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

I didn't load any of my 8.x projects into Maia (though they did show up in the Recent Projects list), so I don't think my projects would have been corrupted.  But maybe.  I can try to create a new 8.x project and see what happens.

-JT

0
Comment actions Permalink

Happy ending.

My ticket was marked as a duplicate of this one: http://www.jetbrains.net/jira/browse/IDEADEV-39016 .  Based on the information contained therein, I was able to edit my 'other.xml' config file to remove the offending portion.  In my case, it seemed to be a pointer to my IntellijIDEA90 cache directory w/in the WebServicesPluginSettings (I first removed the InspectionProfileManager section but was still seeing problems).

Bottom line is that if you try Maia on a Mac, don't import your existing settings because for some reason it modifies the 8x files as well.

0
Comment actions Permalink

I'm seeing this as well, and it's totally blocking me. Unfortunately the issue mentioned in this thread doesn't say how to fix the problem and doesn't link to the duplicate. The link Jonathan provided for the duplicate gives a 404. I also can't use his solution since I'm using the IPR project format. I see no references to any version 9 caches anywhere in my project config. Any ideas?

0
Comment actions Permalink

So I found the original bug report searching in Google's cache (http://www.google.com/search?q=IDEADEV-39016) and applied the fix, however it hasn't worked for me. I didn't have a SeverityRegistrar section but I deleted the InspectionProfileManager and WebServicesPluginSettings sections and I'm still getting the rendering problem, also I'm still getting these in the logs:

2009-10-20 19:02:19,061 [ 114697]  ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=javax.s
wing.SystemEventQueueUtilities$ComponentWorkRequest@b1ce83,notifier=null,catchExceptions=false,when=1256058139060] on apple.awt.CToolkit@552068
java.lang.NullPointerException
        at com.intellij.codeInsight.daemon.impl.SeverityRegistrar.compare(SeverityRegistrar.java:24)
        at com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl.getHighlights(DaemonCodeAnalyzerImpl.java:232)
        at com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl.getHighlights(DaemonCodeAnalyzerImpl.java:259)
        at com.intellij.codeInsight.daemon.impl.TrafficLightRenderer.getErrorsCount(TrafficLightRenderer.java:131)
        at com.intellij.codeInsight.daemon.impl.TrafficLightRenderer.getDaemonCodeAnalyzerStatus(TrafficLightRenderer.java:17)
        at com.intellij.codeInsight.daemon.impl.TrafficLightRenderer.a(TrafficLightRenderer.java:64)
        at com.intellij.codeInsight.daemon.impl.TrafficLightRenderer.paint(TrafficLightRenderer.java:62)
        at com.intellij.openapi.editor.impl.EditorMarkupModelImpl$MyErrorPanel.paintComponent(EditorMarkupModelImpl.java:28)
        at javax.swing.JComponent.paint(JComponent.java:1006)
        at javax.swing.JComponent._paintImmediately(JComponent.java:4890)
        at javax.swing.JComponent.paintImmediately(JComponent.java:4676)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:477)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
        at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:35)
        at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:99)
        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:217)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
2009-10-20 19:02:19,061 [ 114697]  ERROR - com.intellij.ide.IdeEventQueue - IntelliJ IDEA 8.1.3  Build #9886
2009-10-20 19:02:19,061 [ 114697]  ERROR - com.intellij.ide.IdeEventQueue - JDK: 1.5.0_20
2009-10-20 19:02:19,061 [ 114697]  ERROR - com.intellij.ide.IdeEventQueue - VM: Java HotSpot(TM) Client VM
2009-10-20 19:02:19,061 [ 114697]  ERROR - com.intellij.ide.IdeEventQueue - Vendor: Apple Inc.


Is there anything else I can do?

0
Comment actions Permalink

I've completely reinstalled 8 and deleted all the caches, preferences and application support files, and I'm still getting this problem. Could it be picking up my Maia config somehow?

0
Comment actions Permalink

does that help ?
http://jetbrains.net/jira/browse/IDEADEV-39016?disableRedirect

edit : sorry i see you already found this issue

0
Comment actions Permalink

lemming wrote:

Could it be picking up my Maia config somehow?

It is more likely something in your project files that was altered by Maia. Also I believe the EAP of 8.1.4 does not have this problem.

Bas

0
Comment actions Permalink

Yep, in the end I got it working by deleting all my config and downloading the 8.1.4 EAP. That's a really frustrating bug. Thanks for all the help!

Cheers,
Colin

0

Please sign in to leave a comment.