MATLAB Answers

Why does the MATLAB 2017a Mac installer crash throwing an error about java.lang.​​NullPoint​e​rExcepti​on​Compone​nt and SizeAggregator in the log file?

2 views (last 30 days)
yangyang on 4 Jul 2017
Edited: yangyang on 5 Jul 2017
I have MacOS 10.12.5 and I have 2016b installed already. I tried to install 2017a but this is the error I got:
(Jul 04, 2017 21:36:48) java.lang.NullPointerException
at com.mathworks.install.ComponentSizeAggregator.add(
at com.mathworks.install.ProductInstallerImpl.downloadProducts(
at com.mathworks.install.ProductInstallerImpl.installProducts(
at com.mathworks.install.InstallerImpl.install(
at com.mathworks.installwizard.model.InstallTask.execute(
at com.mathworks.installwizard.model.AbstractBackgroundTask.execute(
at com.mathworks.wizard.worker.WorkerImpl.doInBackground(
at javax.swing.SwingWorker$
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$
(Jul 04, 2017 21:36:48) Error: The application encountered an unexpected error and needs to close. You may want to try re-installing your product(s). More information can be found at /var/folders/r0/r4rx7j0x6mngw7v8ypz4xdkr0000gn/T/mathworks_username.log (Jul 04, 2017 21:36:52) Exiting with status -1 (Jul 04, 2017 21:36:53) End - Unsuccessful.
Could someone help me to figure out what should I do to solve this issue?
P.S. I don't have any folder named MathWorks under Downloads.


Sign in to comment.

Answers (0)


Community Treasure Hunt

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

Start Hunting!