Log in

View Full Version : GRIP Throwing Exception Upon Deployment


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.

ThomasClark
18-01-2016, 02:32
This is a bug in GRIP 1.0.0 that was just fixed a few days ago (https://github.com/WPIRoboticsProjects/GRIP/issues/353). The next minor release (probably some time this week) will have this fixed.

nandeeka
18-01-2016, 10:53
Great, thanks for your help!

dcarns
20-01-2016, 16:53
I've been searching for this update but I've been unable to find it. We're having the same issue so if you could send me a link to the update it would be much appreciated! thanks

ThomasClark
22-01-2016, 12:31
I've been searching for this update but I've been unable to find it. We're having the same issue so if you could send me a link to the update it would be much appreciated! thanks

We just released it:

https://github.com/WPIRoboticsProjects/GRIP/releases/latest