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

9 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 10 Apr 2019
Modificato: MathWorks Support Team il 10 Apr 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.

Più risposte (2)

Sean de Wolski
Sean de Wolski il 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 il 20 Dic 2015
Modificato: Walter Roberson il 21 Dic 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

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by