Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by ankitjain24x7
, 1 year ago
: - app.com.autovideosample.exoPlayer.ExoVideoView (Open Class, Show Exception, Clear Cache) Tip: Use View.isInEditMode() in your custom views to skip code or show sample data when shown in the IDE. If this is an unexpected error you can also try to build the project, then manually refresh the layout. Exception Details java.lang.NullPointerException
android.view.InflateException: Binary XML file line #44: Binary XML file line #44: Error inflating class app.com.autovideosample.exoPlayer.ExoVideoView
Unable to understand and in xml also it shows :
The following classes could not be instantiated:
- app.com.autovideosample.exoPlayer.ExoVideoView (Open Class, Show Exception, Clear Cache)
 Tip: Use View.isInEditMode() in your custom views to skip code or show sample data when shown in the IDE.  If this is an unexpected error you can also try to build the project, then manually refresh the layout.  Exception Details java.lang.NullPointerException 	at com.google.android.exoplayer2.util.Util.getUserAgent(Util.java:677)	at app.com.autovideosample.exoPlayer.ExoVideoView.buildHttpDataSourceFactory(ExoVideoView.java:449)	at app.com.autovideosample.exoPlayer.ExoVideoView.buildDataSourceFactory(ExoVideoView.java:445)	at app.com.autovideosample.exoPlayer.ExoVideoView.buildDataSourceFactory(ExoVideoView.java:429)	at app.com.autovideosample.exoPlayer.ExoVideoView.(ExoVideoView.java:178)	at app.com.autovideosample.exoPlayer.ExoVideoView.(ExoVideoView.java:154)	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727)	at android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:858)	at android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:70)	at android.view.LayoutInflater.rInflate(LayoutInflater.java:834)	at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)	at android.view.LayoutInflater.inflate(LayoutInflater.java:518)