Problem when CreateClassFromUsageFix

I was about to create a new Class from a suggested Fix, when the Exception shown at bottom was thrown.
After that, UI widgets and panes (i.e the project pane) became unreadable -wrong fonts and/or character set (see screenshot).

I rezised the main window, just moving the bottom right window control (this is a Mac) and everything was normal again.

Thanks,
Gustavo


IntelliJ IDEA (Diana) #8858 Build #8858
JDK: 1.6.0_05
VM: Java HotSpot(TM) 64-Bit Server VM
Vendor: Apple Inc.

2008-10-06 12:16:13,560 WARN - ellij.openapi.ui.DialogWrapper - Showing of a modal dialog inside write-action may be dangerous and resulting in unpredictable behavior! Current modalityState=ModalityState.NON_MODAL
java.lang.Exception
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:140)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:839)
at com.intellij.codeInsight.daemon.impl.quickfix.CreateFromUsageUtils.createClass(CreateFromUsageUtils.java:195)
at com.intellij.codeInsight.daemon.impl.quickfix.CreateClassFromUsageFix$1.run(CreateClassFromUsageFix.java:5)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:111)
at com.intellij.codeInsight.daemon.impl.quickfix.CreateClassFromUsageFix.invoke(CreateClassFromUsageFix.java:11)
at com.intellij.codeInsight.intention.impl.IntentionHintComponent$6$1$1.run(IntentionHintComponent.java:6)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:28)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:31)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:84)
at com.intellij.codeInsight.intention.impl.IntentionHintComponent$6$1.run(IntentionHintComponent.java:1)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:7)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:207)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:115)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:56)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:300)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:210)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:195)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:187)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)



Attachment(s):
Picture 6.png
2 comments
Comment actions Permalink

Hey Gustavo, you'll get a better response if you post tickets to JIRA, instead of the forums. Check out this post for details:

http://www.intellij.net/forums/thread.jspa?messageID=5222664&#5222664

Tobin

0
Comment actions Permalink

Thanks Tobin.

Just lack of time I need to work on my projects, and the forum was handy. I will create a Jira as soon as possible.

Thanks again!

0

Please sign in to leave a comment.