View Single Post
  #6   Spotlight this post!  
Unread 02-12-2012, 01:43 AM
misko misko is offline
Registered User
FRC #0852
 
Join Date: Dec 2009
Location: California
Posts: 22
misko is an unknown quantity at this point
Re: SmartDashboard Crashing

Quote:
Originally Posted by eddie12390 View Post
I've just recently started using the SmartDashboard and I'm having trouble with it crashing. It'll literally only stay open for 1-1.5 minutes and then it'll just suddenly close. The major problem with this is that we use custom settings that aren't being saved when we save our SmartDashboard .xml profile. (Window size, IP of the cameras, label backgrounds)

I've tried running the jar from a Command Prompt and am not seeing any unusual output or errors.
Assuming you are using Sun/Oracle Java, open a command prompt window, add the path to java to your path, something like PATH=%PATH%;C:\Program Files (x86)\Java\jre6\bin. Then cd to where you have SmartDashboard installed, and run it as: java -jar SmartDashboard.jar

Then when it exits you will likely get more information. The problem we are seeing is with an access violation. I suspect the memory leak problem exhibited something different. You can also do java -jar -ea SmartDashboard.jar and get a little more output.