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 个评论

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.
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.
I would recommend a reinstall. If that does not work then I recommend contacting Mathworks for free installation support.
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.
Hi,
I confront the same problem. Have you solved this problem?

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

请先登录,再进行评论。

回答(1 个)

Cris LaPierre
Cris LaPierre 2018-11-21
If your license is current, consider contacting technical support for support with the install.

类别

帮助中心File Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

版本

R2018b

标签

Community Treasure Hunt

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

Start Hunting!

Translated by