Skip to content

ArrayIndexOutOfBoundsException with JNA 4.3.0 #763

@neilcsmith-net

Description

@neilcsmith-net

With the GStreamer 1.x bindings I'm getting multiple ArrayIndexOutOfBoundsExceptions. I think they all involve varargs methods without any other parameters. The vararg type is custom type-mapped.

Stack trace is below. We've inherited an InvocationHandler that sits before Library$Handler.invoke(), though not caused an issue before, and not actually doing anything in this case.

java.lang.ArrayIndexOutOfBoundsException: 1
	at com.sun.jna.Function.invoke(Function.java:334)
	at com.sun.jna.Library$Handler.invoke(Library.java:244)
	at org.freedesktop.gstreamer.lowlevel.GNative$Handler.invoke(GNative.java:195)
	at com.sun.proxy.$Proxy16.gst_element_link_many(Unknown Source)
	at org.freedesktop.gstreamer.Element.linkMany(Element.java:547)
	at org.freedesktop.gstreamer.TestPipe.<init>(TestPipe.java:46)
	at org.freedesktop.gstreamer.BusTest.anyMessage(BusTest.java:244)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions