java.lang.Error: java.lang.reflect.InvocationTargetException


Solutions on the web1

Solution icon of googlegroups
via Google Groups by Dzung Pham, 9 months ago
java.lang.reflect.InvocationTargetException

Stack trace

java.lang.Error: java.lang.reflect.InvocationTargetException
	at org.robovm.rt.bro.MarshalerLookup.toObject(MarshalerLookup.java:47)
	at org.robovm.rt.bro.NativeObject.as(NativeObject.java:53)
	at com.cameratest.MyViewController.didOutputSampleBuffer(MyViewController.java:145)
	at org.robovm.apple.avfoundation.AVCaptureVideoDataOutputSampleBufferDelegate$ObjCProxy.$cb$captureOutput$didOutputSampleBuffer$fromConnection$(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
	at java.lang.reflect.Method.internalInvoke(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:591)
	at org.robovm.rt.bro.MarshalerLookup.toObject(MarshalerLookup.java:45)
	... 3 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class 
org.robovm.apple.corevideo.CVPixelBuffer
	at org.robovm.rt.VM.allocateObject(Native Method)
	at org.robovm.rt.bro.NativeObject$Marshaler.toObject(NativeObject.java:88)
	at org.robovm.apple.corefoundation.CFType$Marshaler.toObject(CFType.java:62)
	at org.robovm.apple.corefoundation.CFType$Marshaler.toObject(CFType.java:51)
	... 6 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.