{"action":"created","issue":{"url":"https://api.github.com/repos/aalmiray/ikonli/issues/11","repository_url":"https://api.github.com/repos/aalmiray/ikonli","labels_url":"https://api.github.com/repos/aalmiray/ikonli/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/aalmiray/ikonli/issues/11/comments","events_url":"https://api.github.com/repos/aalmiray/ikonli/issues/11/events","html_url":"https://github.com/aalmiray/ikonli/issues/11","id":261512285,"number":11,"title":"Error using the Ikonli font library java.lang.UnsupportedOperationException","user":{"login":"truongton92","id":3733458,"avatar_url":"https://avatars0.githubusercontent.com/u/3733458?v=4","gravatar_id":"","url":"https://api.github.com/users/truongton92","html_url":"https://github.com/truongton92","followers_url":"https://api.github.com/users/truongton92/followers","following_url":"https://api.github.com/users/truongton92/following{/other_user}","gists_url":"https://api.github.com/users/truongton92/gists{/gist_id}","starred_url":"https://api.github.com/users/truongton92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/truongton92/subscriptions","organizations_url":"https://api.github.com/users/truongton92/orgs","repos_url":"https://api.github.com/users/truongton92/repos","events_url":"https://api.github.com/users/truongton92/events{/privacy}","received_events_url":"https://api.github.com/users/truongton92/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-09-29T02:12:45Z","updated_at":"2018-02-23T20:09:08Z","closed_at":null,"author_association":"NONE","body":"Follow the font instructions from https://aalmiray.github.io/ikonli/\r\n\r\nI use two dependencies for my javafx as follows\r\n\r\n```\r\n<dependency>\r\n        <groupId>org.kordamp.ikonli</groupId>\r\n        <artifactId>ikonli-javafx</artifactId>\r\n        <version>1.9.0</version>\r\n    </dependency>\r\n    <dependency>\r\n        <groupId>org.kordamp.ikonli</groupId>\r\n        <artifactId>ikonli-fontawesome-pack</artifactId>\r\n        <version>1.9.0</version>\r\n    </dependency>\r\n```\r\nMy XML file\r\n\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n\r\n<?import javafx.scene.control.Button?>\r\n<?import javafx.scene.layout.VBox?>\r\n<?import org.kordamp.ikonli.javafx.FontIcon?>\r\n\r\n<VBox id=\"VBox\" xmlns=\"http://javafx.com/javafx/8.0.141\" xmlns:fx=\"http://javafx.com/fxml/1\" fx:controller=\"touya.akira.parser.ParserPresenter\">\r\n   <children>\r\n       <Button mnemonicParsing=\"false\">\r\n         <graphic>\r\n            <FontIcon iconLiteral=\"fa-address-book\" />\r\n         </graphic>\r\n       </Button>\r\n   </children>\r\n</VBox>\r\n```\r\nERROR\r\n```\r\n\r\n--- exec-maven-plugin:1.2.1:exec (default-cli) @ Touya-Akira ---\r\nException in Application start method\r\njava.lang.reflect.InvocationTargetException\r\n    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n    at java.lang.reflect.Method.invoke(Method.java:498)\r\n    at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:389)\r\n    at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)\r\n    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n    at java.lang.reflect.Method.invoke(Method.java:498)\r\n    at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767)\r\nCaused by: java.lang.RuntimeException: Exception in Application start method\r\n    at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917)\r\n    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$155(LauncherImpl.java:182)\r\n    at java.lang.Thread.run(Thread.java:748)\r\nCaused by: java.lang.IllegalStateException: Cannot load touya.akira.parser.parser\r\n    at com.airhacks.afterburner.views.FXMLView.loadSynchronously(FXMLView.java:101)\r\n    at com.airhacks.afterburner.views.FXMLView.initializeFXMLLoader(FXMLView.java:125)\r\n    at com.airhacks.afterburner.views.FXMLView.getView(FXMLView.java:137)\r\n    at touya.akira.MainApp.start(MainApp.java:16)\r\n    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(LauncherImpl.java:863)\r\n    at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326)\r\n    at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)\r\n    at java.security.AccessController.doPrivileged(Native Method)\r\n    at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)\r\n    at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)\r\n    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)\r\n    at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)\r\n    ... 1 more\r\nCaused by: javafx.fxml.LoadException: \r\nfile:/E:/Java/NetBeansProjects/Touya-Akira/main/1.0.6/Touya-Akira/target/Touya-Akira-1.0.6.jar!/touya/akira/parser/parser.fxml:13\r\n\r\n    at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2601)\r\n    at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2579)\r\n    at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2441)\r\n    at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2409)\r\n    at com.airhacks.afterburner.views.FXMLView.loadSynchronously(FXMLView.java:99)\r\n    ... 12 more\r\nCaused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException\r\n    at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:262)\r\n    at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:54)\r\n    at javafx.fxml.FXMLLoader$Element.applyProperty(FXMLLoader.java:512)\r\n    at javafx.fxml.FXMLLoader$Element.processValue(FXMLLoader.java:363)\r\n    at javafx.fxml.FXMLLoader$Element.processPropertyAttribute(FXMLLoader.java:325)\r\n    at javafx.fxml.FXMLLoader$Element.processInstancePropertyAttributes(FXMLLoader.java:235)\r\n    at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:767)\r\n    at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2823)\r\n    at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2532)\r\n    ... 15 more\r\nCaused by: java.lang.reflect.InvocationTargetException\r\n    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n    at java.lang.reflect.Method.invoke(Method.java:498)\r\n    at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)\r\n    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n    at java.lang.reflect.Method.invoke(Method.java:498)\r\n    at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)\r\n    at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:258)\r\n    ... 23 more\r\nCaused by: java.lang.UnsupportedOperationException: Cannot resolve 'fa-circle-thin'\r\n    at org.kordamp.ikonli.javafx.IkonResolver.resolveIkonHandler(IkonResolver.java:60)\r\n    at org.kordamp.ikonli.javafx.FontIcon.setIconLiteral(FontIcon.java:232)\r\n    ... 34 more\r\nException running application touya.akira.MainApp\r\n------------------------------------------------------------------------\r\nBUILD FAILURE\r\n------------------------------------------------------------------------\r\nTotal time: 5.914s\r\nFinished at: Fri Sep 29 08:49:05 ICT 2017\r\nFinal Memory: 14M/35M\r\nBut if I use dependencies\r\n\r\n```\r\n```\r\n<dependency>\r\n    <groupId>org.kordamp.ikonli</groupId>\r\n    <artifactId>ikonli-devicons-pack</artifactId>\r\n    <version>1.9.0</version>\r\n</dependency>\r\n\r\n<FontIcon iconLiteral=\"di-android\" />\r\n```\r\nthen it can work but with other dependencies i try it the above error appears\r\n\r\nWhat am I missing here? What should I do to make this work? Please help me"},"comment":{"url":"https://api.github.com/repos/aalmiray/ikonli/issues/comments/368125084","html_url":"https://github.com/aalmiray/ikonli/issues/11#issuecomment-368125084","issue_url":"https://api.github.com/repos/aalmiray/ikonli/issues/11","id":368125084,"user":{"login":"aalmiray","id":13969,"avatar_url":"https://avatars1.githubusercontent.com/u/13969?v=4","gravatar_id":"","url":"https://api.github.com/users/aalmiray","html_url":"https://github.com/aalmiray","followers_url":"https://api.github.com/users/aalmiray/followers","following_url":"https://api.github.com/users/aalmiray/following{/other_user}","gists_url":"https://api.github.com/users/aalmiray/gists{/gist_id}","starred_url":"https://api.github.com/users/aalmiray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aalmiray/subscriptions","organizations_url":"https://api.github.com/users/aalmiray/orgs","repos_url":"https://api.github.com/users/aalmiray/repos","events_url":"https://api.github.com/users/aalmiray/events{/privacy}","received_events_url":"https://api.github.com/users/aalmiray/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T20:09:08Z","updated_at":"2018-02-23T20:09:08Z","author_association":"OWNER","body":"This appears to be a problem caused by missing resources. If you're creating a shaded/fatjar version then you must make sure that all resources under `META-INF/services` are merged correctly. Refer to the documentation of the particular plugin (Shade for Maven, Shadow for Gradle) on how to configure the build to merge service files."}}
{"actor":{"display_login":"aalmiray"}}