OpenSourcePhysics/tracker

NullPointerException thrown when using tracker jar with Xuggle on linux

Opened this issue · 0 comments

I downloaded tracker-6.0.1.jar file from the tracker website and when I run it without the Xuggle libraries present, the application starts fine,. However, if I place the tracker jar next to an appropriate library I get the following exception:

Exception in thread "Thread-2" java.lang.NullPointerException
        at org.opensourcephysics.cabrillo.tracker.deploy.TrackerStarter.findBundledVMs(TrackerStarter.java:603)
        at org.opensourcephysics.cabrillo.tracker.deploy.TrackerStarter.loadPreferences(TrackerStarter.java:792)
        at org.opensourcephysics.cabrillo.tracker.deploy.TrackerStarter.launchTracker(TrackerStarter.java:293)
        at org.opensourcephysics.cabrillo.tracker.deploy.TrackerStarter$3.run(TrackerStarter.java:356)
        at java.lang.Thread.run(Thread.java:748)

It looks like it tries to use some bundled jre, but it is just the tracker jar file, so there is no bundled jre. I think that in this case there should be some popup dialog where user can provide path to his system jre.