Why do I receive a java.lang.NullPointerException and ComponentSizeAggregator error in the log file when attempting to install?
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 7 de Mzo. de 2014
Editada: MathWorks Support Team
el 10 de Abr. de 2019
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?
Respuesta aceptada
MathWorks Support Team
el 10 de Abr. de 2019
Editada: MathWorks Support Team
el 10 de Abr. de 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.
0 comentarios
Más respuestas (2)
Sean de Wolski
el 12 de Mzo. de 2014
The directory that you have to remove will likely look something like:
C:\Users\[yourusername]\Downloads\MathWorks\R2014a
Delete the whole MathWorks directory.
0 comentarios
Nafees Ahmad
el 20 de Dic. de 2015
Editada: Walter Roberson
el 21 de Dic. de 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
0 comentarios
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!