View Single Post
  #1   Spotlight this post!  
Unread 20-01-2015, 14:08
michaelwm's Avatar
michaelwm michaelwm is offline
Integrated Systems Lead
AKA: Michael Midura
FRC #4976 (Rebel Robotics)
Team Role: Programmer
 
Join Date: Dec 2013
Rookie Year: 2010
Location: Georgetown
Posts: 23
michaelwm is a jewel in the roughmichaelwm is a jewel in the roughmichaelwm is a jewel in the roughmichaelwm is a jewel in the rough
nashorn Script Engine NullPointerException

Hello! Our team is trying to use Java 8s new nashorn engine on the new roboRIO, as it runs Java 8. However, we have encountered a NullPointerException every time we call new ScriptEngineManager().getEngineByName("nashorn"). After a little debugging, we know it is the method getEngineByName that is returning null. We have tried rhino, simply getting every javascript engine, but we keep getting returned null. Is this a problem with the fact the roboRIO is running an embedded version of Java 8? Can another team try this?
__________________
Integrated Systems
Reply With Quote