{"action":"created","issue":{"url":"https://api.github.com/repos/jfoenixadmin/JFoenix/issues/142","repository_url":"https://api.github.com/repos/jfoenixadmin/JFoenix","labels_url":"https://api.github.com/repos/jfoenixadmin/JFoenix/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/jfoenixadmin/JFoenix/issues/142/comments","events_url":"https://api.github.com/repos/jfoenixadmin/JFoenix/issues/142/events","html_url":"https://github.com/jfoenixadmin/JFoenix/issues/142","id":173182978,"number":142,"title":"I can't instantiate JFXMasonryPane (JFXMasonryPane Bug?)","user":{"login":"sajjadG","id":380602,"avatar_url":"https://avatars.githubusercontent.com/u/380602?v=3","gravatar_id":"","url":"https://api.github.com/users/sajjadG","html_url":"https://github.com/sajjadG","followers_url":"https://api.github.com/users/sajjadG/followers","following_url":"https://api.github.com/users/sajjadG/following{/other_user}","gists_url":"https://api.github.com/users/sajjadG/gists{/gist_id}","starred_url":"https://api.github.com/users/sajjadG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sajjadG/subscriptions","organizations_url":"https://api.github.com/users/sajjadG/orgs","repos_url":"https://api.github.com/users/sajjadG/repos","events_url":"https://api.github.com/users/sajjadG/events{/privacy}","received_events_url":"https://api.github.com/users/sajjadG/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-25T11:52:52Z","updated_at":"2016-08-27T08:35:55Z","closed_at":null,"body":"Salaam\r\n\r\n**This code:**\r\n```java\r\nimport com.jfoenix.controls.JFXMasonryPane;\r\nimport javafx.application.Application;\r\nimport javafx.stage.Stage;\r\n\r\npublic class MasonryTest extends Application{\r\n\r\n    @Override\r\n    public void start(Stage primaryStage) throws Exception {\r\n        JFXMasonryPane jfxMasonryPane = new JFXMasonryPane();\r\n    }\r\n\r\n    public static void main(String[] args) {\r\n        launch(args);\r\n    }\r\n}\r\n```\r\n**Gives this error:**\r\n```shell\r\nException in Application start method\r\nException in thread \"main\" java.lang.RuntimeException: Exception in Application start method\r\n\tat com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917)\r\n\tat com.sun.javafx.application.LauncherImpl.lambda$launchApplication$155(LauncherImpl.java:182)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.ClassFormatError: Method getFreeArea in class com/jfoenix/controls/JFXMasonryPane$Layout has illegal modifiers: 0x1\r\n\tat java.lang.ClassLoader.defineClass1(Native Method)\r\n\tat java.lang.ClassLoader.defineClass(ClassLoader.java:763)\r\n\tat java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)\r\n\tat java.net.URLClassLoader.defineClass(URLClassLoader.java:467)\r\n\tat java.net.URLClassLoader.access$100(URLClassLoader.java:73)\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:368)\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:362)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:361)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n\tat com.jfoenix.controls.JFXMasonryPane.<init>(JFXMasonryPane.java:239)\r\n\tat io.github.sajjadg.javaplayground.MasonryTest.start(MasonryTest.java:14)\r\n\tat com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(LauncherImpl.java:863)\r\n\tat com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326)\r\n\tat com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)\r\n\tat com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)\r\n\tat com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)\r\n\tat com.sun.glass.ui.gtk.GtkApplication.lambda$null$49(GtkApplication.java:139)\r\n```\r\n\r\n**pom.xml:**\r\n```xml\r\n<dependency>\r\n       <groupId>com.jfoenix</groupId>\r\n       <artifactId>jfoenix</artifactId>\r\n       <version>0.0.0-SNAPSHOT</version>\r\n</dependency>\r\n```\r\n\r\n**JDK version:** jdk1.8.0_91\r\n**OS:** Debian testing\r\n\r\nAm I doing anything wrong? or this a bug?\r\n"},"comment":{"url":"https://api.github.com/repos/jfoenixadmin/JFoenix/issues/comments/242904837","html_url":"https://github.com/jfoenixadmin/JFoenix/issues/142#issuecomment-242904837","issue_url":"https://api.github.com/repos/jfoenixadmin/JFoenix/issues/142","id":242904837,"user":{"login":"sajjadG","id":380602,"avatar_url":"https://avatars.githubusercontent.com/u/380602?v=3","gravatar_id":"","url":"https://api.github.com/users/sajjadG","html_url":"https://github.com/sajjadG","followers_url":"https://api.github.com/users/sajjadG/followers","following_url":"https://api.github.com/users/sajjadG/following{/other_user}","gists_url":"https://api.github.com/users/sajjadG/gists{/gist_id}","starred_url":"https://api.github.com/users/sajjadG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sajjadG/subscriptions","organizations_url":"https://api.github.com/users/sajjadG/orgs","repos_url":"https://api.github.com/users/sajjadG/repos","events_url":"https://api.github.com/users/sajjadG/events{/privacy}","received_events_url":"https://api.github.com/users/sajjadG/received_events","type":"User","site_admin":false},"created_at":"2016-08-27T08:35:55Z","updated_at":"2016-08-27T08:35:55Z","body":"I tested the same code in windows using `jdk1.8.0_92` and I still get the same error.\r\n\r\n```shell\r\n\"C:\\Program Files\\Java\\jdk1.8.0_92\\bin\\java\" -Didea.launcher.port=7533 \"-Didea.launcher.bin.path=C:\\Program Files (x86)\\JetBrains\\IntelliJ IDEA 14.0.2\\bin\" -Dfile.encoding=UTF-8 -classpath \"C:\\Program Files\\Java\\jdk1.8.0_92\\jre\\lib\\charsets.jar;C:\\Program Files\\Java\\jdk1.8.0_92\\jre\\lib\\deploy.jar;C:\\Program Files\\Java\\jdk1.8.0_92\\jre\\lib\\javaws.jar;C:\\Program Files\\Java\\jdk1.8.0_92\\jre\\lib\\jce.jar;C:\\Program Files\\Java\\jdk1.8.0_92\\jre\\lib\\jfr.jar;C:\\Program Files\\Java\\jdk1.8.0_92\\jre\\lib\\jfxswt.jar;C:\\Program Files\\Java\\jdk1.8.0_92\\jre\\lib\\jsse.jar;C:\\Program Files\\Java\\jdk1.8.0_92\\jre\\lib\\management-agent.jar;C:\\Program Files\\Java\\jdk1.8.0_92\\jre\\lib\\plugin.jar;C:\\Program Files\\Java\\jdk1.8.0_92\\jre\\lib\\resources.jar;C:\\Program Files\\Java\\jdk1.8.0_92\\jre\\lib\\rt.jar;C:\\Program Files\\Java\\jdk1.8.0_92\\jre\\lib\\ext\\access-bridge-64.jar;C:\\Program Files\\Java\\jdk1.8.0_92\\jre\\lib\\ext\\cldrdata.jar;C:\\Program Files\\Java\\jdk1.8.0_92\\jre\\lib\\ext\\dnsns.jar;C:\\Program Files\\Java\\jdk1.8.0_92\\jre\\lib\\ext\\jaccess.jar;C:\\Program Files\\Java\\jdk1.8.0_92\\jre\\lib\\ext\\jfxrt.jar;C:\\Program Files\\Java\\jdk1.8.0_92\\jre\\lib\\ext\\localedata.jar;C:\\Program Files\\Java\\jdk1.8.0_92\\jre\\lib\\ext\\nashorn.jar;C:\\Program Files\\Java\\jdk1.8.0_92\\jre\\lib\\ext\\sunec.jar;C:\\Program Files\\Java\\jdk1.8.0_92\\jre\\lib\\ext\\sunjce_provider.jar;C:\\Program Files\\Java\\jdk1.8.0_92\\jre\\lib\\ext\\sunmscapi.jar;C:\\Program Files\\Java\\jdk1.8.0_92\\jre\\lib\\ext\\sunpkcs11.jar;C:\\Program Files\\Java\\jdk1.8.0_92\\jre\\lib\\ext\\zipfs.jar;C:\\Users\\windows7\\Desktop\\mason\\MasonryPaneAnt\\out\\production\\MasonryPaneAnt;C:\\Users\\windows7\\Desktop\\jfoenix.jar;C:\\Program Files (x86)\\JetBrains\\IntelliJ IDEA 14.0.2\\lib\\idea_rt.jar\" com.intellij.rt.execution.application.AppMain MasonryPaneDemo\r\nException in Application start method\r\nException in thread \"main\" java.lang.RuntimeException: Exception in Application start method\r\n\tat com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917)\r\n\tat com.sun.javafx.application.LauncherImpl.lambda$launchApplication$155(LauncherImpl.java:182)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.ClassFormatError: Method getFreeArea in class com/jfoenix/controls/JFXMasonryPane$Layout has illegal modifiers: 0x1\r\n\tat java.lang.ClassLoader.defineClass1(Native Method)\r\n\tat java.lang.ClassLoader.defineClass(ClassLoader.java:763)\r\n\tat java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)\r\n\tat java.net.URLClassLoader.defineClass(URLClassLoader.java:467)\r\n\tat java.net.URLClassLoader.access$100(URLClassLoader.java:73)\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:368)\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:362)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:361)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n\tat com.jfoenix.controls.JFXMasonryPane.<init>(JFXMasonryPane.java:239)\r\n\tat MasonryPaneDemo.start(MasonryPaneDemo.java:9)\r\n\tat com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(LauncherImpl.java:863)\r\n\tat com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326)\r\n\tat com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)\r\n\tat com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)\r\n\tat com.sun.glass.ui.win.WinApplication._runLoop(Native Method)\r\n\tat com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)\r\n\t... 1 more\r\n\r\nProcess finished with exit code 1\r\n```\r\n\r\n"}}
{"actor":{"display_login":"sajjadG"}}