{"action":"created","issue":{"url":"https://api.github.com/repos/square/mortar/issues/123","labels_url":"https://api.github.com/repos/square/mortar/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/square/mortar/issues/123/comments","events_url":"https://api.github.com/repos/square/mortar/issues/123/events","html_url":"https://github.com/square/mortar/issues/123","id":57109288,"number":123,"title":"Inflation crash when using Calligraphy","user":{"login":"nathanielwolf","id":1278688,"avatar_url":"https://avatars.githubusercontent.com/u/1278688?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanielwolf","html_url":"https://github.com/nathanielwolf","followers_url":"https://api.github.com/users/nathanielwolf/followers","following_url":"https://api.github.com/users/nathanielwolf/following{/other_user}","gists_url":"https://api.github.com/users/nathanielwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanielwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanielwolf/subscriptions","organizations_url":"https://api.github.com/users/nathanielwolf/orgs","repos_url":"https://api.github.com/users/nathanielwolf/repos","events_url":"https://api.github.com/users/nathanielwolf/events{/privacy}","received_events_url":"https://api.github.com/users/nathanielwolf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-09T23:53:56Z","updated_at":"2015-02-10T00:23:25Z","closed_at":null,"body":"The following crash occurs on the first view inflation unless `CalligraphyConfig.Builder#disableCustomViewInflation()` is called during initialization.\r\n\r\njava.lang.RuntimeException: Unable to start activity ComponentInfo{com.couchsurfing.mobile.debug/com.couchsurfing.mobile.ui.MainActivity}: android.view.InflateException: Binary XML file line #3: Error inflating class com.couchsurfing.mobile.ui.home.HomeView\r\n       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2184)\r\n       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)\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:5001)\r\n       at java.lang.reflect.Method.invokeNative(Method.java)\r\n       at java.lang.reflect.Method.invoke(Method.java:515)\r\n       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)\r\n       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)\r\n       at dalvik.system.NativeStart.main(NativeStart.java)\r\nCaused by: android.view.InflateException: Binary XML file line #3: Error inflating class com.couchsurfing.mobile.ui.home.HomeView\r\n       at android.view.LayoutInflater.createView(LayoutInflater.java:620)\r\n       at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.createCustomViewInternal(CalligraphyLayoutInflater.java:206)\r\n       at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.access$000(CalligraphyLayoutInflater.java:20)\r\n       at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater$PrivateWrapperFactory2.onCreateView(CalligraphyLayoutInflater.java:297)\r\n       at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:689)\r\n       at android.view.LayoutInflater.inflate(LayoutInflater.java:469)\r\n       at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.inflate(CalligraphyLayoutInflater.java:60)\r\n       at android.view.LayoutInflater.inflate(LayoutInflater.java:397)\r\n       at com.couchsurfing.mobile.ui.ScreenConductor.inflateLayout(ScreenConductor.java:226)\r\n       at com.couchsurfing.mobile.ui.ScreenConductor.createView(ScreenConductor.java:221)\r\n       at com.couchsurfing.mobile.ui.ScreenConductor.createView(ScreenConductor.java:207)\r\n       at com.couchsurfing.mobile.ui.ScreenConductor.createViewFromScreen(ScreenConductor.java:124)\r\n       at com.couchsurfing.mobile.ui.ScreenConductor.showScreen(ScreenConductor.java:75)\r\n       at com.couchsurfing.mobile.ui.base.BaseViewActivity.showScreen(BaseViewActivity.java:78)\r\n       at com.couchsurfing.mobile.ui.base.BaseActivityPresenter.showScreen(BaseActivityPresenter.java:347)\r\n       at com.couchsurfing.mobile.ui.MainActivityBlueprint$Presenter.showScreen(MainActivityBlueprint.java:158)\r\n       at com.couchsurfing.mobile.ui.base.BaseActivityPresenter.onLoad(BaseActivityPresenter.java:167)\r\n       at com.couchsurfing.mobile.ui.MainActivityBlueprint$Presenter.onLoad(MainActivityBlueprint.java:312)\r\n       at mortar.Presenter$1.onLoad(Presenter.java:34)\r\n       at mortar.RealActivityScope.doLoading(RealActivityScope.java:153)\r\n       at mortar.RealActivityScope.register(RealActivityScope.java:68)\r\n       at mortar.Presenter.takeView(Presenter.java:73)\r\n       at com.couchsurfing.mobile.ui.base.BaseActivity.onPostCreate(BaseActivity.java:182)\r\n       at com.couchsurfing.mobile.ui.MainActivity.onPostCreate(MainActivity.java:143)\r\n       at android.app.Instrumentation.callActivityOnPostCreate(Instrumentation.java:1150)\r\n       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2167)\r\n       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)\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:5001)\r\n       at java.lang.reflect.Method.invokeNative(Method.java)\r\n       at java.lang.reflect.Method.invoke(Method.java:515)\r\n       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)\r\n       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)\r\n       at dalvik.system.NativeStart.main(NativeStart.java)\r\nCaused by: java.lang.reflect.InvocationTargetException\r\n       at java.lang.reflect.Constructor.constructNative(Constructor.java)\r\n       at java.lang.reflect.Constructor.newInstance(Constructor.java:423)\r\n       at android.view.LayoutInflater.createView(LayoutInflater.java:594)\r\n       at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.createCustomViewInternal(CalligraphyLayoutInflater.java:206)\r\n       at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.access$000(CalligraphyLayoutInflater.java:20)\r\n       at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater$PrivateWrapperFactory2.onCreateView(CalligraphyLayoutInflater.java:297)\r\n       at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:689)\r\n       at android.view.LayoutInflater.inflate(LayoutInflater.java:469)\r\n       at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.inflate(CalligraphyLayoutInflater.java:60)\r\n       at android.view.LayoutInflater.inflate(LayoutInflater.java:397)\r\n       at com.couchsurfing.mobile.ui.ScreenConductor.inflateLayout(ScreenConductor.java:226)\r\n       at com.couchsurfing.mobile.ui.ScreenConductor.createView(ScreenConductor.java:221)\r\n       at com.couchsurfing.mobile.ui.ScreenConductor.createView(ScreenConductor.java:207)\r\n       at com.couchsurfing.mobile.ui.ScreenConductor.createViewFromScreen(ScreenConductor.java:124)\r\n       at com.couchsurfing.mobile.ui.ScreenConductor.showScreen(ScreenConductor.java:75)\r\n       at com.couchsurfing.mobile.ui.base.BaseViewActivity.showScreen(BaseViewActivity.java:78)\r\n       at com.couchsurfing.mobile.ui.base.BaseActivityPresenter.showScreen(BaseActivityPresenter.java:347)\r\n       at com.couchsurfing.mobile.ui.MainActivityBlueprint$Presenter.showScreen(MainActivityBlueprint.java:158)\r\n       at com.couchsurfing.mobile.ui.base.BaseActivityPresenter.onLoad(BaseActivityPresenter.java:167)\r\n       at com.couchsurfing.mobile.ui.MainActivityBlueprint$Presenter.onLoad(MainActivityBlueprint.java:312)\r\n       at mortar.Presenter$1.onLoad(Presenter.java:34)\r\n       at mortar.RealActivityScope.doLoading(RealActivityScope.java:153)\r\n       at mortar.RealActivityScope.register(RealActivityScope.java:68)\r\n       at mortar.Presenter.takeView(Presenter.java:73)\r\n       at com.couchsurfing.mobile.ui.base.BaseActivity.onPostCreate(BaseActivity.java:182)\r\n       at com.couchsurfing.mobile.ui.MainActivity.onPostCreate(MainActivity.java:143)\r\n       at android.app.Instrumentation.callActivityOnPostCreate(Instrumentation.java:1150)\r\n       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2167)\r\n       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)\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:5001)\r\n       at java.lang.reflect.Method.invokeNative(Method.java)\r\n       at java.lang.reflect.Method.invoke(Method.java:515)\r\n       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)\r\n       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)\r\n       at dalvik.system.NativeStart.main(NativeStart.java)\r\nCaused by: java.lang.IllegalArgumentException: No inject registered for members/com.couchsurfing.mobile.ui.home.HomeView. You must explicitly add it to the 'injects' option in one of your modules.\r\n       at dagger.ObjectGraph$DaggerObjectGraph.getInjectableTypeBinding(ObjectGraph.java:302)\r\n       at dagger.ObjectGraph$DaggerObjectGraph.inject(ObjectGraph.java:279)\r\n       at mortar.Mortar.inject(Mortar.java:93)\r\n       at com.couchsurfing.mobile.ui.home.HomeView.<init>(HomeView.java:25)\r\n       at java.lang.reflect.Constructor.constructNative(Constructor.java)\r\n       at java.lang.reflect.Constructor.newInstance(Constructor.java:423)\r\n       at android.view.LayoutInflater.createView(LayoutInflater.java:594)\r\n       at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.createCustomViewInternal(CalligraphyLayoutInflater.java:206)\r\n       at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.access$000(CalligraphyLayoutInflater.java:20)\r\n       at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater$PrivateWrapperFactory2.onCreateView(CalligraphyLayoutInflater.java:297)\r\n       at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:689)\r\n       at android.view.LayoutInflater.inflate(LayoutInflater.java:469)\r\n       at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.inflate(CalligraphyLayoutInflater.java:60)\r\n       at android.view.LayoutInflater.inflate(LayoutInflater.java:397)\r\n       at com.couchsurfing.mobile.ui.ScreenConductor.inflateLayout(ScreenConductor.java:226)\r\n       at com.couchsurfing.mobile.ui.ScreenConductor.createView(ScreenConductor.java:221)\r\n       at com.couchsurfing.mobile.ui.ScreenConductor.createView(ScreenConductor.java:207)\r\n       at com.couchsurfing.mobile.ui.ScreenConductor.createViewFromScreen(ScreenConductor.java:124)\r\n       at com.couchsurfing.mobile.ui.ScreenConductor.showScreen(ScreenConductor.java:75)\r\n       at com.couchsurfing.mobile.ui.base.BaseViewActivity.showScreen(BaseViewActivity.java:78)\r\n       at com.couchsurfing.mobile.ui.base.BaseActivityPresenter.showScreen(BaseActivityPresenter.java:347)\r\n       at com.couchsurfing.mobile.ui.MainActivityBlueprint$Presenter.showScreen(MainActivityBlueprint.java:158)\r\n       at com.couchsurfing.mobile.ui.base.BaseActivityPresenter.onLoad(BaseActivityPresenter.java:167)\r\n       at com.couchsurfing.mobile.ui.MainActivityBlueprint$Presenter.onLoad(MainActivityBlueprint.java:312)\r\n       at mortar.Presenter$1.onLoad(Presenter.java:34)\r\n       at mortar.RealActivityScope.doLoading(RealActivityScope.java:153)\r\n       at mortar.RealActivityScope.register(RealActivityScope.java:68)\r\n       at mortar.Presenter.takeView(Presenter.java:73)\r\n       at com.couchsurfing.mobile.ui.base.BaseActivity.onPostCreate(BaseActivity.java:182)\r\n       at com.couchsurfing.mobile.ui.MainActivity.onPostCreate(MainActivity.java:143)\r\n       at android.app.Instrumentation.callActivityOnPostCreate(Instrumentation.java:1150)\r\n       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2167)\r\n       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)\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:5001)\r\n       at java.lang.reflect.Method.invokeNative(Method.java)\r\n       at java.lang.reflect.Method.invoke(Method.java:515)\r\n       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)\r\n       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)\r\n       at dalvik.system.NativeStart.main(NativeStart.java)"},"comment":{"url":"https://api.github.com/repos/square/mortar/issues/comments/73620511","html_url":"https://github.com/square/mortar/issues/123#issuecomment-73620511","issue_url":"https://api.github.com/repos/square/mortar/issues/123","id":73620511,"user":{"login":"runningcode","id":332597,"avatar_url":"https://avatars.githubusercontent.com/u/332597?v=3","gravatar_id":"","url":"https://api.github.com/users/runningcode","html_url":"https://github.com/runningcode","followers_url":"https://api.github.com/users/runningcode/followers","following_url":"https://api.github.com/users/runningcode/following{/other_user}","gists_url":"https://api.github.com/users/runningcode/gists{/gist_id}","starred_url":"https://api.github.com/users/runningcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runningcode/subscriptions","organizations_url":"https://api.github.com/users/runningcode/orgs","repos_url":"https://api.github.com/users/runningcode/repos","events_url":"https://api.github.com/users/runningcode/events{/privacy}","received_events_url":"https://api.github.com/users/runningcode/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T00:23:25Z","updated_at":"2015-02-10T00:23:25Z","body":"did you explicitly add `com.couchsurfing.mobile.ui.home.HomeView` to the injects of one of your modules?"}}