Connector errors when starting 2018b

Warning: Issue starting Connector. Please check that port 31415 is available.
Bundle#53 start failed: Loading C:\Program
Files\MATLAB\R2018b\bin\win64\connector_plugins\connector\jni_native_bridge\libmwconnectorjninativebridgeactivator.dllfailed
with error: %1 is not a valid Win32 application.
Error using connector.internal.doEnsureServiceOn
Error in Connector: Bundle#53 start failed: Loading C:\Program
Files\MATLAB\R2018b\bin\win64\connector_plugins\connector\jni_native_bridge\libmwconnectorjninativebridgeactivator.dllfailed
with error: %1 is not a valid Win32 application.
Error in connector.ensureServiceOn
Error using connector.internal.doEnsureServiceOn
Error in Connector: Bundle#53 start failed: Loading C:\Program
Files\MATLAB\R2018b\bin\win64\connector_plugins\connector\jni_native_bridge\libmwconnectorjninativebridgeactivator.dllfailed
with error: %1 is not a valid Win32 application.
Error in connector.ensureServiceOn
Error using connector.internal.doEnsureServiceOn
Error in Connector: Bundle#53 start failed: Loading C:\Program
Files\MATLAB\R2018b\bin\win64\connector_plugins\connector\jni_native_bridge\libmwconnectorjninativebridgeactivator.dllfailed
with error: %1 is not a valid Win32 application.
Error in connector.ensureServiceOn
Error using connector.internal.doEnsureServiceOn
Error in Connector: Bundle#53 start failed: Loading C:\Program
Files\MATLAB\R2018b\bin\win64\connector_plugins\connector\jni_native_bridge\libmwconnectorjninativebridgeactivator.dllfailed
with error: %1 is not a valid Win32 application.
Error in connector.ensureServiceOn
Error using connector.internal.doEnsureServiceOn
Error in Connector: Bundle#53 start failed: Loading C:\Program
Files\MATLAB\R2018b\bin\win64\connector_plugins\connector\jni_native_bridge\libmwconnectorjninativebridgeactivator.dllfailed
with error: %1 is not a valid Win32 application.
Error in connector.ensureServiceOn
Error using connector.internal.doEnsureServiceOn
Error in Connector: Bundle#53 start failed: Loading C:\Program
Files\MATLAB\R2018b\bin\win64\connector_plugins\connector\jni_native_bridge\libmwconnectorjninativebridgeactivator.dllfailed
with error: %1 is not a valid Win32 application.
Error in connector.ensureServiceOn
Error using connector.internal.doEnsureServiceOn
Error in Connector: Bundle#53 start failed: Loading C:\Program
Files\MATLAB\R2018b\bin\win64\connector_plugins\connector\jni_native_bridge\libmwconnectorjninativebridgeactivator.dllfailed
with error: %1 is not a valid Win32 application.
Error in connector.ensureServiceOn
Error using connector.internal.doEnsureServiceOn
Error in Connector: Bundle#53 start failed: Loading C:\Program
Files\MATLAB\R2018b\bin\win64\connector_plugins\connector\jni_native_bridge\libmwconnectorjninativebridgeactivator.dllfailed
with error: %1 is not a valid Win32 application.
Error in connector.ensureServiceOn
Error using connector.internal.doEnsureServiceOn
Error in Connector: Bundle#53 start failed: Loading C:\Program
Files\MATLAB\R2018b\bin\win64\connector_plugins\connector\jni_native_bridge\libmwconnectorjninativebridgeactivator.dllfailed
with error: %1 is not a valid Win32 application.
Error in connector.ensureServiceOn
Error using connector.internal.Future/get
Message not delivered: service 'connector/json/deserialize' not found, remainder
of address: [connector/configuration]
Error in connector.resetLocalePreference
Error using connector.internal.doEnsureServiceOn
Error in Connector: Bundle#53 start failed: Loading C:\Program
Files\MATLAB\R2018b\bin\win64\connector_plugins\connector\jni_native_bridge\libmwconnectorjninativebridgeactivator.dllfailed
with error: %1 is not a valid Win32 application.
Error in connector.ensureServiceOn
Exception in thread "AWT-EventQueue-0": java.lang.RuntimeException: java.lang.IllegalArgumentException: Service not found: 'connector/nativeBridge' remainder of address: [connector/cosg/registration]
at com.mathworks.connector.Future.get(Future.java:19)
at com.mathworks.connector.cosg.impl.CosgRegistryImpl.registerMessageHandler(CosgRegistryImpl.java:96)
at com.mathworks.connector.cosg.impl.CosgRegistryImpl.registerMessageHandler(CosgRegistryImpl.java:84)
at com.mathworks.installservicehandler.JsonPassThroughServiceHandler.init(JsonPassThroughServiceHandler.java:45)
at com.mathworks.installservicehandler.InstallServiceHandlerFactory.init(InstallServiceHandlerFactory.java:76)
at com.mathworks.matlab_login.MatlabLogin.initializeLoginServices(Unknown Source)
at com.mathworks.supportsoftwarematlabmanagement.upgrade.SsiUpgradeDialog$4.actionPerformed(SsiUpgradeDialog.java:222)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at com.mathworks.mwswing.MJButton.processMouseEvent(MJButton.java:350)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: Service not found: 'connector/nativeBridge' remainder of address: [connector/cosg/registration]
at com.mathworks.connector.impl.ConnectorImpl.handle(ConnectorImpl.java:66)
at com.mathworks.connector.impl.ContextImpl.handle(ContextImpl.java:182)
... 44 more
Error using connector.internal.doEnsureServiceOn
Error in Connector: Bundle#53 start failed: Loading C:\Program
Files\MATLAB\R2018b\bin\win64\connector_plugins\connector\jni_native_bridge\libmwconnectorjninativebridgeactivator.dllfailed
with error: %1 is not a valid Win32 application.
Error in connector.ensureServiceOn
Exception in thread "AWT-EventQueue-0": java.lang.RuntimeException: java.lang.IllegalArgumentException: Service not found: 'connector/nativeBridge' remainder of address: [connector/cosg/registration]
at com.mathworks.connector.Future.get(Future.java:19)
at com.mathworks.connector.cosg.impl.CosgRegistryImpl.registerMessageHandler(CosgRegistryImpl.java:96)
at com.mathworks.connector.cosg.impl.CosgRegistryImpl.registerMessageHandler(CosgRegistryImpl.java:84)
at com.mathworks.installservicehandler.JsonPassThroughServiceHandler.init(JsonPassThroughServiceHandler.java:45)
at com.mathworks.installservicehandler.InstallServiceHandlerFactory.init(InstallServiceHandlerFactory.java:76)
at com.mathworks.matlab_login.MatlabLogin.initializeLoginServices(Unknown Source)
at com.mathworks.supportsoftwarematlabmanagement.upgrade.SsiUpgradeDialog$4.actionPerformed(SsiUpgradeDialog.java:222)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at com.mathworks.mwswing.MJButton.processMouseEvent(MJButton.java:350)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: Service not found: 'connector/nativeBridge' remainder of address: [connector/cosg/registration]
at com.mathworks.connector.impl.ConnectorImpl.handle(ConnectorImpl.java:66)
at com.mathworks.connector.impl.ContextImpl.handle(ContextImpl.java:182)
... 44 more
Error using connector.internal.doEnsureServiceOn
Error in Connector: Bundle#53 start failed: Loading C:\Program
Files\MATLAB\R2018b\bin\win64\connector_plugins\connector\jni_native_bridge\libmwconnectorjninativebridgeactivator.dllfailed
with error: %1 is not a valid Win32 application.
Error in connector.ensureServiceOn

6 件のコメント

Walter Roberson
Walter Roberson 2018 年 10 月 16 日
A) Windows Firewall might be blocking internal communications on port 31415; or
B) You might be trying to run R2018b on a Windows 32 machine.
John Russo
John Russo 2018 年 11 月 18 日
編集済み: John Russo 2018 年 11 月 18 日
Still receiving error after turning McAfee Firewall off AND added access rule for permitting port 31415. Running 64 bit version of Windows 10 on 64 bit machine. Note that this error does not occur with R2016b installed on same PC and User as R2018b.
Walter Roberson
Walter Roberson 2018 年 11 月 18 日
I would recommend a reinstall. If that does not work then I recommend contacting Mathworks for free installation support.
John Russo
John Russo 2018 年 11 月 19 日
I've tried multiple installs in different drive location, all resulting in the same error behavior. I can try tech support, but I find it curious that R2016b works just fine, which is installed in the same root folder as R2018b. (Each of the releases are in different subfolders off the same root folder). Thanks for the response.
Danyu Zhang
Danyu Zhang 2019 年 5 月 15 日
Hi,
I confront the same problem. Have you solved this problem?
vignan mullapudi
vignan mullapudi 2020 年 7 月 8 日

Have You solved the problem?? If so, how??

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

回答 (1 件)

Cris LaPierre
Cris LaPierre 2018 年 11 月 21 日

0 投票

If your license is current, consider contacting technical support for support with the install.

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

製品

リリース

R2018b

タグ

質問済み:

2018 年 10 月 16 日

コメント済み:

2020 年 7 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by