Clear Filters
Clear Filters

MATLAB r2015b installation with error java.lang.​NullPointe​rException

5 views (last 30 days)
Hello everyone,
I have recently unistalled matlab r2015 on my Windows7 (32bit) machine and now I tried to re-install the same version with a campus license on the same computer, but it doesn't work. The installer application encountered an unexpected error and it stoped with the specific error message in log file as follow:
Task MATLAB R2015b Startup Accelerator for C:\Program Files\MATLAB\R2015b does not exist
java.lang.NullPointerException
at com.mathworks.install.ComponentSizeAggregator.add(ComponentSizeAggregator.java:13)
at com.mathworks.install.ProductInstallerImpl.downloadProducts(ProductInstallerImpl.java:102)
at com.mathworks.install.ProductInstallerImpl.installProducts(ProductInstallerImpl.java:62)
at com.mathworks.install.InstallerImpl.install(InstallerImpl.java:108)
at com.mathworks.installwizard.model.InstallTask.execute(InstallTask.java:46)
at com.mathworks.installwizard.model.AbstractBackgroundTask.execute(AbstractBackgroundTask.java:38)
at com.mathworks.installwizard.model.AbstractTask.call(AbstractTask.java:73)
at com.mathworks.installwizard.model.AbstractTask.call(AbstractTask.java:23)
at com.mathworks.wizard.worker.WorkerImpl.doInBackground(WorkerImpl.java:24)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I've tried to install another version, it seems work, but I still wonder what's the problem with r2015 reinstallation? I' ll appreciate it if anyone could help.

Answers (1)

Ayush Goyal
Ayush Goyal on 28 Jun 2022
Hi Xiaoyu,
I understand that you are facing an installation issue. Such errors generally occur due to corrupt files being used while performing Installation or uninstallation.
May you try performing a clean installation of MATLAB R2015b on your system using the link below?

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!