GRIP runs virtually, fails when deployed #479

Closed
Arhowk opened this Issue Feb 6, 2016 · 6 comments

Projects

None yet

4 participants

@Arhowk
Arhowk commented Feb 6, 2016

I have a GRIP file that works fine if I just run it from the computer and load data over the dashboard. If I try to deploy it from the laptop, I get this bunch of errors

Loading Dependency Injection Framework
Jun 05, 2015 8:26:07 PM java.util.logging.LogManager$RootLogger log
CONFIG: Configuration done.
Jun 05, 2015 8:26:07 PM java.util.logging.LogManager$RootLogger log
CONFIG: GRIP Version: 1.1.1
platform: /Linux/arm/
Jun 05, 2015 8:26:12 PM edu.wpi.grip.core.Main start
INFO: Loading file /home/lvuser/project.grip
Jun 05, 2015 8:26:15 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: Input must have a value to run this step.
Jun 05, 2015 8:26:15 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: Input must have a value to run this step.
Jun 05, 2015 8:26:15 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: Input must have a value to run this step.
Jun 05, 2015 8:26:15 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: Input must have a value to run this step.
Jun 05, 2015 8:26:15 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: src must have a value to run this step.
Jun 05, 2015 8:26:15 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: src must have a value to run this step.
Jun 05, 2015 8:26:15 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: src must have a value to run this step.
Jun 05, 2015 8:26:15 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: src must have a value to run this step.
Jun 05, 2015 8:26:15 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: src must have a value to run this step.
Jun 05, 2015 8:26:15 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: src must have a value to run this step.
Jun 05, 2015 8:26:15 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: Input must have a value to run this step.
Jun 05, 2015 8:26:15 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: Input must have a value to run this step.
Jun 05, 2015 8:26:15 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: Value must have a value to run this step.
Jun 05, 2015 8:26:15 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: Value must have a value to run this step.
Jun 05, 2015 8:26:15 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: Value must have a value to run this step.
Jun 05, 2015 8:26:15 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: Value must have a value to run this step.
Jun 05, 2015 8:26:15 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: Value must have a value to run this step.
Jun 05, 2015 8:26:15 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: Value must have a value to run this step.
Jun 05, 2015 8:26:15 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: Value must have a value to run this step.
Jun 05, 2015 8:26:15 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: Value must have a value to run this step.
Jun 05, 2015 8:26:15 PM edu.wpi.grip.core.Step runPerformIfPossible
WARNING: The HSV Threshold operation did not perform correctly.
java.lang.IllegalArgumentException: HSV Threshold needs a 3-channel input
    at edu.wpi.grip.core.operations.composite.HSVThresholdOperation.perform(HSVThresholdOperation.java:71)
    at edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:137)
    at edu.wpi.grip.core.Step.onInputSocketChanged(Step.java:156)
    at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    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.core.serialization.ConnectionConverter.unmarshal(ConnectionConverter.java:58)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
    at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
    at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:98)
    at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91)
    at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:85)
    at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:480)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:412)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:263)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
    at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1206)
    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1190)
    at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1061)
    at edu.wpi.grip.core.serialization.Project.open(Project.java:68)
    at edu.wpi.grip.core.serialization.Project.open(Project.java:62)
    at edu.wpi.grip.core.Main.start(Main.java:59)
    at edu.wpi.grip.core.Main.main(Main.java:41)

Jun 05, 2015 8:26:16 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: The HSV Threshold operation did not perform correctly.
java.lang.IllegalArgumentException: HSV Threshold needs a 3-channel input
    at edu.wpi.grip.core.operations.composite.HSVThresholdOperation.perform(HSVThresholdOperation.java:71)
    at edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:137)
    at edu.wpi.grip.core.Step.onInputSocketChanged(Step.java:156)
    at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    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.core.serialization.ConnectionConverter.unmarshal(ConnectionConverter.java:58)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
    at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
    at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:98)
    at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91)
    at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:85)
    at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:480)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:412)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:263)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
    at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1206)
    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1190)
    at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1061)
    at edu.wpi.grip.core.serialization.Project.open(Project.java:68)
    at edu.wpi.grip.core.serialization.Project.open(Project.java:62)
    at edu.wpi.grip.core.Main.start(Main.java:59)
    at edu.wpi.grip.core.Main.main(Main.java:41)

Jun 05, 2015 8:26:16 PM edu.wpi.grip.core.Main onExceptionClearedEvent
INFO: Exception Cleared Event
OpenCV Error: Assertion failed (m.dims >= 2) in Mat, file /home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp, line 441
Jun 05, 2015 8:26:16 PM edu.wpi.grip.core.Step runPerformIfPossible
WARNING: The CV erode operation did not perform correctly.
java.lang.RuntimeException: /home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp:441: error: (-215) m.dims >= 2 in function Mat

    at org.bytedeco.javacpp.opencv_imgproc.erode(Native Method)
    at edu.wpi.grip.generated.opencv_imgproc.Erode.perform(Erode.java:63)
    at edu.wpi.grip.core.Operation.perform(Operation.java:61)
    at edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:137)
    at edu.wpi.grip.core.Step.onInputSocketChanged(Step.java:156)
    at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    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.core.serialization.ConnectionConverter.unmarshal(ConnectionConverter.java:58)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
    at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
    at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:98)
    at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91)
    at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:85)
    at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:480)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:412)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:263)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
    at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1206)
    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1190)
    at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1061)
    at edu.wpi.grip.core.serialization.Project.open(Project.java:68)
    at edu.wpi.grip.core.serialization.Project.open(Project.java:62)
    at edu.wpi.grip.core.Main.start(Main.java:59)
    at edu.wpi.grip.core.Main.main(Main.java:41)

Jun 05, 2015 8:26:16 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: The CV erode operation did not perform correctly.
java.lang.RuntimeException: /home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp:441: error: (-215) m.dims >= 2 in function Mat

    at org.bytedeco.javacpp.opencv_imgproc.erode(Native Method)
    at edu.wpi.grip.generated.opencv_imgproc.Erode.perform(Erode.java:63)
    at edu.wpi.grip.core.Operation.perform(Operation.java:61)
    at edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:137)
    at edu.wpi.grip.core.Step.onInputSocketChanged(Step.java:156)
    at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    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.core.serialization.ConnectionConverter.unmarshal(ConnectionConverter.java:58)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
    at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
    at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:98)
    at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91)
    at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:85)
    at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:480)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:412)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:263)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
    at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1206)
    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1190)
    at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1061)
    at edu.wpi.grip.core.serialization.Project.open(Project.java:68)
    at edu.wpi.grip.core.serialization.Project.open(Project.java:62)
    at edu.wpi.grip.core.Main.start(Main.java:59)
    at edu.wpi.grip.core.Main.main(Main.java:41)

OpenCV Error: Assertion failed (m.dims >= 2) in Mat, file /home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp, line 441
Jun 05, 2015 8:26:16 PM edu.wpi.grip.core.Step runPerformIfPossible
WARNING: The CV dilate operation did not perform correctly.
java.lang.RuntimeException: /home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp:441: error: (-215) m.dims >= 2 in function Mat

    at org.bytedeco.javacpp.opencv_imgproc.dilate(Native Method)
    at edu.wpi.grip.generated.opencv_imgproc.Dilate.perform(Dilate.java:63)
    at edu.wpi.grip.core.Operation.perform(Operation.java:61)
    at edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:137)
    at edu.wpi.grip.core.Step.onInputSocketChanged(Step.java:156)
    at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    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.core.serialization.ConnectionConverter.unmarshal(ConnectionConverter.java:58)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
    at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
    at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:98)
    at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91)
    at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:85)
    at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:480)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:412)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:263)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
    at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1206)
    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1190)
    at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1061)
    at edu.wpi.grip.core.serialization.Project.open(Project.java:68)
    at edu.wpi.grip.core.serialization.Project.open(Project.java:62)
    at edu.wpi.grip.core.Main.start(Main.java:59)
    at edu.wpi.grip.core.Main.main(Main.java:41)

Jun 05, 2015 8:26:16 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: The CV dilate operation did not perform correctly.
java.lang.RuntimeException: /home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp:441: error: (-215) m.dims >= 2 in function Mat

    at org.bytedeco.javacpp.opencv_imgproc.dilate(Native Method)
    at edu.wpi.grip.generated.opencv_imgproc.Dilate.perform(Dilate.java:63)
    at edu.wpi.grip.core.Operation.perform(Operation.java:61)
    at edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:137)
    at edu.wpi.grip.core.Step.onInputSocketChanged(Step.java:156)
    at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    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.core.serialization.ConnectionConverter.unmarshal(ConnectionConverter.java:58)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
    at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
    at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:98)
    at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91)
    at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:85)
    at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:480)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:412)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:263)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
    at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1206)
    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1190)
    at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1061)
    at edu.wpi.grip.core.serialization.Project.open(Project.java:68)
    at edu.wpi.grip.core.serialization.Project.open(Project.java:62)
    at edu.wpi.grip.core.Main.start(Main.java:59)
    at edu.wpi.grip.core.Main.main(Main.java:41)

Jun 05, 2015 8:26:16 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: The camera returned a null frame Mat
Jun 05, 2015 8:26:16 PM edu.wpi.grip.core.Main onExceptionClearedEvent
INFO: Exception Cleared Event
Jun 05, 2015 8:26:16 PM edu.wpi.grip.core.Main onExceptionClearedEvent
INFO: Exception Cleared Event
Jun 05, 2015 8:26:16 PM edu.wpi.grip.core.Main onExceptionClearedEvent
INFO: Exception Cleared Event
Jun 05, 2015 8:26:16 PM edu.wpi.grip.core.Main onExceptionClearedEvent
INFO: Exception Cleared Event
Jun 05, 2015 8:26:16 PM edu.wpi.grip.core.Main start
INFO: SUCCESS! The project is running in headless mode!
Jun 05, 2015 8:26:16 PM edu.wpi.grip.core.Main onExceptionClearedEvent
INFO: Exception Cleared Event
Jun 05, 2015 8:26:17 PM edu.wpi.grip.core.operations.networktables.NTManager lambda$new$8
INFO: NetworkTables: Dispatcher.cpp:392 client: CONNECTED to server 0.0.0.0 port 1735

When I run it on the RIO, I get these errors

12:30:23.905 PM
   WARNING: The CV dilate operation did not perform correctly.  OpenCV Error: Assertion failed (m.dims >= 2) in Mat, file /home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp, line 441    at edu.wpi.grip.core.Main.main(Main.java:41)    at edu.wpi.grip.core.serialization.Project.open(Project.java:62)    at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1061)      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1206)    at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)      at 

12:30:23.926 PM
 Feb 06, 2016 5:28:34 PM edu.wpi.grip.core.Main onExceptionEvent  Feb 06, 2016 5:28:34 PM edu.wpi.grip.core.Main onExceptionEvent  Feb 06, 2016 5:28:34 PM edu.wpi.grip.core.Main onExceptionEvent  Feb 06, 2016 5:28:34 PM edu.wpi.grip.core.Main onExceptionEvent  Feb 06, 2016 5:28:34 PM edu.wpi.grip.core.Main onExceptionEvent  Feb 06, 2016 5:28:33 PM edu.wpi.grip.core.Main onExceptionEvent  Feb 06, 2016 5:28:33 PM edu.wpi.grip.core.Main onExceptionEvent  Feb 06, 2016 5:28:31 PM edu.wpi.grip.core.Main start  CONFIG: Configuration done.  12:28:17:984 INFO    : nt                  : Server 0xb3f302d0 entered connection state: GOT_CONNECTION_FROM_CLIENT  12:28:17:507 INFO    : wpilib              : WPILib version 2016.0.0  Initialization Successfulrc  12:30:17:965 INFO    : nt                  : Server 0xb3f54310 entered connection state: CONNECTED_TO_CLIENT  Initialization Started  12:30:17:785 INFO    : wpilib              : HAL base version 2016.0.0; roboRIO platform version 2016.0.0  ➔ Launching «'/usr/local/bin/python3' '-u' '-O' '/home/lvuser/py/robot.py' 'run'»  INFO: NetworkTables: Dispatcher.cpp:392 client: CONNECTED to server 0.0.0.0 port 1735  12:28:36:791 INFO    : nt                  : Server 0xb3f30f30 entered connection state: GOT_CONNECTION_FROM_CLIENT  12:28:36:284 INFO    : nt                  : Server 0xb3f30cd0 entered connection state: SERVER_ERROR: Client Connected with bad protocol revision: 0x300  INFO: Exception Cleared Event  INFO: Exception Cleared Event  INFO: Exception Cleared Event  12:28:35:493 INFO    : nt                  : Close: Server 0xb3f30b90  INFO: SUCCESS! The project is running in headless mode!  12:28:35:465 INFO    : nt                  : Server 0xb3f30b90 entered connection state: GOT_CONNECTION_FROM_CLIENT  Feb 06, 2016 5:28:34 PM edu.wpi.grip.core.Main onExceptionClearedEvent      at edu.wpi.grip.core.Main.main(Main.java:41)    at edu.wpi.grip.core.serialization.Project.open(Project.java:62)    at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1061)      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1206)    at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:263)   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:480)     at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)     at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:85)      at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:98)   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)     at com.google.common.eventbus.EventBus.post(EventBus.java:275)      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)      at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)    at edu.wpi.grip.core.Step.onInputSocketChanged(Step.java:156)   at edu.wpi.grip.core.Operation.perform(Operation.java:61)   at org.bytedeco.javacpp.opencv_imgproc.erode(Native Method)  java.lang.RuntimeException: /home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp:441: error: (-215) m.dims >= 2 in function Mat  Feb 06, 2016 5:28:34 PM edu.wpi.grip.core.Main onExceptionEvent   at edu.wpi.grip.core.Main.main(Main.java:41)    at edu.wpi.grip.core.serialization.Project.open(Project.java:62)    at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1061)      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1206)    at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:263)   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:480)     at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)     at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:85)      at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:98)   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)     at com.google.common.eventbus.EventBus.post(EventBus.java:275)      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)      at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)    at edu.wpi.grip.core.Step.onInputSocketChanged(Step.java:156)   at edu.wpi.grip.core.Operation.perform(Operation.java:61)   at org.bytedeco.javacpp.opencv_imgproc.erode(Native Method)  java.lang.RuntimeException: /home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp:441: error: (-215) m.dims >= 2 in function Mat  Feb 06, 2016 5:28:34 PM edu.wpi.grip.core.Step runPerformIfPossible  INFO: Exception Cleared Event        at edu.wpi.grip.core.Main.start(Main.java:59)   at edu.wpi.grip.core.serialization.Project.open(Project.java:68)    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1190)    at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)     at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:412)     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)      at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)   at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91)      at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)      at edu.wpi.grip.core.serialization.ConnectionConverter.unmarshal(ConnectionConverter.java:58)   at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)      at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)      at java.lang.reflect.Method.invoke(Method.java:483)     at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)      at edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:137)   at edu.wpi.grip.generated.opencv_imgproc.Dilate.perform(Dilate.java:63)    SEVERE: The CV dilate operation did not perform correctly.       at edu.wpi.grip.core.Main.start(Main.java:59)   at edu.wpi.grip.core.serialization.Project.open(Project.java:68)    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1190)    at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)     at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:412)     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)      at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)   at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91)      at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)      at edu.wpi.grip.core.serialization.ConnectionConverter.unmarshal(ConnectionConverter.java:58)   at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)      at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)      at java.lang.reflect.Method.invoke(Method.java:483)     at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)      at edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:137)   at edu.wpi.grip.generated.opencv_imgproc.Dilate.perform(Dilate.java:63) Warning  44003  FRC:  No robot code is currently running.  Driver Station 

12:30:23.945 PM
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)      at edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:137)       at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)      at java.lang.reflect.Method.invoke(Method.java:483)    Feb 06, 2016 5:28:34 PM edu.wpi.grip.core.Main onExceptionEvent  Feb 06, 2016 5:28:34 PM edu.wpi.grip.core.Main onExceptionEvent  Feb 06, 2016 5:28:34 PM edu.wpi.grip.core.Main onExceptionEvent  Feb 06, 2016 5:28:34 PM edu.wpi.grip.core.Main onExceptionEvent  Feb 06, 2016 5:28:33 PM edu.wpi.grip.core.Main onExceptionEvent  CONFIG: GRIP Version: 1.1.1  12:28:17:511 INFO    : wpilib              : HAL library version jenkins-release-2016.405  Unhandled exception in thread started by <bound method Camera.startProcess of <modules.camera.Camera object at 0xb3f54bb0>>  12:30:17:786 INFO    : wpilib              : HAL library version jenkins-release-2016.405  12:28:36:833 INFO    : nt                  : Server 0xb3f30f30 entered connection state: CONNECTED_TO_CLIENT  12:28:36:288 INFO    : nt                  : Close: Server 0xb3f30cd0  Feb 06, 2016 5:28:35 PM edu.wpi.grip.core.Main onExceptionClearedEvent  Feb 06, 2016 5:28:35 PM edu.wpi.grip.core.Main onExceptionClearedEvent  Feb 06, 2016 5:28:35 PM edu.wpi.grip.core.Main start       at edu.wpi.grip.core.serialization.Project.open(Project.java:68)    at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)     at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)      at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91)      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)      at java.lang.reflect.Method.invoke(Method.java:483)     at edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:137)       at edu.wpi.grip.core.serialization.Project.open(Project.java:68)    at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)     at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)      at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91)      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)      at java.lang.reflect.Method.invoke(Method.java:483)     at edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:137)    OpenCV Error: Assertion failed (m.dims >= 2) in Mat, file /home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp, line 441   at edu.wpi.grip.core.Main.main(Main.java:41)    at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1061)      at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:263)   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)     at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:98)   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)     at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)    at edu.wpi.grip.core.Operation.perform(Operation.java:61)  java.lang.RuntimeException: /home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp:441: error: (-215) m.dims >= 2 in function Mat      at edu.wpi.grip.core.Main.main(Main.java:41)    at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1061)      at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:263)   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)     at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:98)   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)     at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)    at edu.wpi.grip.core.Operation.perform(Operation.java:61)  java.lang.RuntimeException: /home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp:441: error: (-215) m.dims >= 2 in function Mat      at edu.wpi.grip.core.serialization.Project.open(Project.java:68)    at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)     at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)      at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91)      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)      at java.lang.reflect.Method.invoke(Method.java:483)     at edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:137)  Feb 06, 2016 5:28:34 PM edu.wpi.grip.core.Main onExceptionEvent      at edu.wpi.grip.core.serialization.Project.open(Project.java:62)    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1206)    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:480)     at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:85)      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)      at com.google.common.eventbus.EventBus.post(EventBus.java:275)      at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)      at edu.wpi.grip.core.Step.onInputSocketChanged(Step.java:156)  WARNING: The HSV Threshold operation did not perform correctly.      at edu.wpi.grip.core.Main.start(Main.java:59)   at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1190)    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:412)     at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)   at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)    at edu.wpi.grip.core.serialization.ConnectionConverter.unmarshal(ConnectionConverter.java:58)   at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)      at edu.wpi.grip.generated.opencv_imgproc.Dilate.perform(Dilate.java:63)  SEVERE: The CV dilate operation did not perform correctly.     at edu.wpi.grip.core.Main.start(Main.java:59)   at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1190)    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:412)     at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)   at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)    at edu.wpi.grip.core.serialization.ConnectionConverter.unmarshal(ConnectionConverter.java:58)   at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)      at edu.wpi.grip.generated.opencv_imgproc.Dilate.perform(Dilate.java:63)  WARNING: The CV dilate operation did not perform correctly.  Feb 06, 2016 5:28:34 PM edu.wpi.grip.core.Main onExceptionEvent  Feb 06, 2016 5:28:34 PM edu.wpi.grip.core.Main onExceptionEvent  Feb 06, 2016 5:28:34 PM edu.wpi.grip.core.Main onExceptionEvent 

12:30:23.967 PM
 WARNING: The CV erode operation did not perform correctly.     at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)      at edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:137)  Feb 06, 2016 5:28:35 PM edu.wpi.grip.core.Main onExceptionClearedEvent   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)      at com.google.common.eventbus.EventBus.post(EventBus.java:275)      at edu.wpi.grip.core.Main.start(Main.java:59)   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)     at edu.wpi.grip.core.serialization.Project.open(Project.java:68)  Feb 06, 2016 5:28:34 PM edu.wpi.grip.core.Main onExceptionEvent  12:30:17:955 INFO    : nt                  : Server 0xb3f54310 entered connection state: GOT_CONNECTION_FROM_CLIENT      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1190)    at edu.wpi.grip.generated.opencv_imgproc.Erode.perform(Erode.java:63)   at edu.wpi.grip.core.serialization.ConnectionConverter.unmarshal(ConnectionConverter.java:58)   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)  Feb 06, 2016 5:28:34 PM edu.wpi.grip.core.Main onExceptionEvent     at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)      at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)   at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)      at java.lang.reflect.Method.invoke(Method.java:483)     at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91)  Feb 06, 2016 5:28:34 PM edu.wpi.grip.core.Main onExceptionEvent  Feb 06, 2016 5:28:33 PM edu.wpi.grip.core.Main onExceptionEvent  Feb 06, 2016 5:28:36 PM edu.wpi.grip.core.operations.networktables.NTManager lambda$new$8  INFO: Exception Cleared Event      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:412)     at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)      at edu.wpi.grip.core.Main.start(Main.java:59)   at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)   at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)      at edu.wpi.grip.core.serialization.Project.open(Project.java:62)    at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:85)      at edu.wpi.grip.core.Step.onInputSocketChanged(Step.java:156)   at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1206)    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)      at org.bytedeco.javacpp.opencv_imgproc.dilate(Native Method)    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)      at edu.wpi.grip.core.serialization.ConnectionConverter.unmarshal(ConnectionConverter.java:58)   at edu.wpi.grip.core.Main.main(Main.java:41)    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)    at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)     at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)  OpenCV Error: Assertion failed (m.dims >= 2) in Mat, file /home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp, line 441  Feb 06, 2016 5:28:34 PM edu.wpi.grip.core.Main onExceptionEvent  Feb 06, 2016 5:28:34 PM edu.wpi.grip.core.Main onExceptionEvent  Loading Dependency Injection Framework  TypeError: startProcess() takes 1 positional argument but 3 were given  12:30:17:782 INFO    : wpilib              : WPILib version 2016.0.0  12:28:36:263 INFO    : nt                  : Server 0xb3f30cd0 entered connection state: GOT_CONNECTION_FROM_CLIENT  12:28:35:488 INFO    : nt                  : Server 0xb3f30b90 entered connection state: CLIENT_DISCONNECTED     at edu.wpi.grip.core.Main.start(Main.java:59)   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)      at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)   at edu.wpi.grip.core.serialization.ConnectionConverter.unmarshal(ConnectionConverter.java:58)   at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)  SEVERE: The CV erode operation did not perform correctly.   at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1190)    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:412)     at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)      at edu.wpi.grip.generated.opencv_imgproc.Erode.perform(Erode.java:63)  Feb 06, 2016 5:28:34 PM edu.wpi.grip.core.Main onExceptionClearedEvent   at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1206)    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:480)     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)      at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)      at org.bytedeco.javacpp.opencv_imgproc.dilate(Native Method)    at edu.wpi.grip.core.serialization.Project.open(Project.java:62)    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)      at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:85)      at com.google.common.eventbus.EventBus.post(EventBus.java:275)      at edu.wpi.grip.core.Step.onInputSocketChanged(Step.java:156)  Feb 06, 2016 5:28:34 PM edu.wpi.grip.core.Step runPerformIfPossible      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1190)    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:412)     at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)  java.lang.IllegalArgumentException: HSV Threshold needs a 3-channel input   at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1061)      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:263)   at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:98)   at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)      at edu.wpi.grip.core.operations.composite.HSVThresholdOperation.perform(HSVThresholdOperation.java:71)      at edu.wpi.grip.core.serialization.Project.open(Project.java:68)    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)     at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91) 


12:30:24.023 PM
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:480)     at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) 

heres my grip file

<grip:Pipeline>
  <sources>
    <grip:Camera>
      <property name="address" value="http://axis-camera.local/mjpg/video.mjpg"/>
    </grip:Camera>
  </sources>
  <steps>
    <grip:Step name="HSV Threshold">
      <grip:Input step="0" socket="0"/>
      <grip:Input step="0" socket="1">
        <value>
          <double>63.129496402877706</double>
          <double>101.21212121212123</double>
        </value>
      </grip:Input>
      <grip:Input step="0" socket="2">
        <value>
          <double>174.28057553956833</double>
          <double>255.0</double>
        </value>
      </grip:Input>
      <grip:Input step="0" socket="3">
        <value>
          <double>176.57374100719423</double>
          <double>255.0</double>
        </value>
      </grip:Input>
      <grip:Output step="0" socket="0" previewed="true"/>
    </grip:Step>
    <grip:Step name="CV erode">
      <grip:Input step="1" socket="0"/>
      <grip:Input step="1" socket="1"/>
      <grip:Input step="1" socket="2"/>
      <grip:Input step="1" socket="3">
        <value>1.0</value>
      </grip:Input>
      <grip:Input step="1" socket="4">
        <value>BORDER_CONSTANT</value>
      </grip:Input>
      <grip:Input step="1" socket="5"/>
      <grip:Output step="1" socket="0" previewed="false"/>
    </grip:Step>
    <grip:Step name="CV dilate">
      <grip:Input step="2" socket="0"/>
      <grip:Input step="2" socket="1"/>
      <grip:Input step="2" socket="2"/>
      <grip:Input step="2" socket="3">
        <value>17.0</value>
      </grip:Input>
      <grip:Input step="2" socket="4">
        <value>BORDER_CONSTANT</value>
      </grip:Input>
      <grip:Input step="2" socket="5"/>
      <grip:Output step="2" socket="0" previewed="true"/>
    </grip:Step>
    <grip:Step name="Find Contours">
      <grip:Input step="3" socket="0"/>
      <grip:Input step="3" socket="1">
        <value>false</value>
      </grip:Input>
      <grip:Output step="3" socket="0" previewed="false"/>
    </grip:Step>
    <grip:Step name="Filter Contours">
      <grip:Input step="4" socket="0"/>
      <grip:Input step="4" socket="1">
        <value>400.0</value>
      </grip:Input>
      <grip:Input step="4" socket="2">
        <value>75.0</value>
      </grip:Input>
      <grip:Input step="4" socket="3">
        <value>0.0</value>
      </grip:Input>
      <grip:Input step="4" socket="4">
        <value>1000.0</value>
      </grip:Input>
      <grip:Input step="4" socket="5">
        <value>0.0</value>
      </grip:Input>
      <grip:Input step="4" socket="6">
        <value>1000.0</value>
      </grip:Input>
      <grip:Input step="4" socket="7">
        <value>
          <int>0</int>
          <int>100</int>
        </value>
      </grip:Input>
      <grip:Output step="4" socket="0" previewed="true"/>
    </grip:Step>
    <grip:Step name="Publish ContoursReport">
      <grip:Input step="5" socket="0"/>
      <grip:Input step="5" socket="1">
        <value>targetDetection</value>
      </grip:Input>
      <grip:Input step="5" socket="2">
        <value>true</value>
      </grip:Input>
      <grip:Input step="5" socket="3">
        <value>true</value>
      </grip:Input>
      <grip:Input step="5" socket="4">
        <value>true</value>
      </grip:Input>
      <grip:Input step="5" socket="5">
        <value>true</value>
      </grip:Input>
      <grip:Input step="5" socket="6">
        <value>true</value>
      </grip:Input>
      <grip:Input step="5" socket="7">
        <value>true</value>
      </grip:Input>
    </grip:Step>
  </steps>
  <connections>
    <grip:Connection>
      <grip:Output step="0" socket="0" previewed="true"/>
      <grip:Input step="1" socket="0"/>
    </grip:Connection>
    <grip:Connection>
      <grip:Output step="4" socket="0" previewed="true"/>
      <grip:Input step="5" socket="0"/>
    </grip:Connection>
    <grip:Connection>
      <grip:Output source="0" socket="0" previewed="true"/>
      <grip:Input step="0" socket="0"/>
    </grip:Connection>
    <grip:Connection>
      <grip:Output step="3" socket="0" previewed="false"/>
      <grip:Input step="4" socket="0"/>
    </grip:Connection>
    <grip:Connection>
      <grip:Output step="0" socket="0" previewed="true"/>
      <grip:Input step="2" socket="0"/>
    </grip:Connection>
    <grip:Connection>
      <grip:Output step="2" socket="0" previewed="true"/>
      <grip:Input step="3" socket="0"/>
    </grip:Connection>
  </connections>
  <settings>
    <teamNumber>1684</teamNumber>
    <publishAddress></publishAddress>
    <deployAddress>roborio-1684-frc.local</deployAddress>
    <deployDir>/home/lvuser</deployDir>
    <deployUser>lvuser</deployUser>
    <deployJavaHome>/usr/local/frc/JRE/</deployJavaHome>
  </settings>
</grip:Pipeline>
@rlee287
rlee287 commented Feb 7, 2016

Try running GRIP from a console or somewhere where you will be able to capture GRIP's output (I personally use Eclipse to build from source and watch the console log) on a laptop. Whenever GRIP initially loads a file or deploys, it prints errors like what you described (I believe the devs are currently working to fix this).

I would verify that NetworkTables are being published properly once deployed. If it is, then the errors can be ignored.

@Arhowk
Arhowk commented Feb 8, 2016

1.2.0 gives me this

/usr/local/frc/JRE//bin/java null -jar '/home/lvuser/grip.jar' '/home/lvuser/project.grip'
Error: Could not find or load main class null

@JLLeitschuh
Member

Can you open a new issue about that. I'll label that high priority.
Also include your save file with it.

@Arhowk
Arhowk commented Feb 9, 2016

Still nothing after using the workaround. This is the last error (if it is
any different... doesnt seem to be). Network Tableis totally empty and the
process that I have running the GRIP project is stopped.

E/ github refuses to parse this as code...

7:00:17.292 PM
 INFO: Pipeline Starting  Feb 09, 2016 12:00:17 AM
edu.wpi.grip.core.PipelineRunner$1 startUp  INFO: SUCCESS! The project is
running in headless mode!
7:00:17.392 PM
 Feb 09, 2016 12:00:17 AM edu.wpi.grip.core.Step runPerformIfPossible
7:00:17.428 PM
    at java.lang.Thread.run(Thread.java:745)   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)   at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)   at
com.google.common.util.concurrent.Callables$3.run(Callables.java:100)   at
com.google.common.util.concurrent.AbstractScheduledService$ServiceDelegate$Task.run(AbstractScheduledService.java:189)
  at
edu.wpi.grip.core.PipelineRunner$1.runOneIteration(PipelineRunner.java:76)   at
edu.wpi.grip.core.PipelineRunner.access$200(PipelineRunner.java:32)   at
edu.wpi.grip.core.PipelineRunner.runPipeline(PipelineRunner.java:196)   at
edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:139)   at
edu.wpi.grip.core.operations.composite.HSVThresholdOperation.perform(HSVThresholdOperation.java:71)
 java.lang.IllegalArgumentException: HSV Threshold needs a 3-channel input
 WARNING: The HSV Threshold operation did not perform correctly.
7:00:17.452 PM
    at java.lang.Thread.run(Thread.java:745)   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)   at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)   at
com.google.common.util.concurrent.Callables$3.run(Callables.java:100)   at
com.google.common.util.concurrent.AbstractScheduledService$ServiceDelegate$Task.run(AbstractScheduledService.java:189)
  at
edu.wpi.grip.core.PipelineRunner$1.runOneIteration(PipelineRunner.java:76)   at
edu.wpi.grip.core.PipelineRunner.access$200(PipelineRunner.java:32)   at
edu.wpi.grip.core.PipelineRunner.runPipeline(PipelineRunner.java:196)   at
edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:139)   at
edu.wpi.grip.core.operations.composite.HSVThresholdOperation.perform(HSVThresholdOperation.java:71)
 java.lang.IllegalArgumentException: HSV Threshold needs a 3-channel input
 SEVERE: The HSV Threshold operation did not perform correctly.  Feb 09,
2016 12:00:17 AM edu.wpi.grip.core.Main onExceptionEvent
7:00:17.607 PM
 OpenCV Error: Assertion failed (m.dims >= 2) in Mat, file
/home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp,
line 441
7:00:17.626 PM
    at java.lang.Thread.run(Thread.java:745)   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)   at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)   at
com.google.common.util.concurrent.Callables$3.run(Callables.java:100)   at
com.google.common.util.concurrent.AbstractScheduledService$ServiceDelegate$Task.run(AbstractScheduledService.java:189)
  at
edu.wpi.grip.core.PipelineRunner$1.runOneIteration(PipelineRunner.java:76)   at
edu.wpi.grip.core.PipelineRunner.access$200(PipelineRunner.java:32)   at
edu.wpi.grip.core.PipelineRunner.runPipeline(PipelineRunner.java:196)   at
edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:139)   at
edu.wpi.grip.core.Operation.perform(Operation.java:61)   at
edu.wpi.grip.generated.opencv_imgproc.Erode.perform(Erode.java:63)   at
org.bytedeco.javacpp.opencv_imgproc.erode(Native Method)
 java.lang.RuntimeException:
/home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp:441:
error: (-215) m.dims >= 2 in function Mat  WARNING: The CV erode operation
did not perform correctly.  Feb 09, 2016 12:00:17 AM edu.wpi.grip.core.Step
runPerformIfPossible
7:00:17.661 PM
    at java.lang.Thread.run(Thread.java:745)   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)   at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)   at
com.google.common.util.concurrent.Callables$3.run(Callables.java:100)   at
com.google.common.util.concurrent.AbstractScheduledService$ServiceDelegate$Task.run(AbstractScheduledService.java:189)
  at
edu.wpi.grip.core.PipelineRunner$1.runOneIteration(PipelineRunner.java:76)   at
edu.wpi.grip.core.PipelineRunner.access$200(PipelineRunner.java:32)   at
edu.wpi.grip.core.PipelineRunner.runPipeline(PipelineRunner.java:196)   at
edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:139)   at
edu.wpi.grip.core.Operation.perform(Operation.java:61)   at
edu.wpi.grip.generated.opencv_imgproc.Erode.perform(Erode.java:63)   at
org.bytedeco.javacpp.opencv_imgproc.erode(Native Method)
 java.lang.RuntimeException:
/home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp:441:
error: (-215) m.dims >= 2 in function Mat  SEVERE: The CV erode operation
did not perform correctly.  Feb 09, 2016 12:00:17 AM edu.wpi.grip.core.Main
onExceptionEvent
7:00:17.681 PM
    at java.lang.Thread.run(Thread.java:745)   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)   at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)   at
com.google.common.util.concurrent.Callables$3.run(Callables.java:100)   at
com.google.common.util.concurrent.AbstractScheduledService$ServiceDelegate$Task.run(AbstractScheduledService.java:189)
  at
edu.wpi.grip.core.PipelineRunner$1.runOneIteration(PipelineRunner.java:76)   at
edu.wpi.grip.core.PipelineRunner.access$200(PipelineRunner.java:32)   at
edu.wpi.grip.core.PipelineRunner.runPipeline(PipelineRunner.java:196)   at
edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:139)   at
edu.wpi.grip.core.Operation.perform(Operation.java:61)   at
edu.wpi.grip.generated.opencv_imgproc.Dilate.perform(Dilate.java:63)   at
org.bytedeco.javacpp.opencv_imgproc.dilate(Native Method)
 java.lang.RuntimeException:
/home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp:441:
error: (-215) m.dims >= 2 in function Mat  WARNING: The CV dilate operation
did not perform correctly.  Feb 09, 2016 12:00:17 AM edu.wpi.grip.core.Step
runPerformIfPossible  OpenCV Error: Assertion failed (m.dims >= 2) in Mat,
file
/home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp,
line 441
7:00:17.699 PM
    at java.lang.Thread.run(Thread.java:745)   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)   at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)   at
com.google.common.util.concurrent.Callables$3.run(Callables.java:100)   at
com.google.common.util.concurrent.AbstractScheduledService$ServiceDelegate$Task.run(AbstractScheduledService.java:189)
  at
edu.wpi.grip.core.PipelineRunner$1.runOneIteration(PipelineRunner.java:76)   at
edu.wpi.grip.core.PipelineRunner.access$200(PipelineRunner.java:32)   at
edu.wpi.grip.core.PipelineRunner.runPipeline(PipelineRunner.java:196)   at
edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:139)   at
edu.wpi.grip.core.Operation.perform(Operation.java:61)   at
edu.wpi.grip.generated.opencv_imgproc.Dilate.perform(Dilate.java:63)   at
org.bytedeco.javacpp.opencv_imgproc.dilate(Native Method)
 java.lang.RuntimeException:
/home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp:441:
error: (-215) m.dims >= 2 in function Mat  SEVERE: The CV dilate operation
did not perform correctly.  Feb 09, 2016 12:00:17 AM edu.wpi.grip.core.Main
onExceptionEvent
7:00:17.985 PM
 Feb 09, 2016 12:00:17 AM edu.wpi.grip.core.Main onExceptionEvent
7:00:18.018 PM
 OpenCV Error: Assertion failed (m.dims >= 2) in Mat, file
/home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp,
line 441     at java.lang.Thread.run(Thread.java:745)   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)   at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)   at
com.google.common.util.concurrent.Callables$3.run(Callables.java:100)   at
com.google.common.util.concurrent.AbstractScheduledService$ServiceDelegate$Task.run(AbstractScheduledService.java:189)
  at
edu.wpi.grip.core.PipelineRunner$1.runOneIteration(PipelineRunner.java:76)   at
edu.wpi.grip.core.PipelineRunner.access$200(PipelineRunner.java:32)   at
edu.wpi.grip.core.PipelineRunner.runPipeline(PipelineRunner.java:196)   at
edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:139)   at
edu.wpi.grip.core.operations.composite.HSVThresholdOperation.perform(HSVThresholdOperation.java:71)
 java.lang.IllegalArgumentException: HSV Threshold needs a 3-channel input
 SEVERE: The HSV Threshold operation did not perform correctly.  Feb 09,
2016 12:00:17 AM edu.wpi.grip.core.Main onExceptionEvent     at
java.lang.Thread.run(Thread.java:745)   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)   at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)   at
com.google.common.util.concurrent.Callables$3.run(Callables.java:100)   at
com.google.common.util.concurrent.AbstractScheduledService$ServiceDelegate$Task.run(AbstractScheduledService.java:189)
  at
edu.wpi.grip.core.PipelineRunner$1.runOneIteration(PipelineRunner.java:76)   at
edu.wpi.grip.core.PipelineRunner.access$200(PipelineRunner.java:32)   at
edu.wpi.grip.core.PipelineRunner.runPipeline(PipelineRunner.java:196)   at
edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:139)   at
edu.wpi.grip.core.operations.composite.HSVThresholdOperation.perform(HSVThresholdOperation.java:71)
 java.lang.IllegalArgumentException: HSV Threshold needs a 3-channel input
 WARNING: The HSV Threshold operation did not perform correctly.  Feb 09,
2016 12:00:17 AM edu.wpi.grip.core.Step runPerformIfPossible  WARNING: The
camera returned a null frame Mat  Feb 09, 2016 12:00:17 AM
edu.wpi.grip.core.sources.CameraSource$1 run  SEVERE: The camera returned a
null frame Mat
7:00:18.037 PM
  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)   at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)   at
com.google.common.util.concurrent.Callables$3.run(Callables.java:100)   at
com.google.common.util.concurrent.AbstractScheduledService$ServiceDelegate$Task.run(AbstractScheduledService.java:189)
  at
edu.wpi.grip.core.PipelineRunner$1.runOneIteration(PipelineRunner.java:76)   at
edu.wpi.grip.core.PipelineRunner.access$200(PipelineRunner.java:32)   at
edu.wpi.grip.core.PipelineRunner.runPipeline(PipelineRunner.java:196)   at
edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:139)   at
edu.wpi.grip.core.Operation.perform(Operation.java:61)   at
edu.wpi.grip.generated.opencv_imgproc.Erode.perform(Erode.java:63)   at
org.bytedeco.javacpp.opencv_imgproc.erode(Native Method)
 java.lang.RuntimeException:
/home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp:441:
error: (-215) m.dims >= 2 in function Mat  WARNING: The CV erode operation
did not perform correctly.  Feb 09, 2016 12:00:17 AM edu.wpi.grip.core.Step
runPerformIfPossible
7:00:18.070 PM
  at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)   at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)   at
com.google.common.util.concurrent.Callables$3.run(Callables.java:100)   at
com.google.common.util.concurrent.AbstractScheduledService$ServiceDelegate$Task.run(AbstractScheduledService.java:189)
  at
edu.wpi.grip.core.PipelineRunner$1.runOneIteration(PipelineRunner.java:76)   at
edu.wpi.grip.core.PipelineRunner.access$200(PipelineRunner.java:32)   at
edu.wpi.grip.core.PipelineRunner.runPipeline(PipelineRunner.java:196)   at
edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:139)   at
edu.wpi.grip.core.Operation.perform(Operation.java:61)   at
edu.wpi.grip.generated.opencv_imgproc.Erode.perform(Erode.java:63)   at
org.bytedeco.javacpp.opencv_imgproc.erode(Native Method)
 java.lang.RuntimeException:
/home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp:441:
error: (-215) m.dims >= 2 in function Mat  SEVERE: The CV erode operation
did not perform correctly.  Feb 09, 2016 12:00:17 AM edu.wpi.grip.core.Main
onExceptionEvent     at java.lang.Thread.run(Thread.java:745)   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
7:00:18.092 PM
    at java.lang.Thread.run(Thread.java:745)   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)   at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)   at
com.google.common.util.concurrent.Callables$3.run(Callables.java:100)   at
com.google.common.util.concurrent.AbstractScheduledService$ServiceDelegate$Task.run(AbstractScheduledService.java:189)
  at
edu.wpi.grip.core.PipelineRunner$1.runOneIteration(PipelineRunner.java:76)   at
edu.wpi.grip.core.PipelineRunner.access$200(PipelineRunner.java:32)   at
edu.wpi.grip.core.PipelineRunner.runPipeline(PipelineRunner.java:196)   at
edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:139)   at
edu.wpi.grip.core.Operation.perform(Operation.java:61)   at
edu.wpi.grip.generated.opencv_imgproc.Dilate.perform(Dilate.java:63)   at
org.bytedeco.javacpp.opencv_imgproc.dilate(Native Method)
 java.lang.RuntimeException:
/home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp:441:
error: (-215) m.dims >= 2 in function Mat  SEVERE: The CV dilate operation
did not perform correctly.  Feb 09, 2016 12:00:18 AM edu.wpi.grip.core.Main
onExceptionEvent     at java.lang.Thread.run(Thread.java:745)   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
  at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)   at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)   at
com.google.common.util.concurrent.Callables$3.run(Callables.java:100)   at
com.google.common.util.concurrent.AbstractScheduledService$ServiceDelegate$Task.run(AbstractScheduledService.java:189)
  at
edu.wpi.grip.core.PipelineRunner$1.runOneIteration(PipelineRunner.java:76)   at
edu.wpi.grip.core.PipelineRunner.access$200(PipelineRunner.java:32)   at
edu.wpi.grip.core.PipelineRunner.runPipeline(PipelineRunner.java:196)   at
edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:139)   at
edu.wpi.grip.core.Operation.perform(Operation.java:61)   at
edu.wpi.grip.generated.opencv_imgproc.Dilate.perform(Dilate.java:63)   at
org.bytedeco.javacpp.opencv_imgproc.dilate(Native Method)
 java.lang.RuntimeException:
/home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp:441:
error: (-215) m.dims >= 2 in function Mat  WARNING: The CV dilate operation
did not perform correctly.  Feb 09, 2016 12:00:18 AM edu.wpi.grip.core.Step
runPerformIfPossible  OpenCV Error: Assertion failed (m.dims >= 2) in Mat,
file
/home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/core/src/matrix.cpp,
line 441     at java.lang.Thread.run(Thread.java:745)   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
@Arhowk
Arhowk commented Feb 10, 2016

Here's a version of the console hooked up to the riolog... (if its worth anything, the process never finishes and unplugging the camera posts no messages from the process)

http://pastebin.com/CvXmxZRv

sorry sick of github

@SamCarlberg SamCarlberg added the deploy label Dec 8, 2016
@SamCarlberg SamCarlberg closed this Jan 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment