Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with webcam #981

Open
londonwafflez opened this issue Dec 27, 2021 · 0 comments
Open

Error with webcam #981

londonwafflez opened this issue Dec 27, 2021 · 0 comments

Comments

@londonwafflez
Copy link

Please describe what actions we can take to reproduce the bug you found, including the error message.

When I accidentally enabled a logitech camera that didn't display video all was fine until I clicked the x next to the camera input. After that the error occured:

Thread[Webcam 0 Service,5,main] threw an exception

Stack Trace:

java.lang.RuntimeException: /bytedeco/javacpp-presets/opencv/cppbuild/linux-x86_64/opencv-3.0.0/modules/imgcodecs/src/loadsave.cpp:470: error: (-215) !buf.empty() && buf.isContinuous() in function imdecode_

	at org.bytedeco.javacpp.opencv_videoio.cvRetrieveFrame(Native Method)
	at org.bytedeco.javacv.OpenCVFrameGrabber.start(OpenCVFrameGrabber.java:205)
	at edu.wpi.grip.core.sources.GrabberService.startUp(GrabberService.java:52)
	at com.google.common.util.concurrent.AbstractExecutionThreadService$1$2.run(AbstractExecutionThreadService.java:60)
	at com.google.common.util.concurrent.Callables$4.run(Callables.java:122)
	at java.lang.Thread.run(Thread.java:745)

System Info:

Property Name Property
GRIP Version v1.5.2
java.version 1.8.0_102
javafx.version 8.0.102
os.name Linux
os.version 5.11.0-43-generic
os.arch amd64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant