ling0 发表于 2007-6-9 22:12

这是哪里出了问题?

用matlab过程中,经常弹出以下信息,并且没完没了,按了Ctrl+c才停止,停止后就看不到光标了。这个问题如何解决或者有效防止?
java.lang.IllegalArgumentException: Invalid substring range
at java.text.AttributedString$AttributedStringIterator.<init>(Unknown Source)
at java.text.AttributedString.getIterator(Unknown Source)
at javax.swing.text.Utilities.drawComposedText(Unknown Source)
at javax.swing.text.PlainView.drawElement(Unknown Source)
at javax.swing.text.PlainView.drawLine(Unknown Source)
at com.mathworks.mde.cmdwin.CmdWinSyntaxUI$SyntaxPlainView.drawLine(CmdWinSyntaxUI.java:509)
at javax.swing.text.PlainView.paint(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI$RootView.paint(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI.paintSafely(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI.paint(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JViewport.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

[ 本帖最后由 eight 于 2007-6-9 23:40 编辑 ]

eight 发表于 2007-6-9 23:41

原帖由 ling0 于 2007-6-9 22:12 发表 http://www.chinavib.com/forum/images/common/back.gif
用matlab过程中,经常弹出以下信息,并且没完没了,按了Ctrl+c才停止,停止后就看不到光标了。这个问题如何解决或者有效防止?
java.lang.IllegalArgumentException: Invalid substring range
at java.text.A ...

上 mathworks.com 搜索一下吧

happy 发表于 2007-6-10 08:22

应该是java虚拟机的问题,不知道你的系统和matlab是什么版本的?

VibrationMaster 发表于 2007-6-10 09:08

我也经常遇到,可能是盗版的原因
页: [1]
查看完整版本: 这是哪里出了问题?