View Single Post
  #1   Spotlight this post!  
Unread 17-01-2016, 23:29
nandeeka's Avatar
nandeeka nandeeka is offline
Registered User
FRC #1868
Team Role: Programmer
 
Join Date: May 2014
Rookie Year: 2013
Location: United States
Posts: 53
nandeeka is on a distinguished road
GRIP Throwing Exception Upon Deployment

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:

Code:
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(CameraSource.java:296)
	at edu.wpi.grip.core.sources.CameraSource.onStopPipeline(CameraSource.java:338)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
	at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
	at com.google.common.eventbus.EventBus.post(EventBus.java:275)
	at edu.wpi.grip.ui.DeployerController.onDeploy(DeployerController.java:107)
	at edu.wpi.grip.ui.deployment.DeploymentOptionsController.lambda$deploy$21(DeploymentOptionsController.java:81)
	at org.jdeferred.impl.AbstractPromise.triggerDone(AbstractPromise.java:107)
	at org.jdeferred.impl.AbstractPromise.triggerDone(AbstractPromise.java:98)
	at org.jdeferred.impl.DeferredObject.resolve(DeferredObject.java:70)
	at edu.wpi.grip.ui.deployment.FRCAdvancedDeploymentOptionsController.lambda$onDeploy$29(FRCAdvancedDeploymentOptionsController.java:78)
	at org.jdeferred.impl.AbstractPromise.triggerDone(AbstractPromise.java:107)
	at org.jdeferred.impl.AbstractPromise.triggerDone(AbstractPromise.java:98)
	at org.jdeferred.impl.DeferredObject.resolve(DeferredObject.java:70)
	at org.jdeferred.DeferredFutureTask.done(DeferredFutureTask.java:83)
	at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:384)
	at java.util.concurrent.FutureTask.set(FutureTask.java:233)
	at java.util.concurrent.FutureTask.run(FutureTask.java:274)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java: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.