Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   GRIP Error Message (Help) (http://www.chiefdelphi.com/forums/showthread.php?t=154673)

baltzy9 03-02-2017 18:17

GRIP Error Message (Help)
 
This is our first year trying to run GRIP. We are trying to run it directly through the roboRio and are using an axis camera. We are trying to deploy the GRIP code, but keep getting this error message.

/usr/local/frc/JRE//bin/java -Xmx50m -XX:-OmitStackTraceInFastThrow -XX:+HeapDumpOnOutOfMemoryError -jar '/home/lvuser/grip.jar' '/home/lvuser/project.grip'
Defaulting Uptime to NOIMPL due to (java.lang.UnsupportedOperationException) Implementation not available in this environment
2017-02-03 17:07:02.169:INFO::main: Logging initialized @-1ms
platform: /Linux/arm/
Feb 03, 2017 5:07:06 PM edu.wpi.grip.core.GripCoreModule onThreadException
SEVERE: Uncaught Exception on thread Thread[main,5,main]
com.google.inject.ProvisionException: Unable to provision, see the following errors:

1) Error injecting constructor, java.lang.UnsatisfiedLinkError: no ntcore in java.library.path
at edu.wpi.grip.core.operations.network.networktables .NTManager.<init>(Unknown Source)
at edu.wpi.grip.core.operations.network.networktables .NTManager.class(Unknown Source)
while locating edu.wpi.grip.core.operations.network.networktables .NTManager
while locating edu.wpi.grip.core.operations.network.MapNetworkPub lisherFactory annotated with @com.google.inject.name.Named(value=ntManager)
for the 2nd parameter of edu.wpi.grip.core.operations.Operations.<init>(Unk nown Source)
at edu.wpi.grip.core.operations.Operations.class(Unkn own Source)
while locating edu.wpi.grip.core.operations.Operations
for field at edu.wpi.grip.core.Main.operations(Unknown Source)
while locating edu.wpi.grip.core.Main

1 error
at com.google.inject.internal.InjectorImpl$2.get(Inje ctorImpl.java:1028)
at com.google.inject.internal.InjectorImpl.getInstanc e(InjectorImpl.java:1054)
at edu.wpi.grip.core.Main.main(Main.java:60)
Caused by: java.lang.UnsatisfiedLinkError: no ntcore in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1857)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1119)
at edu.wpi.first.wpilibj.networktables.NetworkTablesJ NI.<clinit>(NetworkTablesJNI.java:59)
at edu.wpi.grip.core.operations.network.networktables .NTManager.<init>(NTManager.java:78)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Construc tor.java:408)
at com.google.inject.internal.DefaultConstructionProx yFactory$ReflectiveProxy.newInstance(DefaultConstr uctionProxyFactory.java:126)
at com.google.inject.internal.ConstructorInjector.pro vision(ConstructorInjector.java:111)
at com.google.inject.internal.ConstructorInjector.con struct(ConstructorInjector.java:90)
at com.google.inject.internal.ConstructorBindingImpl$ Factory.get(ConstructorBindingImpl.java:268)
at com.google.inject.internal.ProviderToInternalFacto ryAdapter$1.call(ProviderToInternalFactoryAdapter. java:46)
at com.google.inject.internal.InjectorImpl.callInCont ext(InjectorImpl.java:1092)
at com.google.inject.internal.ProviderToInternalFacto ryAdapter.get(ProviderToInternalFactoryAdapter.jav a:40)
at com.google.inject.internal.SingletonScope$1.get(Si ngletonScope.java:194)
at com.google.inject.internal.InternalFactoryToProvid erAdapter.get(InternalFactoryToProviderAdapter.jav a:41)
at com.google.inject.internal.FactoryProxy.get(Factor yProxy.java:56)
at com.google.inject.internal.SingleParameterInjector .inject(SingleParameterInjector.java:38)
at com.google.inject.internal.SingleParameterInjector .getAll(SingleParameterInjector.java:62)
at com.google.inject.internal.ConstructorInjector.pro vision(ConstructorInjector.java:110)
at com.google.inject.internal.ConstructorInjector.con struct(ConstructorInjector.java:90)
at com.google.inject.internal.ConstructorBindingImpl$ Factory.get(ConstructorBindingImpl.java:268)
at com.google.inject.internal.ProviderToInternalFacto ryAdapter$1.call(ProviderToInternalFactoryAdapter. java:46)
at com.google.inject.internal.InjectorImpl.callInCont ext(InjectorImpl.java:1092)
at com.google.inject.internal.ProviderToInternalFacto ryAdapter.get(ProviderToInternalFactoryAdapter.jav a:40)
at com.google.inject.internal.SingletonScope$1.get(Si ngletonScope.java:194)
at com.google.inject.internal.InternalFactoryToProvid erAdapter.get(InternalFactoryToProviderAdapter.jav a:41)
at com.google.inject.internal.SingleFieldInjector.inj ect(SingleFieldInjector.java:54)
at com.google.inject.internal.MembersInjectorImpl.inj ectMembers(MembersInjectorImpl.java:132)
at com.google.inject.internal.ConstructorInjector.pro vision(ConstructorInjector.java:120)
at com.google.inject.internal.ConstructorInjector.con struct(ConstructorInjector.java:90)
at com.google.inject.internal.ConstructorBindingImpl$ Factory.get(ConstructorBindingImpl.java:268)
at com.google.inject.internal.InjectorImpl$2$1.call(I njectorImpl.java:1019)
at com.google.inject.internal.InjectorImpl.callInCont ext(InjectorImpl.java:1085)
at com.google.inject.internal.InjectorImpl$2.get(Inje ctorImpl.java:1015)
... 2 more

Feb 03, 2017 5:07:06 PM edu.wpi.grip.core.events.EventLogger eventPosted
INFO: Event on thread 'main': edu.wpi.grip.core.events.UnexpectedThrowableEvent@ 1fadaff


Any help would be greatly appreciated, or if you have ran it before. We are using C++

AhriFox950 03-02-2017 18:38

Re: GRIP Error Message (Help)
 
Are you using the built-in deploy tool? I think it has been depreciated due to memory errors.

baltzy9 03-02-2017 21:30

Re: GRIP Error Message (Help)
 
Yes we are. What other way is there to do it then so we can run it on the roboRio? I know you can generate code, but is there any other way? We are also considering using a raspberry pi


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

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