MATLAB: Post-Installation Error

조회 수: 3(최근 30일)
Stephen Dixon
Stephen Dixon 2011년 7월 6일
Hi MATLAB Central,
I am trying to install MATLAB with several toolboxes for some computational biology, such as Simbiology, Statistics, Curve Fitting, and Bioinformatics. Trouble is, when the installer is at 97% completion and is performing post-installation tasks, the following error message occurs:
The application encountered an unexpected error and needs to close. More information can be found at log file here
The file mentioned gives the following abbreviated messages:
(Jul 06, 2011 13:27:14) Installing Product: MATLAB 7.12
(Jul 06, 2011 13:41:53) Installing Product: Bioinformatics Toolbox 3.8
(Jul 06, 2011 13:43:39) Installing Product: Curve Fitting Toolbox 3.1
(Jul 06, 2011 13:44:26) Installing Product: Global Optimization Toolbox 3.1.1
(Jul 06, 2011 13:44:52) Installing Product: Optimization Toolbox 6.0
(Jul 06, 2011 13:45:16) Installing Product: SimBiology 3.4
(Jul 06, 2011 13:48:21) Installing Product: Statistics Toolbox 7.5
(Jul 06, 2011 13:49:17) Installing Product: Symbolic Math Toolbox 5.6
(Jul 06, 2011 13:50:33) Registering Application
(Jul 06, 2011 13:50:33) setting HKEY_LOCAL_MACHINE\Software\MathWorks\MATLAB\7.12\MATLABROOT to C:\Program Files\MATLAB\R2011a-2
(Jul 06, 2011 13:50:33) setting HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\matlab.exe to C:\Program Files\MATLAB\R2011a-2\bin\win32\matlab.exe
(Jul 06, 2011 13:50:33) creating HKEY_CURRENT_USER\Software\MathWorks\MATLAB7.12
(Jul 06, 2011 13:50:33) Registering mwsamp.ocx
(Jul 06, 2011 13:50:33) Running [C:\WINDOWS\system32\regsvr32.exe, /s, "C:\Program Files\MATLAB\R2011a-2\toolbox\matlab\winfun\win32\mwsamp.ocx"]
(Jul 06, 2011 13:50:43) Registering mwsamp2.ocx
(Jul 06, 2011 13:50:43) Running [C:\WINDOWS\system32\regsvr32.exe, /s, "C:\Program Files\MATLAB\R2011a-2\toolbox\matlab\winfun\win32\mwsamp2.ocx"]
(Jul 06, 2011 13:50:43) registering assembly dotnetcli.dll in group MathWorks_Zone
(Jul 06, 2011 13:50:43) Calling getDotNetFrameworkLocation
(Jul 06, 2011 13:50:43) Unable to register .NET assembly C:\Program Files\MATLAB\R2011a-2\bin\win32\dotnetcli.dll in code group MathWorks_Zone
(Jul 06, 2011 13:50:44) Modify the system path if necessary.
(Jul 06, 2011 13:50:44) 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 javax.swing.SwingWorker.get(Unknown Source)
at com.mathworks.wizard.worker.WorkerImpl.done(
at javax.swing.SwingWorker$ Source)
at javax.swing.SwingWorker$ Source)
at Source)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$ Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at Source)
Caused by: java.lang.NullPointerException
at com.mathworks.install.command.InsertPathIntoSystemPathCommand.getSplitPath(
at com.mathworks.install.command.InsertPathIntoSystemPathCommand.elementAlreadyInPath(
at com.mathworks.install.command.InsertPathIntoSystemPathCommand.addElementBeforeOlderAndSameProductVersions(
at com.mathworks.install.command.InsertPathIntoSystemPathCommand.execute(
at com.mathworks.install.InstallModule$1.installProducts(
at com.mathworks.install.InstallerImpl.install(
at com.mathworks.installwizard.command.DWSInstaller.install(
at com.mathworks.installwizard.model.InstallTask.execute(
at com.mathworks.wizard.worker.WorkerImpl.doInBackground(
at javax.swing.SwingWorker$ Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at Source)
at Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$ Source)
at Source)
(Jul 06, 2011 13:50:44) Error: The application encountered an unexpected error and needs to close. More information can be found at C:\DOCUME~1\stephen\LOCALS~1\Temp\mathworks_stephen.log


Veera Kanmani
Veera Kanmani 2018년 4월 20일

Maria Concepcion Guirao Navarro
Maria Concepcion Guirao Navarro 2020년 4월 23일
Dear team,
I started the installation of Matlab yesterday. Everything was going ok , however it has not finished the post-installation tasks since yesterday but Matlab seems to keep doing tasks as it does not force the log out...
Could you please be so kind to help?
Thank you very much.


Community Treasure Hunt

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

Start Hunting!

Translated by