|
我在ml 2.0 b2 下使用idea5新建class后提示错误 请问如何解决
[PHP]Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(208,234),button=1,modifiers=Button1,clickCount=1] on dialog0
java.lang.IllegalArgumentException
at java.nio.Buffer.position(Buffer.java:218)
at sun.font.TrueTypeFont.lookupName(TrueTypeFont.java:818)
at sun.font.TrueTypeFont.getFamilyName(TrueTypeFont.java:884)
at java.awt.Font.getFamily(Font.java:957)
at java.awt.Font.getFamily_NoClientCode(Font.java:931)
at java.awt.Font.getFamily(Font.java:923)
at com.sun.java.swing.SwingUtilities2.displayPropertiesToCSS(SwingUtilities2.java:923)
at javax.swing.plaf.basic.BasicHTML$BasicDocument.setFontAndColor(BasicHTML.java:241)
at javax.swing.plaf.basic.BasicHTML$BasicDocument.<init>(BasicHTML.java:231)
at javax.swing.plaf.basic.BasicHTML$BasicEditorKit.createDefaultDocument(BasicHTML.java:187)
at javax.swing.plaf.basic.BasicHTML.createHTMLView(BasicHTML.java:36)
at javax.swing.plaf.basic.BasicHTML.updateRenderer(BasicHTML.java:83)
at javax.swing.plaf.basic.BasicButtonListener.propertyChange(BasicButtonListener.java:58)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:270)
at java.awt.Component.firePropertyChange(Component.java:7159)
at javax.swing.AbstractButton.setText(AbstractButton.java:232)
at com.intellij.ide.ui.AppearanceConfigurable$MyComponent.a(AppearanceConfigurable.java)
at com.intellij.ide.ui.AppearanceConfigurable$MyComponent.<init>(AppearanceConfigurable.java:21)
at com.intellij.ide.ui.AppearanceConfigurable.createComponent(AppearanceConfigurable.java:20)
at com.intellij.openapi.options.ex.SingleConfigurableEditor.createCenterPanel(SingleConfigurableEditor.java:18)
at com.intellij.openapi.ui.DialogWrapper.init(DialogWrapper.java:556)
at com.intellij.openapi.options.ex.SingleConfigurableEditor.<init>(SingleConfigurableEditor.java:4)
at com.intellij.openapi.options.ex.ControlPanelSettingsEditor.b(ControlPanelSettingsEditor.java:28)
at com.intellij.openapi.options.ex.ControlPanelSettingsEditor.access$900(ControlPanelSettingsEditor.java:6)
at com.intellij.openapi.options.ex.ControlPanelSettingsEditor$MyActionButton$1.mouseReleased(ControlPanelSettingsEditor.java:6)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:65)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:107)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:160)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.Dialog$1.run(Dialog.java:515)
at java.awt.Dialog.show(Dialog.java:536)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:48)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:56)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:722)
at com.intellij.ide.actions.ShowSettingsUtilImpl.showControlPanelOptions(ShowSettingsUtilImpl.java:26)
at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:40)
at com.intellij.ide.actions.ShowSettingsAction.actionPerformed(ShowSettingsAction.java:5)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:3)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:8)
at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:155)
at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:154)
at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:8)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:65)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:107)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:160)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)[/PHP] |
|