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

9 ビュー (過去 30 日間)
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?

採用された回答

MathWorks Support Team
MathWorks Support Team 2019 年 4 月 10 日
編集済み: MathWorks Support Team 2019 年 4 月 10 日
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.

その他の回答 (2 件)

Sean de Wolski
Sean de Wolski 2014 年 3 月 12 日
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 2015 年 12 月 20 日
編集済み: Walter Roberson 2015 年 12 月 21 日
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

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by