View Single Post
  #1   Spotlight this post!  
Unread 18-01-2014, 18:14
Thundrio Thundrio is offline
Dedicated Racer
FRC #3673
 
Join Date: Feb 2011
Rookie Year: 2010
Location: The Internet
Posts: 67
Thundrio is on a distinguished road
nullpointerexception when calling AxisCamera getImage()

We are trying to follow the sample code for vision provided with java, in order to get our own started.

We are getting a nullpointerexception when this line of code is run

ColorImage image = camera.getImage();

any advice on how to fix this / what is causing the exception? I can provide more detail if neccessary
__________________
Interested in a new way of playing old games?
visit http://www.speedrunslive.com for a way to make single player games multiplayer!
visit http://www.zeldaspeedruns.com to open up a new world for zelda lovers!
pm me here or at zsr for more information!
Reply With Quote