Go to Post my least favorite thread is that one just hanging from my favorite shirt. - Stuart [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-02-2017, 18:17
baltzy9 baltzy9 is offline
Registered User
FRC #4241
 
Join Date: Feb 2017
Location: Joliet
Posts: 2
baltzy9 is an unknown quantity at this point
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++
Reply With Quote
  #2   Spotlight this post!  
Unread 03-02-2017, 18:38
AhriFox950's Avatar
AhriFox950 AhriFox950 is offline
Registered User
AKA: Leader of Software and Controls
FRC #5484 (Memento Vitam)
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2015
Location: IN, USA
Posts: 2
AhriFox950 is an unknown quantity at this point
Re: GRIP Error Message (Help)

Are you using the built-in deploy tool? I think it has been depreciated due to memory errors.
Reply With Quote
  #3   Spotlight this post!  
Unread 03-02-2017, 21:30
baltzy9 baltzy9 is offline
Registered User
FRC #4241
 
Join Date: Feb 2017
Location: Joliet
Posts: 2
baltzy9 is an unknown quantity at this point
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
Reply With Quote
Reply


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 11:37.

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