Why do I receive a "java.lang.ArrayIndexOutOfBoundsException" error in MATLAB 7.0 (R14) when starting GUIDE?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
When I start GUIDE by entering the following command at the MATLAB 7.0 (R14) prompt on Windows XP:
guide
I receive the following "java.lang.ArrayIndexOutOfBoundsException" error:
Exception occurred during event dispatching:
java.lang.ArrayIndexOutOfBoundsException: -2
at com.mathworks.mwt.MWGroupbox.initColors(MWGroupbox.java:571)
at com.mathworks.mwt.MWGroupbox.bufferedPaint(MWGroupbox.java:969)
at com.mathworks.mwt.MWPanel.paint(MWPanel.java:353)
at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
at java.awt.Container.paint(Unknown Source)
at com.mathworks.mwt.MWPanel.bufferedPaint(MWPanel.java:324)
at com.mathworks.mwt.MWPanel.paint(MWPanel.java:353)
at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
<snip>
Akzeptierte Antwort
MathWorks Support Team
am 27 Jun. 2009
This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
There is a bug in MATLAB 7.0 (R14) in the way that GUIDE handles nonstandard Windows XP color schemes.
To work around this issue, perform the following steps:
1. On Windows XP, open the Display Properties dialog. One way to access the Display Properties dialog is by right-clicking on the Windows desktop and selecting the "Properties" menu item from the context menu.
2. On the "Appearance" tab of the Display Properties dialog, select one of the following options in the "Color Scheme" drop-down list: Default (blue), Olive Green, or Silver.
3. Click "OK".
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Manage Products finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!