lawrancej / starterupper

Automate git setup for classroom use
MIT License
0 stars 1 forks source link

Hard crash when no webcam is found #11

Closed allevaton closed 10 years ago

allevaton commented 10 years ago

Yes, the laptops have webcams, but after trying this on my desktop (Windows AND Arch Linux), I noticed it won't even run. Just crashes on:

[main] WARN com.github.sarxos.webcam.Webcam - No webcam has been detected!
Exception in thread "main" java.lang.IllegalArgumentException: Webcam argument in CameraPanel constructor cannot be null!
        at com.github.sarxos.webcam.WebcamPanel.<init>(WebcamPanel.java:297)
        at com.joeylawrance.starterupper.gui.CameraPanel.<init>(CameraPanel.java:37)
        at com.joeylawrance.starterupper.gui.CameraPanel.<init>(CameraPanel.java:27)
        at com.joeylawrance.starterupper.gui.PicturePanel.<init>(PicturePanel.java:33)
        at com.joeylawrance.starterupper.Main.main(Main.java:34)