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

Capture fails with exception #56

Open
upost opened this issue Jun 24, 2019 · 1 comment
Open

Capture fails with exception #56

upost opened this issue Jun 24, 2019 · 1 comment

Comments

@upost
Copy link

upost commented Jun 24, 2019

Trying to capture from a Huawei Mediatab M2 (10 inch tablet) yield this exception:

17:07:51 [AWT-EventQueue-0]    ERROR ScreenCaptureRunnable - IO exception during writing video frame happened
com.github.xsavikx.androidscreencast.exception.IORuntimeException: javax.imageio.IIOException: Bogus input colorspace
	at com.github.xsavikx.androidscreencast.api.recording.QuickTimeOutputStream.writeFrame(QuickTimeOutputStream.java:1428)
	at com.github.xsavikx.androidscreencast.api.injector.ScreenCaptureRunnable.lambda$display$1(ScreenCaptureRunnable.java:103)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.imageio.IIOException: Bogus input colorspace
	at java.desktop/com.sun.imageio.plugins.jpeg.JPEGImageWriter.writeImage(Native Method)
	at java.desktop/com.sun.imageio.plugins.jpeg.JPEGImageWriter.writeOnThread(JPEGImageWriter.java:1007)
	at java.desktop/com.sun.imageio.plugins.jpeg.JPEGImageWriter.write(JPEGImageWriter.java:371)
	at com.github.xsavikx.androidscreencast.api.recording.QuickTimeOutputStream.writeFrame(QuickTimeOutputStream.java:1409)
	... 14 common frames omitted

@xSAVIKx
Copy link
Owner

xSAVIKx commented Jan 6, 2020

It may be somehow related to https://bugs.openjdk.java.net/browse/JDK-6508095

What operation system and JDK do you use?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants