MATLAB R2020a update_installer.exe offline update doesn't working

6 ビュー (過去 30 日間)
James Richard
James Richard 2020 年 5 月 3 日
コメント済み: James Richard 2020 年 5 月 7 日
R2020a Update 1 Package was just released in that link on 22 April 2020.
After you click download it will open this link
Offline installs are supported via a non-interactive command line-based installation process.
1. Install R2020a if you have not done so already.
2. Read the R2020a Updates Install Instructions.
3. When you are ready to apply the update, download the appropriate Update Package file below.
Now the problem is that, the second step says Read the R2020a Updates Install Instructions.
But by opening that link, this note appears
Note
Use this procedure only for R2018b and later.
It's a useless instruction.
If you try to run the command on windows cmd, for example like this
C:\Program Files\MATLAB\R2020a\bin\win64>update_installer.exe -updatepackage C:\R2020a_Update_1_Windows_package
You'll get this error on %TEMP%\mathworks_yourusername.log
(May 03, 2020 20:04:29) ##################################################################
(May 03, 2020 20:04:29) #
(May 03, 2020 20:04:29) # Today's Date:
(May 03, 2020 20:04:29) Sun May 03 20:04:26 ICT 2020
(May 03, 2020 20:04:29)
(May 03, 2020 20:04:29) System Info
(May 03, 2020 20:04:29) OS: Windows 10 10.0
(May 03, 2020 20:04:29) Arch: amd64
(May 03, 2020 20:04:29) Data Model: 64
(May 03, 2020 20:04:29) Language: en
(May 03, 2020 20:04:29) Java Vendor: Oracle Corporation
(May 03, 2020 20:04:29) Java Home: C:\Program Files\MATLAB\R2020a\sys\java\jre\win64\jre
(May 03, 2020 20:04:29) Java Version: 1.8.0_202
(May 03, 2020 20:04:29) Java VM Name: Java HotSpot(TM) 64-Bit Server VM
(May 03, 2020 20:04:29) Java Class Path: Skipped
(May 03, 2020 20:04:29) User Name: yourusername
(May 03, 2020 20:04:29) Current Directory: C:\Program Files\MATLAB\R2020a\bin\win64
(May 03, 2020 20:04:29) mode: silent
(May 03, 2020 20:04:29) matlabroot: C:\Program Files\MATLAB\R2020a
(May 03, 2020 20:04:29) sessionid: 9ef50248-95d6-4fa6-bc5f-c97f50af68dd
(May 03, 2020 20:04:29) helper_launch_path: C:\Users\yourusername\AppData\Local\Temp\mw_3571.tmp
(May 03, 2020 20:04:29) updatepackage: C:\R2020a_Update_1_Windows_package
(May 03, 2020 20:04:29) Current Update level: R2020a
(May 03, 2020 20:04:30) Something unexpected occurred.: This is not common.
To resolve this issue, contact Technical Support.
at com.mathworks.update_installer.ExceptionHandlerImpl.createUpdateInstallerException(Unknown Source)
at com.mathworks.update_installer.ExceptionHandlerImpl.processException(Unknown Source)
at com.mathworks.update_installer.UpdateInstallerService.setControllingProduct(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.mathworks.installservicehandler.JsonPassThroughResponseWrapper.getData(JsonPassThroughResponseWrapper.java:24)
at com.mathworks.installservicehandler.JsonPassThroughResponseWrapper.getData(JsonPassThroughResponseWrapper.java:10)
at com.mathworks.installservicehandler.InstallServiceHandlerClient.executeService(InstallServiceHandlerClient.java:18)
at com.mathworks.update_installer.UpdateInstallerClient$3.executeService(Unknown Source)
at com.mathworks.installjscommon.InstallerClientUtility.executeGetNextStateInSequence(Unknown Source)
at com.mathworks.update_installer.UpdateInstallerClient.clientMain(Unknown Source)
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:657)
at java.util.ArrayList.get(ArrayList.java:433)
... 11 more
(May 03, 2020 20:04:30) Update session complete.
If you just try to run the update_installer.exe
C:\Program Files\MATLAB\R2020a\bin\win64>update_installer.exe
The update installer will show up an error
and this is the error from %TEMP%\mathworks_yourusername.log
(May 03, 2020 20:09:44) ##################################################################
(May 03, 2020 20:09:44) #
(May 03, 2020 20:09:44) # Today's Date:
(May 03, 2020 20:09:44) Sun May 03 20:09:42 ICT 2020
(May 03, 2020 20:09:44)
(May 03, 2020 20:09:44) System Info
(May 03, 2020 20:09:44) OS: Windows 10 10.0
(May 03, 2020 20:09:44) Arch: amd64
(May 03, 2020 20:09:44) Data Model: 64
(May 03, 2020 20:09:44) Language: en
(May 03, 2020 20:09:44) Java Vendor: Oracle Corporation
(May 03, 2020 20:09:44) Java Home: C:\Program Files\MATLAB\R2020a\sys\java\jre\win64\jre
(May 03, 2020 20:09:44) Java Version: 1.8.0_202
(May 03, 2020 20:09:44) Java VM Name: Java HotSpot(TM) 64-Bit Server VM
(May 03, 2020 20:09:44) Java Class Path: Skipped
(May 03, 2020 20:09:44) User Name: yourusername
(May 03, 2020 20:09:44) Current Directory: C:\Program Files\MATLAB\R2020a\bin\win64
(May 03, 2020 20:09:44) matlabroot: C:\Program Files\MATLAB\R2020a
(May 03, 2020 20:09:44) sessionid: a20547f6-2c6a-4b91-84be-4b990be572fd
(May 03, 2020 20:09:44) helper_launch_path: C:\Users\yourusername\AppData\Local\Temp\mw_F320.tmp
(May 03, 2020 20:09:44) Current Update level: R2020a
(May 03, 2020 20:09:44) Something unexpected occurred.: This is not common.
To resolve this issue, contact Technical Support.
at com.mathworks.update_installer.ExceptionHandlerImpl.createUpdateInstallerException(Unknown Source)
at com.mathworks.update_installer.ExceptionHandlerImpl.processException(Unknown Source)
at com.mathworks.update_installer.UpdateInstallerService.setControllingProduct(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.mathworks.installservicehandler.JsonPassThroughResponseWrapper.getData(JsonPassThroughResponseWrapper.java:24)
at com.mathworks.installservicehandler.JsonPassThroughResponseWrapper.getData(JsonPassThroughResponseWrapper.java:10)
at com.mathworks.laisserver.impl.helper.RequestHandler.handleRequest(RequestHandler.java:44)
at com.mathworks.laisserver.impl.JsonServlet.doPost(JsonServlet.java:27)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:457)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:364)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:488)
at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:943)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1004)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:657)
at java.util.ArrayList.get(ArrayList.java:433)
... 35 more
(May 03, 2020 20:09:48) Update session complete.
So where is the R2020a offline update instruction?
I could confirm that I could offline update R2019b into update 5
How do you update R2020a offline as usual just like R2019b before?
  2 件のコメント
James Richard
James Richard 2020 年 5 月 6 日
any news?
Star Strider
Star Strider 2020 年 5 月 6 日
I had similar problems with R2020a Update 1.
I ‘solved’ it by continuing to try the update. On one computer (two-year-old desktop) it worked on the second attempt, on the other (relatively new laptop) I finally got it to install on the tenth attempt.
These obviously involved quitting and re-starting MATLAB each time. It is necessary to wait about ten minutes after shutting down MATLAB to attempt the update, since the update will fail unless MATLAB is completely off as san active process. Sometimes that seems to take a while, even on fast computers.
I have no idea what the problem is with the updates. Sometimes they work without problems, and other times ...

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2020 年 5 月 6 日
So where is the R2020a offline update instruction?
Note
Use this procedure only for R2018b and later.
You are installing R2020a and R2020a is later than R2018b, so there is no reason not to use the instructions.
A lot of people look at current documentation and assume that it applies to older releases as well. Mathworks is explicitly pointing out to people that the current procedure does not apply for R2018a or earlier.
  3 件のコメント
Walter Roberson
Walter Roberson 2020 年 5 月 7 日
"or later" refers to releases that were created after the noted period of time.
James Richard
James Richard 2020 年 5 月 7 日
Ah alright I admit my mistake. Just how do I offline update R2020a without getting error like that?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeInstall Products についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by