{"action":"created","issue":{"url":"https://api.github.com/repos/JoanZapata/android-iconify/issues/59","labels_url":"https://api.github.com/repos/JoanZapata/android-iconify/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/JoanZapata/android-iconify/issues/59/comments","events_url":"https://api.github.com/repos/JoanZapata/android-iconify/issues/59/events","html_url":"https://github.com/JoanZapata/android-iconify/issues/59","id":46451419,"number":59,"title":"Exception while Running","user":{"login":"tkrause","id":1427628,"avatar_url":"https://avatars.githubusercontent.com/u/1427628?v=3","gravatar_id":"","url":"https://api.github.com/users/tkrause","html_url":"https://github.com/tkrause","followers_url":"https://api.github.com/users/tkrause/followers","following_url":"https://api.github.com/users/tkrause/following{/other_user}","gists_url":"https://api.github.com/users/tkrause/gists{/gist_id}","starred_url":"https://api.github.com/users/tkrause/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkrause/subscriptions","organizations_url":"https://api.github.com/users/tkrause/orgs","repos_url":"https://api.github.com/users/tkrause/repos","events_url":"https://api.github.com/users/tkrause/events{/privacy}","received_events_url":"https://api.github.com/users/tkrause/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JoanZapata/android-iconify/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2014-10-21T22:13:54Z","updated_at":"2015-07-26T21:30:56Z","closed_at":"2015-02-26T07:16:28Z","body":"I've been working on an application that uses android-iconify recently and was using IconButton and IconTextView which worked a few days ago. I noticed a new commit was made 2 hours ago and I believe is the cause of the issue. It looks like the Font was moved but the name was not updated and causes the following exception.\r\n\r\n10-21 18:06:49.410    1741-1741/net.codesector.Mileage E/AndroidRuntime﹕ FATAL EXCEPTION: main\r\n    Process: net.codesector.Mileage, PID: 1741\r\n    java.lang.RuntimeException: Unable to start activity ComponentInfo{net.codesector.Mileage/net.codesector.Mileage.LoginActivity}: android.view.InflateException: Binary XML file line #36: Error inflating class android.widget.IconTextView\r\n            at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195)\r\n            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)\r\n            at android.app.ActivityThread.access$800(ActivityThread.java:135)\r\n            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)\r\n            at android.os.Handler.dispatchMessage(Handler.java:102)\r\n            at android.os.Looper.loop(Looper.java:136)\r\n            at android.app.ActivityThread.main(ActivityThread.java:5017)\r\n            at java.lang.reflect.Method.invokeNative(Native Method)\r\n            at java.lang.reflect.Method.invoke(Method.java:515)\r\n            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)\r\n            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)\r\n            at dalvik.system.NativeStart.main(Native Method)\r\n     Caused by: android.view.InflateException: Binary XML file line #36: Error inflating class android.widget.IconTextView\r\n            at android.view.LayoutInflater.createView(LayoutInflater.java:621)\r\n            at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:697)\r\n            at android.view.LayoutInflater.rInflate(LayoutInflater.java:756)\r\n            at android.view.LayoutInflater.inflate(LayoutInflater.java:492)\r\n            at android.view.LayoutInflater.inflate(LayoutInflater.java:397)\r\n            at android.view.LayoutInflater.inflate(LayoutInflater.java:353)\r\n            at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:290)\r\n            at android.app.Activity.setContentView(Activity.java:1929)\r\n            at net.codesector.Mileage.LoginActivity.onCreate(LoginActivity.java:14)\r\n            at android.app.Activity.performCreate(Activity.java:5231)\r\n            at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)\r\n            at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)\r\n            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)\r\n            at android.app.ActivityThread.access$800(ActivityThread.java:135)\r\n            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)\r\n            at android.os.Handler.dispatchMessage(Handler.java:102)\r\n            at android.os.Looper.loop(Looper.java:136)\r\n            at android.app.ActivityThread.main(ActivityThread.java:5017)\r\n            at java.lang.reflect.Method.invokeNative(Native Method)\r\n            at java.lang.reflect.Method.invoke(Method.java:515)\r\n            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)\r\n            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)\r\n            at dalvik.system.NativeStart.main(Native Method)\r\n     Caused by: java.lang.reflect.InvocationTargetException\r\n            at java.lang.reflect.Constructor.constructNative(Native Method)\r\n            at java.lang.reflect.Constructor.newInstance(Constructor.java:423)\r\n            at android.view.LayoutInflater.createView(LayoutInflater.java:595)\r\n            at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:697)\r\n            at android.view.LayoutInflater.rInflate(LayoutInflater.java:756)\r\n            at android.view.LayoutInflater.inflate(LayoutInflater.java:492)\r\n            at android.view.LayoutInflater.inflate(LayoutInflater.java:397)\r\n            at android.view.LayoutInflater.inflate(LayoutInflater.java:353)\r\n            at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:290)\r\n            at android.app.Activity.setContentView(Activity.java:1929)\r\n            at net.codesector.Mileage.LoginActivity.onCreate(LoginActivity.java:14)\r\n            at android.app.Activity.performCreate(Activity.java:5231)\r\n            at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)\r\n            at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)\r\n            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)\r\n            at android.app.ActivityThread.access$800(ActivityThread.java:135)\r\n            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)\r\n            at android.os.Handler.dispatchMessage(Handler.java:102)\r\n            at android.os.Looper.loop(Looper.java:136)\r\n            at android.app.ActivityThread.main(ActivityThread.java:5017)\r\n            at java.lang.reflect.Method.invokeNative(Native Method)\r\n            at java.lang.reflect.Method.invoke(Method.java:515)\r\n            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)\r\n            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)\r\n            at dalvik.system.NativeStart.main(Native Method)\r\n     Caused by: java.lang.RuntimeException: native typeface cannot be made\r\n            at android.graphics.Typeface.<init>(Typeface.java:175)\r\n            at android.graphics.Typeface.createFromFile(Typeface.java:159)\r\n            at com.joanzapata.android.iconify.Iconify.getTypeface(Iconify.java:80)\r\n            at com.joanzapata.android.iconify.Iconify.addIcons(Iconify.java:53)\r\n            at android.widget.IconTextView.init(IconTextView.java:46)\r\n            at android.widget.IconTextView.<init>(IconTextView.java:36)\r\n            at java.lang.reflect.Constructor.constructNative(Native Method)\r\n            at java.lang.reflect.Constructor.newInstance(Constructor.java:423)\r\n            at android.view.LayoutInflater.createView(LayoutInflater.java:595)\r\n            at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:697)\r\n            at android.view.LayoutInflater.rInflate(LayoutInflater.java:756)\r\n            at android.view.LayoutInflater.inflate(LayoutInflater.java:492)\r\n            at android.view.LayoutInflater.inflate(LayoutInflater.java:397)\r\n            at android.view.LayoutInflater.inflate(LayoutInflater.java:353)\r\n            at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:290)\r\n            at android.app.Activity.setContentView(Activity.java:1929)\r\n            at net.codesector.Mileage.LoginActivity.onCreate(LoginActivity.java:14)\r\n            at android.app.Activity.performCreate(Activity.java:5231)\r\n            at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)\r\n            at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)\r\n            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)\r\n            at android.app.ActivityThread.access$800(ActivityThread.java:135)\r\n            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)\r\n            at android.os.Handler.dispatchMessage(Handler.java:102)\r\n            at android.os.Looper.loop(Looper.java:136)\r\n            at android.app.ActivityThread.main(ActivityThread.java:5017)\r\n            at java.lang.reflect.Method.invokeNative(Native Method)\r\n            at java.lang.reflect.Method.invoke(Method.java:515)\r\n            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)\r\n            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)\r\n            at dalvik.system.NativeStart.main(Native Method)"},"comment":{"url":"https://api.github.com/repos/JoanZapata/android-iconify/issues/comments/125042123","html_url":"https://github.com/JoanZapata/android-iconify/issues/59#issuecomment-125042123","issue_url":"https://api.github.com/repos/JoanZapata/android-iconify/issues/59","id":125042123,"user":{"login":"MatthewBooth","id":5381861,"avatar_url":"https://avatars.githubusercontent.com/u/5381861?v=3","gravatar_id":"","url":"https://api.github.com/users/MatthewBooth","html_url":"https://github.com/MatthewBooth","followers_url":"https://api.github.com/users/MatthewBooth/followers","following_url":"https://api.github.com/users/MatthewBooth/following{/other_user}","gists_url":"https://api.github.com/users/MatthewBooth/gists{/gist_id}","starred_url":"https://api.github.com/users/MatthewBooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatthewBooth/subscriptions","organizations_url":"https://api.github.com/users/MatthewBooth/orgs","repos_url":"https://api.github.com/users/MatthewBooth/repos","events_url":"https://api.github.com/users/MatthewBooth/events{/privacy}","received_events_url":"https://api.github.com/users/MatthewBooth/received_events","type":"User","site_admin":false},"created_at":"2015-07-26T21:30:56Z","updated_at":"2015-07-26T21:30:56Z","body":"This is still a problem when running the emulator. Works fine on my device, but in the emulator this error is thrown all the time. If #58 doesn't break anything,. I see no reason not to have merged it, if it fixed this issue."}}