nandeeka
17-01-2016, 23:29
We just started exploring GRIP and are have trouble deploying a GRIP program to the roboRIO.
After creating and saving a program in GRIP, when we go to deploy, we get the following exception:
An event subscriber threw an exception
## Stack Trace:
```java
java.lang.IllegalStateException: Tried to stop IP Camera 10.18.68.11 but it is already stopped.
at edu.wpi.grip.core.sources.CameraSource.stop(Camera Source.java:296)
at edu.wpi.grip.core.sources.CameraSource.onStopPipel ine(CameraSource.java:338)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.common.eventbus.EventSubscriber.handleE vent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscr iber.handleEvent(SynchronizedEventSubscriber.java: 47)
at com.google.common.eventbus.EventBus.dispatch(Event Bus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueued Events(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus. java:275)
at edu.wpi.grip.ui.DeployerController.onDeploy(Deploy erController.java:107)
at edu.wpi.grip.ui.deployment.DeploymentOptionsContro ller.lambda$deploy$21(DeploymentOptionsController. java:81)
at org.jdeferred.impl.AbstractPromise.triggerDone(Abs tractPromise.java:107)
at org.jdeferred.impl.AbstractPromise.triggerDone(Abs tractPromise.java:98)
at org.jdeferred.impl.DeferredObject.resolve(Deferred Object.java:70)
at edu.wpi.grip.ui.deployment.FRCAdvancedDeploymentOp tionsController.lambda$onDeploy$29(FRCAdvancedDepl oymentOptionsController.java:78)
at org.jdeferred.impl.AbstractPromise.triggerDone(Abs tractPromise.java:107)
at org.jdeferred.impl.AbstractPromise.triggerDone(Abs tractPromise.java:98)
at org.jdeferred.impl.DeferredObject.resolve(Deferred Object.java:70)
at org.jdeferred.DeferredFutureTask.done(DeferredFutu reTask.java:83)
at java.util.concurrent.FutureTask.finishCompletion(F utureTask.java:384)
at java.util.concurrent.FutureTask.set(FutureTask.jav a:233)
at java.util.concurrent.FutureTask.run(FutureTask.jav a:274)
at java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.jav a:266)
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)
```
## System Info:
Property Name | Property
----- | -----
GRIP Version | 1.0.0
java.version | 1.8.0_66
javafx.version | 8.0.66
os.name | Mac OS X
os.version | 10.11.2
os.arch | x86_64
Thanks for your help.
After creating and saving a program in GRIP, when we go to deploy, we get the following exception:
An event subscriber threw an exception
## Stack Trace:
```java
java.lang.IllegalStateException: Tried to stop IP Camera 10.18.68.11 but it is already stopped.
at edu.wpi.grip.core.sources.CameraSource.stop(Camera Source.java:296)
at edu.wpi.grip.core.sources.CameraSource.onStopPipel ine(CameraSource.java:338)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.common.eventbus.EventSubscriber.handleE vent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscr iber.handleEvent(SynchronizedEventSubscriber.java: 47)
at com.google.common.eventbus.EventBus.dispatch(Event Bus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueued Events(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus. java:275)
at edu.wpi.grip.ui.DeployerController.onDeploy(Deploy erController.java:107)
at edu.wpi.grip.ui.deployment.DeploymentOptionsContro ller.lambda$deploy$21(DeploymentOptionsController. java:81)
at org.jdeferred.impl.AbstractPromise.triggerDone(Abs tractPromise.java:107)
at org.jdeferred.impl.AbstractPromise.triggerDone(Abs tractPromise.java:98)
at org.jdeferred.impl.DeferredObject.resolve(Deferred Object.java:70)
at edu.wpi.grip.ui.deployment.FRCAdvancedDeploymentOp tionsController.lambda$onDeploy$29(FRCAdvancedDepl oymentOptionsController.java:78)
at org.jdeferred.impl.AbstractPromise.triggerDone(Abs tractPromise.java:107)
at org.jdeferred.impl.AbstractPromise.triggerDone(Abs tractPromise.java:98)
at org.jdeferred.impl.DeferredObject.resolve(Deferred Object.java:70)
at org.jdeferred.DeferredFutureTask.done(DeferredFutu reTask.java:83)
at java.util.concurrent.FutureTask.finishCompletion(F utureTask.java:384)
at java.util.concurrent.FutureTask.set(FutureTask.jav a:233)
at java.util.concurrent.FutureTask.run(FutureTask.jav a:274)
at java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.jav a:266)
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)
```
## System Info:
Property Name | Property
----- | -----
GRIP Version | 1.0.0
java.version | 1.8.0_66
javafx.version | 8.0.66
os.name | Mac OS X
os.version | 10.11.2
os.arch | x86_64
Thanks for your help.