Why do I receive a Java error when I debug my function in MATLAB 7.0.1 (R14SP1)?
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I receive the following Java exception when I am debugging my program:
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.<init>(Unknown Source)
at com.mathworks.mlservices.MatlabDebugServices.createStackInfo(MatlabDebugServices.java:747)
at com.mathworks.mlservices.MatlabDebugServices$StackDispatch.completed(MatlabDebugServices.java:1669)
at com.mathworks.jmi.Matlab$CompletionHandler.messageReceived(Matlab.java:2095)
at com.mathworks.services.message.MWLooper.dispatchMessage(MWLooper.java:422)
at com.mathworks.services.message.MWLooper.runBridge(MWLooper.java:567)
at com.mathworks.services.message.MWLooper.run(MWLooper.java:536)
at java.lang.Thread.run(Unknown Source)
I have noticed that this occurs when the file I am debugging is in the directory:
C:\mydirectory\HW after solution\
I receive the same error, irrespective of the program I am debugging, as long as the file is in the above-mentioned directory.
Réponse acceptée
MathWorks Support Team
le 27 Juin 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.1 (R14SP1) in the way that the debugger handles files in directories whose names contain certain strings.
To work around this issue, move your files to a directory whose path does not contain the following strings or characters:
“ at “
“ In “
“> In “
“ after “
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Install Products dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!