A problem when I want to install R2017b, please help me

2 views (last 30 days)
(oct. 17, 2017 10:07:01) Task MATLAB R2017b Startup Accelerator for C:\Program Files\MATLAB\R2017b does not exist (oct. 17, 2017 10:07:01) java.lang.NullPointerException at com.mathworks.install.ComponentSizeAggregator.add(ComponentSizeAggregator.java:13) at com.mathworks.install.ProductInstallerImpl.downloadProducts(ProductInstallerImpl.java:143) at com.mathworks.install.ProductInstallerImpl.installProducts(ProductInstallerImpl.java:81) at com.mathworks.install.InstallerImpl.install(InstallerImpl.java:114) 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:74) at com.mathworks.installwizard.model.AbstractTask.call(AbstractTask.java:24) at com.mathworks.wizard.worker.WorkerImpl.doInBackground(WorkerImpl.java:24) at javax.swing.SwingWorker$1.call(SwingWorker.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at javax.swing.SwingWorker.run(SwingWorker.java:334) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
(oct. 17, 2017 10:07:01) Error: The application encountered an unexpected error and needs to close. You may want to try re-installing your product(s). More information can be found at C:\Users\ENSAI\AppData\Local\Temp\mathworks_ENSAI.log (oct. 17, 2017 10:07:05) Exiting with status -1 (oct. 17, 2017 10:07:05) End - Unsuccessful.
  1 Comment
Tianru Zhang
Tianru Zhang on 17 Oct 2017
(oct. 17, 2017 10:06:50) ################################################################## (oct. 17, 2017 10:06:50) # (oct. 17, 2017 10:06:50) # Today's Date: (oct. 17, 2017 10:06:50) Tue Oct 17 10:06:49 CEST 2017 (oct. 17, 2017 10:06:50) (oct. 17, 2017 10:06:50) System Info (oct. 17, 2017 10:06:50) OS: Windows 7 6.1 (oct. 17, 2017 10:06:50) Arch: amd64 (oct. 17, 2017 10:06:50) Data Model: 64 (oct. 17, 2017 10:06:50) Language: fr (oct. 17, 2017 10:06:50) Java Vendor: Oracle Corporation (oct. 17, 2017 10:06:50) Java Home: c:\users\ensai\downloads\mathworks\r2017b\sys\java\jre\win64\jre (oct. 17, 2017 10:06:50) Java Version: 1.8.0_121 (oct. 17, 2017 10:06:50) Java VM Name: Java HotSpot™ 64-Bit Server VM (oct. 17, 2017 10:06:50) Java Class Path: c:\users\ensai\downloads\mathworks\r2017b\java/config/professionalinstaller/pathlist.jar (oct. 17, 2017 10:06:50) User Name: ENSAI (oct. 17, 2017 10:06:50) Current Directory: C:\Users\ENSAI\Downloads\Mathworks\R2017b (oct. 17, 2017 10:06:50) Input arguments: (oct. 17, 2017 10:06:50) root c:\users\ensai\downloads\mathworks\r2017b (oct. 17, 2017 10:06:50) libdir c:\users\ensai\downloads\mathworks\r2017b (oct. 17, 2017 10:06:50) standalone true (oct. 17, 2017 10:06:51) Starting local product/component search in download directory (oct. 17, 2017 10:06:51) Searching for archives... (oct. 17, 2017 10:06:51) Reading c:\users\ensai\downloads\mathworks\r2017b\archives (oct. 17, 2017 10:06:51) 5999 files found in c:\users\ensai\downloads\mathworks\r2017b\archives (oct. 17, 2017 10:06:51) Reading c:\users\ensai\downloads\mathworks\r2017b (oct. 17, 2017 10:06:51) 20 files found in c:\users\ensai\downloads\mathworks\r2017b (oct. 17, 2017 10:06:51) Reading C:\Users\ENSAI\Downloads\MathWorks\R2017b\archives (oct. 17, 2017 10:06:51) 5999 files found in C:\Users\ENSAI\Downloads\MathWorks\R2017b\archives (oct. 17, 2017 10:06:51) Archive search complete. 12018 total files found. (oct. 17, 2017 10:06:54) Completed local product/component search (oct. 17, 2017 10:07:00) Default Installation Folder: C:\Program Files\MATLAB\R2017b (oct. 17, 2017 10:07:00) Confirmation Text: Installation folder: C:\Program Files\MATLAB\R2017b
Installation Size: 16 094 MB
Products: MATLAB 9.3 Simulink 9.0 Aerospace Blockset 3.20 Aerospace Toolbox 2.20 Antenna Toolbox 3.0 Automated Driving System Toolbox 1.1 Communications System Toolbox 6.5 Computer Vision System Toolbox 8.0 Control System Toolbox 10.3 Curve Fitting Toolbox 3.5.6 Data Acquisition Toolbox 3.12 Database Toolbox 8.0 DO Qualification Kit 3.4 DSP System Toolbox 9.5 Embedded Coder 6.13 Filter Design HDL Coder 3.1.2 Fixed-Point Designer 6.0 Fuzzy Logic Toolbox 2.3 Global Optimization Toolbox 3.4.3 GPU Coder 1.0 HDL Coder 3.11 HDL Verifier 5.3 IEC Certification Kit 3.10 Image Acquisition Toolbox 5.3 Image Processing Toolbox 10.1 Instrument Control Toolbox 3.12 LTE System Toolbox 2.5 Mapping Toolbox 4.5.1 MATLAB Coder 3.4 MATLAB Compiler 6.5 MATLAB Compiler SDK 6.4 MATLAB Report Generator 5.3 Model Predictive Control Toolbox 6.0 Model-Based Calibration Toolbox 5.3 Neural Network Toolbox 11.0 OPC Toolbox 4.0.4 Optimization Toolbox 8.0 Parallel Computing Toolbox 6.11 Partial Differential Equation Toolbox 2.5 Phased Array System Toolbox 3.5 Polyspace Bug Finder 2.4 Polyspace Code Prover 9.8 Powertrain Blockset 1.2 RF Blockset 6.1 RF Toolbox 3.3 Robotics System Toolbox 1.5 Robust Control Toolbox 6.4 Signal Processing Toolbox 7.5 SimEvents 5.3 Simscape 4.3 Simscape Driveline 2.13 Simscape Electronics 2.12 Simscape Fluids 2.3 Simscape Multibody 5.1 Simscape Power Systems 6.8 Simulink 3D Animation 7.8 Simulink Check 4.0 Simulink Code Inspector 3.1 Simulink Coder 8.13 Simulink Control Design 5.0 Simulink Coverage 4.0 Simulink Design Optimization 3.3 Simulink Design Verifier 3.4 Simulink Desktop Real-Time 5.5 Simulink PLC Coder 2.4 Simulink Real-Time 6.7 Simulink Report Generator 5.3 Simulink Requirements 1.0 Simulink Test 2.3 Stateflow 9.0 Statistics and Machine Learning Toolbox 11.2 Symbolic Math Toolbox 8.0 System Identification Toolbox 9.7 Vehicle Network Toolbox 3.4 Vision HDL Toolbox 1.5 Wavelet Toolbox 4.19 WLAN System Toolbox 1.4
(oct. 17, 2017 10:07:01) Task MATLAB R2017b Startup Accelerator for C:\Program Files\MATLAB\R2017b does not exist (oct. 17, 2017 10:07:01) java.lang.NullPointerException at com.mathworks.install.ComponentSizeAggregator.add(ComponentSizeAggregator.java:13) at com.mathworks.install.ProductInstallerImpl.downloadProducts(ProductInstallerImpl.java:143) at com.mathworks.install.ProductInstallerImpl.installProducts(ProductInstallerImpl.java:81) at com.mathworks.install.InstallerImpl.install(InstallerImpl.java:114) 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:74) at com.mathworks.installwizard.model.AbstractTask.call(AbstractTask.java:24) at com.mathworks.wizard.worker.WorkerImpl.doInBackground(WorkerImpl.java:24) at javax.swing.SwingWorker$1.call(SwingWorker.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at javax.swing.SwingWorker.run(SwingWorker.java:334) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
(oct. 17, 2017 10:07:01) Error: The application encountered an unexpected error and needs to close. You may want to try re-installing your product(s). More information can be found at C:\Users\ENSAI\AppData\Local\Temp\mathworks_ENSAI.log (oct. 17, 2017 10:07:05) Exiting with status -1 (oct. 17, 2017 10:07:05) End - Unsuccessful.

Sign in to comment.

Answers (2)

Alan Weiss
Alan Weiss on 17 Oct 2017
For installation help, contact technical support.
Alan Weiss
MATLAB mathematical toolbox documentation

martin
martin on 7 Dec 2017
I managed to work around this very problem by downloading and installing a 2017b trial version, then rerun my original setup, and switch to my normal license afterwards...
  2 Comments
Anjuri Kelaiya
Anjuri Kelaiya on 20 Feb 2018
I have also tried the same. It worked with trial license but when I tried to switch it to original license, again it is throwing the same error.
Steven Lord
Steven Lord on 20 Feb 2018
As Alan suggested, please contact Technical Support for help with this installation issue. You can contact them using the Contact Us link in the upper-right corner of this page.

Sign in to comment.

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!