I recently updated my simulator from 5.9 to 5.11 so I can test my CAP using the newer API functions released in SDK 1.13. However, everytime I boot the simulator (even without my CAP installed) I get these 2 errors while it’s loading. It throws the “unable to set Remote Control” every time I try to switch from Manual to Remote, and this is something I use in my CAP.
I looked this up on the forum and the only thing I saw was that it was supposed to be fixed, but looks like it still isn’t. Any way to fix these 2 errors? Below is a paste-dump of the console log:
08:26:24.330 ERROR - Problem getting control mode from URAdmin script {thread: Thread-5 , loggerClass: com.ur.polyscope.security.impl.cybersecurity.service.impl.ControlModeRepositoryImpl}
com.ur.polyscope.security.impl.cybersecurity.service.SecurityException: Exception occurred in URAdmin
at com.ur.polyscope.security.impl.cybersecurity.service.impl.AbstractRepository.getState(AbstractRepository.java:37) ~[polyscope-security-impl-7.8.9.jar:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.ControlModeRepositoryImpl.getState(ControlModeRepositoryImpl.java:17) ~[polyscope-security-impl-7.8.9.jar:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.ControlModeRepositoryImpl.isRemoteControlActive(ControlModeRepositoryImpl.java:35) [polyscope-security-impl-7.8.9.jar:?]
at com.ur.polyscope.safety.remotecontrol.RemoteControlConfiguration.isRemoteControlFilteringEnabled(RemoteControlConfiguration.java:47) [polyscope-internal-remotecontrol-10.12.116.jar:?]
at com.ur.polyscope.safety.remotecontrol.RemoteControlImpl.<init>(RemoteControlImpl.java:40) [polyscope-internal-remotecontrol-10.12.116.jar:?]
at com.ur.polyscope.safety.remotecontrol.RemoteControlImpl$$FastClassByGuice$$89ee47ce.newInstance(<generated>) [polyscope-internal-remotecontrol-10.12.116.jar:?]
at com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:89) [guice-4.1.0.jar:?]
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:111) [guice-4.1.0.jar:?]
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90) [guice-4.1.0.jar:?]
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268) [guice-4.1.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [guice-4.1.0.jar:?]
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092) [guice-4.1.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [guice-4.1.0.jar:?]
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194) [guice-4.1.0.jar:?]
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [guice-4.1.0.jar:?]
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56) [guice-4.1.0.jar:?]
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38) [guice-4.1.0.jar:?]
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62) [guice-4.1.0.jar:?]
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110) [guice-4.1.0.jar:?]
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90) [guice-4.1.0.jar:?]
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268) [guice-4.1.0.jar:?]
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56) [guice-4.1.0.jar:?]
at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1019) [guice-4.1.0.jar:?]
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092) [guice-4.1.0.jar:?]
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1015) [guice-4.1.0.jar:?]
at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:375) [guice-4.1.0.jar:?]
at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:258) [guice-4.1.0.jar:?]
at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81) [guice-4.1.0.jar:?]
at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53) [guice-4.1.0.jar:?]
at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61) [guice-4.1.0.jar:?]
at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45) [guice-4.1.0.jar:?]
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38) [guice-4.1.0.jar:?]
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62) [guice-4.1.0.jar:?]
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110) [guice-4.1.0.jar:?]
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90) [guice-4.1.0.jar:?]
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268) [guice-4.1.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [guice-4.1.0.jar:?]
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092) [guice-4.1.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [guice-4.1.0.jar:?]
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194) [guice-4.1.0.jar:?]
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [guice-4.1.0.jar:?]
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56) [guice-4.1.0.jar:?]
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38) [guice-4.1.0.jar:?]
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62) [guice-4.1.0.jar:?]
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110) [guice-4.1.0.jar:?]
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90) [guice-4.1.0.jar:?]
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268) [guice-4.1.0.jar:?]
at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1019) [guice-4.1.0.jar:?]
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092) [guice-4.1.0.jar:?]
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1015) [guice-4.1.0.jar:?]
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1054) [guice-4.1.0.jar:?]
at com.ur.injection.GuiceBuilder.get(GuiceBuilder.java:30) [polyscope-lang-3.8.6.jar:?]
at gui.main.MainPanel.initFlippablePanel(MainPanel.java:33) [polyscope-internal-view-10.12.116.jar:?]
at gui.main.MainPanel.<init>(MainPanel.java:26) [polyscope-internal-view-10.12.116.jar:?]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_292]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [?:1.8.0_292]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [?:1.8.0_292]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [?:1.8.0_292]
at com.google.inject.internal.DefaultConstructionProxyFactory$ReflectiveProxy.newInstance(DefaultConstructionProxyFactory.java:126) [guice-4.1.0.jar:?]
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:111) [guice-4.1.0.jar:?]
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90) [guice-4.1.0.jar:?]
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268) [guice-4.1.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [guice-4.1.0.jar:?]
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092) [guice-4.1.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [guice-4.1.0.jar:?]
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194) [guice-4.1.0.jar:?]
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [guice-4.1.0.jar:?]
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38) [guice-4.1.0.jar:?]
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62) [guice-4.1.0.jar:?]
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110) [guice-4.1.0.jar:?]
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90) [guice-4.1.0.jar:?]
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268) [guice-4.1.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [guice-4.1.0.jar:?]
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092) [guice-4.1.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [guice-4.1.0.jar:?]
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194) [guice-4.1.0.jar:?]
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [guice-4.1.0.jar:?]
at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1019) [guice-4.1.0.jar:?]
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092) [guice-4.1.0.jar:?]
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1015) [guice-4.1.0.jar:?]
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1054) [guice-4.1.0.jar:?]
at com.ur.injection.GuiceBuilder.get(GuiceBuilder.java:30) [polyscope-lang-3.8.6.jar:?]
at gui.main.URGUI.<init>(URGUI.java:126) [polyscope-internal-view-10.12.116.jar:?]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_292]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [?:1.8.0_292]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [?:1.8.0_292]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [?:1.8.0_292]
at com.google.inject.internal.DefaultConstructionProxyFactory$ReflectiveProxy.newInstance(DefaultConstructionProxyFactory.java:126) [guice-4.1.0.jar:?]
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:111) [guice-4.1.0.jar:?]
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90) [guice-4.1.0.jar:?]
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268) [guice-4.1.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [guice-4.1.0.jar:?]
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092) [guice-4.1.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [guice-4.1.0.jar:?]
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194) [guice-4.1.0.jar:?]
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [guice-4.1.0.jar:?]
at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1019) [guice-4.1.0.jar:?]
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1085) [guice-4.1.0.jar:?]
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1015) [guice-4.1.0.jar:?]
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1054) [guice-4.1.0.jar:?]
at com.ur.injection.GuiceBuilder.get(GuiceBuilder.java:30) [polyscope-lang-3.8.6.jar:?]
at gui.main.URGUI.runInitThreads(URGUI.java:386) [polyscope-internal-view-10.12.116.jar:?]
at gui.main.URGUI.run(URGUI.java:218) [polyscope-internal-view-10.12.116.jar:?]
at gui.main.Activator$StartPolyScopeThread.run(Activator.java:74) [polyscope-internal-view-10.12.116.jar:?]
Caused by: com.ur.polyscope.security.impl.cybersecurity.service.URAdminException: java.io.IOException: Cannot run program "uradmin-print": error=2, No such file or directory
at com.ur.polyscope.security.impl.cybersecurity.service.impl.CommandInvoker.start(CommandInvoker.java:121) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.CommandInvoker.invokeURAdmin(CommandInvoker.java:61) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.CommandInvoker.invokeURAdmin(CommandInvoker.java:42) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.SecurityServiceImpl.invokeCommand(SecurityServiceImpl.java:34) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.SecurityServiceImpl.getState(SecurityServiceImpl.java:39) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.AbstractRepository.getState(AbstractRepository.java:35) ~[?:?]
... 103 more
Caused by: java.io.IOException: Cannot run program "uradmin-print": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) ~[?:1.8.0_292]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.CommandInvoker.start(CommandInvoker.java:115) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.CommandInvoker.invokeURAdmin(CommandInvoker.java:61) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.CommandInvoker.invokeURAdmin(CommandInvoker.java:42) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.SecurityServiceImpl.invokeCommand(SecurityServiceImpl.java:34) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.SecurityServiceImpl.getState(SecurityServiceImpl.java:39) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.AbstractRepository.getState(AbstractRepository.java:35) ~[?:?]
... 103 more
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method) ~[?:1.8.0_292]
at java.lang.UNIXProcess.<init>(UNIXProcess.java:247) ~[?:1.8.0_292]
at java.lang.ProcessImpl.start(ProcessImpl.java:134) ~[?:1.8.0_292]
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) ~[?:1.8.0_292]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.CommandInvoker.start(CommandInvoker.java:115) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.CommandInvoker.invokeURAdmin(CommandInvoker.java:61) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.CommandInvoker.invokeURAdmin(CommandInvoker.java:42) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.SecurityServiceImpl.invokeCommand(SecurityServiceImpl.java:34) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.SecurityServiceImpl.getState(SecurityServiceImpl.java:39) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.AbstractRepository.getState(AbstractRepository.java:35) ~[?:?]
... 103 more
08:26:26.671 ERROR - Problem setting control mode with URAdmin script {thread: Thread-5 , loggerClass: com.ur.polyscope.security.impl.cybersecurity.service.impl.ControlModeRepositoryImpl}
com.ur.polyscope.security.impl.cybersecurity.service.SecurityException: Exception occurred in URAdmin
at com.ur.polyscope.security.impl.cybersecurity.service.impl.AbstractRepository.runCommand(AbstractRepository.java:21) ~[polyscope-security-impl-7.8.9.jar:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.ControlModeRepositoryImpl.setRemoteControlActive(ControlModeRepositoryImpl.java:46) [polyscope-security-impl-7.8.9.jar:?]
at com.ur.polyscope.safety.remotecontrol.RemoteControlConfiguration.setRemoteControlFilteringEnabled(RemoteControlConfiguration.java:54) [polyscope-internal-remotecontrol-10.12.116.jar:?]
at com.ur.polyscope.safety.remotecontrol.RemoteControlImpl.doSetFiltering(RemoteControlImpl.java:78) [polyscope-internal-remotecontrol-10.12.116.jar:?]
at com.ur.polyscope.safety.remotecontrol.RemoteControlImpl.restoreFiltering(RemoteControlImpl.java:48) [polyscope-internal-remotecontrol-10.12.116.jar:?]
at com.ur.polyscope.safety.remotecontrol.internal.impl.ServiceBinderImpl.restoreRemoteControlStateAfterStart(ServiceBinderImpl.java:40) [polyscope-internal-remotecontrol-10.12.116.jar:?]
at com.ur.polyscope.safety.remotecontrol.internal.impl.Activator$ObserverService.onInitFinished(Activator.java:38) [polyscope-internal-remotecontrol-10.12.116.jar:?]
at gui.main.URGUIContext.raiseOnInitFinished(URGUIContext.java:29) [polyscope-internal-view-10.12.116.jar:?]
at gui.main.URGUI.runInitThreads(URGUI.java:450) [polyscope-internal-view-10.12.116.jar:?]
at gui.main.URGUI.run(URGUI.java:218) [polyscope-internal-view-10.12.116.jar:?]
at gui.main.Activator$StartPolyScopeThread.run(Activator.java:74) [polyscope-internal-view-10.12.116.jar:?]
Caused by: com.ur.polyscope.security.impl.cybersecurity.service.URAdminException: java.io.IOException: Cannot run program "uradmin-control-mode": error=2, No such file or directory
at com.ur.polyscope.security.impl.cybersecurity.service.impl.CommandInvoker.start(CommandInvoker.java:121) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.CommandInvoker.invokeURAdmin(CommandInvoker.java:61) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.CommandInvoker.executeCommand(CommandInvoker.java:51) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.SecurityServiceImpl.invokeCommand(SecurityServiceImpl.java:24) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.AbstractRepository.runCommand(AbstractRepository.java:19) ~[?:?]
... 10 more
Caused by: java.io.IOException: Cannot run program "uradmin-control-mode": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) ~[?:1.8.0_292]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.CommandInvoker.start(CommandInvoker.java:115) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.CommandInvoker.invokeURAdmin(CommandInvoker.java:61) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.CommandInvoker.executeCommand(CommandInvoker.java:51) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.SecurityServiceImpl.invokeCommand(SecurityServiceImpl.java:24) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.AbstractRepository.runCommand(AbstractRepository.java:19) ~[?:?]
... 10 more
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method) ~[?:1.8.0_292]
at java.lang.UNIXProcess.<init>(UNIXProcess.java:247) ~[?:1.8.0_292]
at java.lang.ProcessImpl.start(ProcessImpl.java:134) ~[?:1.8.0_292]
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) ~[?:1.8.0_292]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.CommandInvoker.start(CommandInvoker.java:115) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.CommandInvoker.invokeURAdmin(CommandInvoker.java:61) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.CommandInvoker.executeCommand(CommandInvoker.java:51) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.SecurityServiceImpl.invokeCommand(SecurityServiceImpl.java:24) ~[?:?]
at com.ur.polyscope.security.impl.cybersecurity.service.impl.AbstractRepository.runCommand(AbstractRepository.java:19) ~[?:?]
... 10 more