From: Michael on
When working in the Command Window, and trying to drop and drag text into a line for MATLAB to evaluate, the following shows up in the Command Window


Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 46
at sun.font.FontDesignMetrics.charsWidth(FontDesignMetrics.java:492)
at javax.swing.text.Utilities.getTabbedTextOffset(Utilities.java:381)
at javax.swing.text.Utilities.getTabbedTextOffset(Utilities.java:302)
at javax.swing.text.Utilities.getTabbedTextOffset(Utilities.java:286)
at javax.swing.text.PlainView.viewToModel(PlainView.java:403)
at javax.swing.plaf.basic.BasicTextUI$RootView.viewToModel(BasicTextUI.java:1541)
at javax.swing.plaf.basic.BasicTextUI.viewToModel(BasicTextUI.java:1090)
at javax.swing.plaf.basic.BasicTextUI.viewToModel(BasicTextUI.java:1063)
at javax.swing.text.JTextComponent.viewToModel(JTextComponent.java:1418)
at com.mathworks.mde.cmdwin.CmdWinDocument.getLinks(CmdWinDocument.java:2204)
at com.mathworks.mde.cmdwin.CmdWinDocument.isClickInHyperLink(CmdWinDocument.java:2128)
at com.mathworks.mde.cmdwin.XCaret.mouseMoved(XCaret.java:757)
at com.mathworks.mwswing.datatransfer.MWMouseDragGestureRecognizer.mouseMoved(MWMouseDragGestureRecognizer.java:515)
at java.awt.AWTEventMulticaster.mouseMoved(AWTEventMulticaster.java:313)
at java.awt.Component.processMouseMotionEvent(Component.java:6393)
at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3273)
at java.awt.Component.processEvent(Component.java:6117)
at java.awt.Container.processEvent(Container.java:2085)
at com.mathworks.mde.cmdwin.XCmdWndView.processEvent(XCmdWndView.java:367)
at java.awt.Component.dispatchEventImpl(Component.java:4714)
at java.awt.Container.dispatchEventImpl(Container.java:2143)
at java.awt.Component.dispatchEvent(Component.java:4544)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4295)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
at java.awt.Container.dispatchEventImpl(Container.java:2129)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4544)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

In red lettering, which is highly annoying. It doesn't stop matlab from evaluating the expression, but again, it is highly annoying. Does anyone know how to fix this?

Any suggestions would be greatly appreciated.
 | 
Pages: 1
Prev: Probplot Problem
Next: from string to function