Go to Post Looks like a perfect device for scaring the cats :D - Dan Petrovic [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 21-01-2017, 14:40
luna luna is offline
Registered User
FRC #1410
 
Join Date: Jan 2017
Location: denver ,colorado
Posts: 1
luna is an unknown quantity at this point
grip errors

For the grip programming once I open the project I get an error message that says Runtime Exception and lots of text about Java.
( this is all the text)

Thread[JavaFX Application Thread,5,main] threw an exception
## Stack Trace:
```java
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLo ader.java:1774)
at javafx.fxml.FXMLLoader$ControllerMethodEventHandle r.handle(FXMLLoader.java:1657)
at com.sun.javafx.event.CompositeEventHandler.dispatc hBubblingEvent(CompositeEventHandler.java:86)
at com.sun.javafx.event.EventHandlerManager.dispatchB ubblingEvent(EventHandlerManager.java:238)
at com.sun.javafx.event.EventHandlerManager.dispatchB ubblingEvent(EventHandlerManager.java:191)
at com.sun.javafx.event.BasicEventDispatcher.dispatch Event(BasicEventDispatcher.java:58)
at com.sun.javafx.event.EventDispatchChainImpl.dispat chEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.EventUtil.fireEventImpl(Event Util.java:74)
at com.sun.javafx.event.EventUtil.fireEvent(EventUtil .java:49)
at javafx.event.Event.fireEvent(Event.java:198)
at javafx.scene.control.MenuItem.fire(MenuItem.java:4 62)
at com.sun.javafx.scene.control.skin.ContextMenuConte nt$MenuItemContainer.doSelect(ContextMenuContent.j ava:1405)
at com.sun.javafx.scene.control.skin.ContextMenuConte nt$MenuItemContainer.lambda$createChildren$343(Con textMenuContent.java:1358)
at com.sun.javafx.event.CompositeEventHandler$NormalE ventHandlerRecord.handleBubblingEvent(CompositeEve ntHandler.java:218)
at com.sun.javafx.event.CompositeEventHandler.dispatc hBubblingEvent(CompositeEventHandler.java:80)
at com.sun.javafx.event.EventHandlerManager.dispatchB ubblingEvent(EventHandlerManager.java:238)
at com.sun.javafx.event.EventHandlerManager.dispatchB ubblingEvent(EventHandlerManager.java:191)
at com.sun.javafx.event.CompositeEventDispatcher.disp atchBubblingEvent(CompositeEventDispatcher.java:59 )
at com.sun.javafx.event.BasicEventDispatcher.dispatch Event(BasicEventDispatcher.java:58)
at com.sun.javafx.event.EventDispatchChainImpl.dispat chEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatch Event(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispat chEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatch Event(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispat chEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatch Event(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispat chEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.EventUtil.fireEventImpl(Event Util.java:74)
at com.sun.javafx.event.EventUtil.fireEvent(EventUtil .java:54)
at javafx.event.Event.fireEvent(Event.java:198)
at javafx.scene.Scene$MouseHandler.process(Scene.java :3757)
at javafx.scene.Scene$MouseHandler.access$1500(Scene. java:3485)
at javafx.scene.Scene.impl_processMouseEvent(Scene.ja va:1762)
at javafx.scene.Scene$ScenePeerListener.mouseEvent(Sc ene.java:2494)
at com.sun.javafx.tk.quantum.GlassViewEventHandler$Mo useEventNotification.run(GlassViewEventHandler.jav a:380)
at com.sun.javafx.tk.quantum.GlassViewEventHandler$Mo useEventNotification.run(GlassViewEventHandler.jav a:294)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.la mbda$handleMouseEvent$354(GlassViewEventHandler.ja va:416)
at com.sun.javafx.tk.quantum.QuantumToolkit.runWithou tRenderLock(QuantumToolkit.java:389)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.ha ndleMouseEvent(GlassViewEventHandler.java:415)
at com.sun.glass.ui.View.handleMouseEvent(View.java:5 55)
at com.sun.glass.ui.View.notifyMouse(View.java:937)
at com.sun.glass.ui.win.WinApplication._runLoop(Nativ e Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$14 8(WinApplication.java:191)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.reflect.InvocationTargetException
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:498)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java :71)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java :275)
at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLo ader.java:1771)
... 43 more
Caused by: com.thoughtworks.xstream.converters.ConversionExce ption: Error deserializing source
---- Debugging information ----
message : Error deserializing source
cause-exception : java.lang.RuntimeException
cause-message : src\matrix.cpp:411: error: (-215) u != 0 in function cv::Mat::create

class : edu.wpi.grip.core.sources.ImageFileSource
required-type : edu.wpi.grip.core.sources.ImageFileSource
converter-type : edu.wpi.grip.core.serialization.SourceConverter
line number : 32
class[1] : java.util.ArrayList
converter-type[1] : com.thoughtworks.xstream.converters.collections.Co llectionConverter
class[2] : edu.wpi.grip.core.Pipeline
converter-type[2] : com.thoughtworks.xstream.converters.reflection.Ref lectionConverter
version : 1.5.0-rc2
-------------------------------
at edu.wpi.grip.core.serialization.SourceConverter.un marshal(SourceConverter.java:69)
at com.thoughtworks.xstream.core.TreeUnmarshaller.con vert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.TreeUnmarshaller.con vertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.core.TreeUnmarshaller.con vertAnother(TreeUnmarshaller.java:50)
at com.thoughtworks.xstream.converters.collections.Ab stractCollectionConverter.readItem(AbstractCollect ionConverter.java:73)
at com.thoughtworks.xstream.converters.collections.Co llectionConverter.addCurrentElementToCollection(Co llectionConverter.java:98)
at com.thoughtworks.xstream.converters.collections.Co llectionConverter.populateCollection(CollectionCon verter.java:91)
at com.thoughtworks.xstream.converters.collections.Co llectionConverter.populateCollection(CollectionCon verter.java:85)
at com.thoughtworks.xstream.converters.collections.Co llectionConverter.unmarshal(CollectionConverter.ja va:80)
at com.thoughtworks.xstream.core.TreeUnmarshaller.con vert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.TreeUnmarshaller.con vertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.converters.reflection.Abs tractReflectionConverter.unmarshallField(AbstractR eflectionConverter.java:503)
at com.thoughtworks.xstream.converters.reflection.Abs tractReflectionConverter.doUnmarshal(AbstractRefle ctionConverter.java:429)
at com.thoughtworks.xstream.converters.reflection.Abs tractReflectionConverter.unmarshal(AbstractReflect ionConverter.java:281)
at com.thoughtworks.xstream.core.TreeUnmarshaller.con vert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.TreeUnmarshaller.con vertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.core.TreeUnmarshaller.con vertAnother(TreeUnmarshaller.java:50)
at com.thoughtworks.xstream.core.TreeUnmarshaller.sta rt(TreeUnmarshaller.java:134)
at com.thoughtworks.xstream.core.AbstractTreeMarshall ingStrategy.unmarshal(AbstractTreeMarshallingStrat egy.java:32)
at com.thoughtworks.xstream.XStream.unmarshal(XStream .java:1230)
at com.thoughtworks.xstream.XStream.unmarshal(XStream .java:1214)
at com.thoughtworks.xstream.XStream.fromXML(XStream.j ava:1085)
at edu.wpi.grip.core.serialization.Project.open(Proje ct.java:115)
at edu.wpi.grip.core.serialization.Project.open(Proje ct.java:94)
at edu.wpi.grip.ui.MainWindowController.openProject(M ainWindowController.java:168)
... 53 more
Caused by: java.lang.RuntimeException: src\matrix.cpp:411: error: (-215) u != 0 in function cv::Mat::create

at org.bytedeco.javacpp.opencv_core$Mat.copyTo(Native Method)
at edu.wpi.grip.core.util.ImageLoadingUtility.loadIma ge(ImageLoadingUtility.java:33)
at edu.wpi.grip.core.sources.ImageFileSource.loadImag e(ImageFileSource.java:123)
at edu.wpi.grip.core.sources.ImageFileSource.loadImag e(ImageFileSource.java:119)
at edu.wpi.grip.core.sources.ImageFileSource.initiali ze(ImageFileSource.java:85)
at edu.wpi.grip.core.Source.initializeSafely(Source.j ava:94)
at edu.wpi.grip.core.serialization.SourceConverter.un marshal(SourceConverter.java:65)
... 77 more

```
## System Info:

Property Name | Property
----- | -----
GRIP Version | 1.5.0-rc2
java.version | 1.8.0_92
javafx.version | 8.0.92
os.name | Windows 10
os.version | 10.0
os.arch | x86
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 13:15.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi