Why do I receive a java.lang.​NullPointe​rException and ComponentSizeAggregator error in the log file when attempting to install?

6 vues (au cours des 30 derniers jours)
During the download section of the MATLAB Installer, I receive a message stating "Error: The application encountered an unexpected error and needs to close. You may want to try re-installing your product(s)." The error message suggested I check my log file for more information. The log file contains this error among others:
java.lang.NullPointerException
at com.mathworks.install.ComponentSizeAggregator.add(ComponentSizeAggregator.java:13)
at com.mathworks.install.ProductInstallerImpl.downloadProducts(ProductInstallerImpl.java:96)
at com.mathworks.install.ProductInstallerImpl.installProducts(ProductInstallerImpl.java:57)
Why is this happening and how do I resolve this issue?

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 10 Avr 2019
Modifié(e) : MathWorks Support Team le 10 Avr 2019
To resolve this issue, re-download the installer/products as it may have been corrupted during the download process and go through the installation again.

Plus de réponses (2)

Sean de Wolski
Sean de Wolski le 12 Mar 2014
The directory that you have to remove will likely look something like:
C:\Users\[yourusername]\Downloads\MathWorks\R2014a
Delete the whole MathWorks directory.

Nafees  Ahmad
Nafees Ahmad le 20 Déc 2015
Modifié(e) : Walter Roberson le 21 Déc 2015
D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_Embedded_Coder64_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_HDL_Verifier42_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_Aerospace_Toolbox211_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_MATLAB_Report_Generator314_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_SystemTest265_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_System_Identification_Toolbox82_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_Image_Processing_Toolbox82_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_MATLAB_Coder24_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_RF_Toolbox212_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_Datafeed_Toolbox45_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_DO_Qualification_Kit21_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_Parallel_Computing_Toolbox62_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_Control_System_Toolbox95_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_Computer_Vision_System_Toolbox52_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_IEC_Certification_Kit31_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_Vehicle_Network_Toolbox20_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_MATLAB_Distributed_Computing_Server62_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_MATLAB_Compiler4181_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_Curve_Fitting_Toolbox331_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_MATLAB81_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_Bioinformatics_Toolbox43_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_Image_Acquisition_Toolbox45_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_Database_Toolbox41_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_MATLAB_Production_Server101_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_Simulink81_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_Fixed_Point_Designer40_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_Aerospace_Blockset311_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_Symbolic_Math_Toolbox510_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_MATLAB_Builder_NE413_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_Signal_Processing_Toolbox619_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_Instrument_Control_Toolbox33_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_Data_Acquisition_Toolbox33_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_DSP_System_Toolbox84_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_HDL_Coder32_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_Communications_System_Toolbox54_common.xml D:\2\MATLAB\Matlab801[2013]\archives\common\mwcontents_SimBiology43_common.xml

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by