Why does MATLAB installation crash near completion on Windows during 'post installation tasks'?

10 vues (au cours des 30 derniers jours)
The MATLAB R2010b Windows installation ran to near completion, but at approximately 90% if failed with the following error:
This application encountered an unexpected error and needs to close.
A log file includes the following Java errors:
java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at
...
...
...
Caused by: java.lang.NullPointerException
at com.mathworks.wizard.ui.components.PrintableEditorPane.setText(PrintableEditorPane.java:63)
at com.mathworks.wizard.ui.components.PrintableEditorPane.(PrintableEditorPane.java:55)
at com.mathworks.wizard.ui.components.SwingComponentFactoryImpl.createEditorPane(SwingComponentFactoryImpl.java:506)
at com.mathworks.wizard.ui.components.SwingComponentFactoryImpl.createLabel(SwingComponentFactoryImpl.java:448)
at com.mathworks.wizard.ui.components.SwingComponentFactoryImpl.createOptionPane(SwingComponentFactoryImpl.java:539)
at com.mathworks.wizard.ui.WizardUIImpl.showMessage(WizardUIImpl.java:280)
at com.mathworks.wizard.ui.WizardUIImpl.showErrorMessage(WizardUIImpl.java:261)
at com.mathworks.installwizard.model.AbstractBackgroundTask$MyFlowControlHandler.alert(AbstractBackgroundTask.java:196)
at com.mathworks.installwizard.model.AbstractBackgroundTask$MyFlowControlHandler.alert(AbstractBackgroundTask.java:181)
at com.mathworks.install.command.FileCopier.copyFile(FileCopier.java:55)
at
...
...
...

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 8 Août 2011
This error is triggered by an I/O exception while trying to copy the uninstaller into the installation. This may be due to limited free space in the selected installation location.
Despite the error, your MATLAB installation is likely complete except for a few non-critical items (the MATLAB shortcut, the uninstaller, etc). You can likely use the existing MATLAB installation. To determine if MATLAB is useable, move into the install location (for example, C:\Program Files\MATLAB\R2010b) and start MATLAB via the "matlab.exe" file found in the bin directory.
You may experience error messages about pathdef.m. In that case, you can run the following commands in MATLAB:
restoredefaultpath; matlabrc
savepath '$MATLAB\toolbox\local\pathdef.m'
(where $MATLAB is your installation folder)
For example:
savepath 'C:\Program Files\MATLAB\R2010b\toolbox\local\pathdef.m'
Once complete, restart MATLAB.
If MATLAB is non-functional, or if you would rather an entirely complete installation, follow the instructions below:
1. Delete the incomplete installation directory, ex:
C:\Program Files\MATLAB\R2010b
2. Clear up drive space in the selected location, or choose an alternate installation location.
3. Reinstall MATLAB.

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Produits


Version

R2010b

Community Treasure Hunt

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

Start Hunting!

Translated by