Comments (5)
same problem
from calligraphy.
@dirol90 please refer to my comment here.
from calligraphy.
@AlejandroHCruz has this been resolved yet I'm still experience this issue - I also get the same issue with the sample app. I have upgraded to the latest version as suggested above but still doesnt work for me 👎 .
@chrisjenx did you get this resolved ?
Error inflating class androidx.appcompat.widget.FitWindowsLinearLayout Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.reflect.Field.get(java.lang.Object)' on a null object reference at io.github.inflationx.viewpump.ReflectionUtils.getValue(ReflectionUtils.java:25) at io.github.inflationx.viewpump.ViewPumpLayoutInflater.createCustomViewInternal(ViewPumpLayoutInflater.java:196) at io.github.inflationx.viewpump.ViewPumpLayoutInflater.access$000(ViewPumpLayoutInflater.java:14) at io.github.inflationx.viewpump.ViewPumpLayoutInflater$PrivateWrapperFactory2ViewCreator.onCreateView(ViewPumpLayoutInflater.java:405) at io.github.inflationx.viewpump.FallbackViewCreationInterceptor.intercept(FallbackViewCreationInterceptor.java:11) at io.github.inflationx.viewpump.InterceptorChain.proceed(InterceptorChain.java:37) at io.github.inflationx.calligraphy3.CalligraphyInterceptor.intercept(CalligraphyInterceptor.java:18) at io.github.inflationx.viewpump.InterceptorChain.proceed(InterceptorChain.java:37) at io.github.inflationx.viewpump.ViewPump.inflate(ViewPump.java:49) at io.github.inflationx.viewpump.ViewPumpLayoutInflater$PrivateWrapperFactory2.onCreateView(ViewPumpLayoutInflater.java:385) at android.view.LayoutInflater$FactoryMerger.onCreateView(LayoutInflater.java:239) at android.view.LayoutInflater.tryCreateView(LayoutInflater.java:1069) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:997) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:961) at android.view.LayoutInflater.inflate(LayoutInflater.java:659) at io.github.inflationx.viewpump.ViewPumpLayoutInflater.inflate(ViewPumpLayoutInflater.java:55) at android.view.LayoutInflater.inflate(LayoutInflater.java:534) at android.view.LayoutInflater.inflate(LayoutInflater.java:481) at b.b.k.f.F(AppCompatDelegateImpl.java:631) at b.b.k.f.M(AppCompatDelegateImpl.java:518) at b.b.k.f.v(AppCompatDelegateImpl.java:466) at b.b.k.c.setContentView(AppCompatActivity.java:140) at e.d.a.j.f.setContentView(BaseActivity.java:68)
from calligraphy.
We fixed this pretty quickly, make sure you are using ViewPump 2.0.3: https://github.com/InflationX/ViewPump/blob/master/CHANGELOG.md#version-203-2019-06-07
from calligraphy.
#35 (comment) gave an exact fix
from calligraphy.
Related Issues (20)
- Fatal Exception: java.lang.RuntimeException: Unable to start receiver com.google.firebase.iid.FirebaseInstanceIdReceiver HOT 3
- Jumping toolbar titles HOT 2
- android.view.inflateException HOT 5
- Calligraphy not functioning on API 21 HOT 1
- This will affect the recyclerView items HOT 1
- Font not getting applied to PopupMenus or the BottomNavigationView HOT 5
- Calligraphy with CompileSDKVersion = 29 HOT 5
- Apply custom font at run-time downloaded from WebServer. HOT 2
- Font not applied to Material Design NavigationView menu items HOT 2
- I get android.content.res.Resources$NotFoundException. How can I solve this? HOT 4
- font for whole app not working HOT 1
- ViewPumpContextWrapper is final HOT 1
- CalligraphyConfig().Builder issue HOT 1
- Add Support for Google Downloadable Fonts? HOT 3
- Proguard configuration not working HOT 1
- fontPath attribute not working with DialogFragment HOT 1
- Toast HOT 1
- ViewPump shows deprecation error. HOT 3
- Toolbar's subtitle is cleared if subtitle set programmatically
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calligraphy.