{"action":"opened","issue":{"url":"https://api.github.com/repos/caprica/vlcj/issues/299","labels_url":"https://api.github.com/repos/caprica/vlcj/issues/299/labels{/name}","comments_url":"https://api.github.com/repos/caprica/vlcj/issues/299/comments","events_url":"https://api.github.com/repos/caprica/vlcj/issues/299/events","html_url":"https://github.com/caprica/vlcj/issues/299","id":55349061,"number":299,"title":"JNA version in pom.xml does not match README","user":{"login":"harmsk","id":957446,"avatar_url":"https://avatars.githubusercontent.com/u/957446?v=3","gravatar_id":"","url":"https://api.github.com/users/harmsk","html_url":"https://github.com/harmsk","followers_url":"https://api.github.com/users/harmsk/followers","following_url":"https://api.github.com/users/harmsk/following{/other_user}","gists_url":"https://api.github.com/users/harmsk/gists{/gist_id}","starred_url":"https://api.github.com/users/harmsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harmsk/subscriptions","organizations_url":"https://api.github.com/users/harmsk/orgs","repos_url":"https://api.github.com/users/harmsk/repos","events_url":"https://api.github.com/users/harmsk/events{/privacy}","received_events_url":"https://api.github.com/users/harmsk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-24T00:05:00Z","updated_at":"2015-01-24T00:05:00Z","closed_at":null,"body":"The README states:\r\n> Version 3.0.0+ of vlcj requires version 4.0.0+ of JNA\r\n\r\nHowever the pom.xml for VLCJ 3.10 has the following:\r\n```\r\n    <properties>\r\n        <jna.version>3.5.2</jna.version>\r\n        <sonar.exclusions>**/package-info.java,uk/co/caprica/vlcj/binding/**</sonar.exclusions>\r\n        <sonar.language>java</sonar.language>\r\n    </properties>\r\n\r\n    <dependencies>\r\n        <dependency>\r\n            <groupId>net.java.dev.jna</groupId>\r\n            <artifactId>jna</artifactId>\r\n            <version>${jna.version}</version>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>net.java.dev.jna</groupId>\r\n            <artifactId>platform</artifactId>\r\n            <version>${jna.version}</version>\r\n        </dependency>\r\n    </dependencies>\r\n```\r\n\r\nDo you know which is correct here?\r\n\r\nAlso, I believe *platform* should now be *jna-platform* for version 4.0 and 4.1.\r\n\r\nI'm wondering if this version mismatch is causing a lot of instability for me... I'm getting a lot of vm crashes or interface lockups...\r\n\r\nFedora 21: 3.17.8-300.fc21.x86_64\r\nVLC: VLC media player 2.2.0-rc2 Weatherwax (revision 2.2.0-rc1-118-g22fda39)\r\nJava (Official Oracle): java version \"1.8.0_25\"; Java(TM) SE Runtime Environment (build 1.8.0_25-b17); Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)\r\n\r\n```\r\nCurrent thread (0x00007f0388675800):  JavaThread \"AWT-EventQueue-0\" [_thread_in_native, id=21238, stack(0x00007f0343dfe000,0x00007f0343eff000)]\r\n...\r\nj  com.sun.jna.Native.invokeVoid(JI[Ljava/lang/Object;)V+0\r\nj  com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;Z)Ljava/lang/Object;+48\r\nj  com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;+214\r\nj  com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+341\r\nj  com.sun.proxy.$Proxy9.libvlc_media_player_set_xwindow(Luk/co/caprica/vlcj/binding/internal/libvlc_media_player_t;I)V+23\r\nj  uk.co.caprica.vlcj.player.embedded.videosurface.linux.LinuxVideoSurfaceAdapter.attach(Luk/co/caprica/vlcj/binding/LibVlc;Luk/co/caprica/vlcj/player/MediaPlayer;J)V+25\r\nj  uk.co.caprica.vlcj.player.embedded.videosurface.CanvasVideoSurface.attach(Luk/co/caprica/vlcj/binding/LibVlc;Luk/co/caprica/vlcj/player/MediaPlayer;)V+50\r\nj  uk.co.caprica.vlcj.player.embedded.DefaultEmbeddedMediaPlayer.attachVideoSurface()V+38\r\nj  uk.co.caprica.vlcj.player.embedded.DefaultEmbeddedMediaPlayer.onBeforePlay()V+10\r\nj  uk.co.caprica.vlcj.player.DefaultMediaPlayer.play()V+10\r\nj  uk.co.caprica.vlcj.player.MediaPlayerLatch.play()Z+54\r\nj  uk.co.caprica.vlcj.player.DefaultMediaPlayer.start()Z+8\r\n```\r\n\r\n```\r\nCurrent thread (0x00007f94cc64d800):  JavaThread \"AWT-EventQueue-0\" [_thread_in_native, id=13169, stack(0x00007f94a5983000,0x00007f94a5a84000)]\r\n...\r\nj  com.sun.jna.Native.invokeVoid(JI[Ljava/lang/Object;)V+0\r\nj  com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;Z)Ljava/lang/Object;+48\r\nj  com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;+214\r\nj  com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+341\r\nj  com.sun.proxy.$Proxy2.libvlc_media_player_set_media(Luk/co/caprica/vlcj/binding/internal/libvlc_media_player_t;Luk/co/caprica/vlcj/binding/internal/libvlc_media_t;)V+20\r\nj  uk.co.caprica.vlcj.player.DefaultMediaPlayer.setMedia(Ljava/lang/String;[Ljava/lang/String;)Z+295\r\nj  uk.co.caprica.vlcj.player.DefaultMediaPlayer.prepareMedia(Ljava/lang/String;[Ljava/lang/String;)Z+23\r\n```\r\n\r\n```\r\nCurrent thread (0x00007f514846b000):  JavaThread \"JavaFX Application Thread\" [_thread_in_native, id=7096, stack(0x00007f5127e99000,0x00007f5127f9a000)]\r\n...\r\nJ 7908  com.sun.jna.Native.invokePointer(JI[Ljava/lang/Object;)J (0 bytes) @ 0x00007f516e2bb218 [0x00007f516e2bb1c0+0x58]\r\nJ 7624 C1 com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;Z)Ljava/lang/Object; (1149 bytes) @ 0x00007f516e203c9c [0x00007f516e201280+0x2a1c]\r\nJ 7450 C1 com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object; (526 bytes) @ 0x00007f516e18b6f4 [0x00007f516e18a400+0x12f4]\r\nJ 7448 C1 com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object; (345 bytes) @ 0x00007f516e196bac [0x00007f516e194900+0x22ac]\r\nJ 7996 C1 com.sun.proxy.$Proxy9.libvlc_media_get_mrl(Luk/co/caprica/vlcj/binding/internal/libvlc_media_t;)Lcom/sun/jna/Pointer; (36 bytes) @ 0x00007f516e30b29c [0x00007f516e30afc0+0x2dc]\r\nJ 8238 C1 uk.co.caprica.vlcj.player.DefaultMediaPlayer.mrl()Ljava/lang/String; (40 bytes) @ 0x00007f516e3e1a7c [0x00007f516e3e1780+0x2fc]\r\n```"}}