Why do I get a java exception when I click the link in an error message?

I have some MATLAB code that generates an error in the Command Window, and when I click on the hyperlink in the error message to go to tha offending line in the code I get an java exception.
The java exception starts with the line:
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: The given File must have an absolute path: C:\Windows\system32

 採用された回答

MathWorks Support Team
MathWorks Support Team 2013 年 4 月 24 日

0 投票

This bug has been fixed in Release 2013a (R2013a). For previous product releases, read below for any possible workarounds:
This java exception occurs in MATLAB 7.13 (R2011b) if the code that generates an error is on a path whose length is greater than or equal to 153 characters, and that contains a comma at or beyond the 106th position in the path.
As a workaround for this issue, you can either
1. move the code to a different directory that does not meet these conditions
or
2. remove the commas from path.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

製品

リリース

R2011b

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by