CRamsan / CoreProject

This is a project that aims to provide a scalable architecture for mobile development.
https://cramsan.com/
1 stars 0 forks source link

Fix java.lang.NullPointerException: CONSUMER_SECRET must not be null in com.cesarandres.ps2link.PS2ApplicationModule_ProvideTwitterConsumerSecretFactory.provideTwitterConsumerSecret (PS2ApplicationModule_ProvideTwitterConsumerSecretFactory.java:28) #226

Closed CRamsan closed 3 years ago

CRamsan commented 3 years ago

Version 5.4.0-debug(1)

Stacktrace

com.cesarandres.ps2link.PS2ApplicationModule_ProvideTwitterConsumerSecretFactory.provideTwitterConsumerSecret (PS2ApplicationModule_ProvideTwitterConsumerSecretFactory.java:28);

com.cesarandres.ps2link.DaggerApplicationPS2Link_HiltComponents_SingletonC.twitterClient (DaggerApplicationPS2Link_HiltComponents_SingletonC.java:573);

com.cesarandres.ps2link.DaggerApplicationPS2Link_HiltComponents_SingletonC.twitterRepository (DaggerApplicationPS2Link_HiltComponents_SingletonC.java:587);

com.cesarandres.ps2link.DaggerApplicationPS2Link_HiltComponents_SingletonC.-$$Nest$mtwitterRepository;

com.cesarandres.ps2link.DaggerApplicationPS2Link_HiltComponents_SingletonC$ActivityRetainedCImpl$ViewModelCImpl.twitterListViewModel (DaggerApplicationPS2Link_HiltComponents_SingletonC.java:1334);

com.cesarandres.ps2link.DaggerApplicationPS2Link_HiltComponents_SingletonC$ActivityRetainedCImpl$ViewModelCImpl.-$$Nest$mtwitterListViewModel;

com.cesarandres.ps2link.DaggerApplicationPS2Link_HiltComponents_SingletonC$ActivityRetainedCImpl$ViewModelCImpl$SwitchingProvider.get (DaggerApplicationPS2Link_HiltComponents_SingletonC.java:1427);

dagger.hilt.android.internal.lifecycle.HiltViewModelFactory$1.create (HiltViewModelFactory.java:100);

androidx.lifecycle.AbstractSavedStateViewModelFactory.create (AbstractSavedStateViewModelFactory.java:69);

androidx.lifecycle.AbstractSavedStateViewModelFactory.create (AbstractSavedStateViewModelFactory.java:84);

dagger.hilt.android.internal.lifecycle.HiltViewModelFactory.create (HiltViewModelFactory.java:109);

androidx.lifecycle.ViewModelProvider.get (ViewModelProvider.java:187);

androidx.lifecycle.ViewModelProvider.get (ViewModelProvider.java:150);

androidx.fragment.app.Fragment.performCreateView (Fragment.java:2963);

androidx.fragment.app.FragmentStateManager.createView (FragmentStateManager.java:518);

androidx.fragment.app.FragmentStateManager.moveToExpectedState (FragmentStateManager.java:282);

androidx.fragment.app.FragmentManager.executeOpsTogether (FragmentManager.java:2189);

androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute (FragmentManager.java:2106);

androidx.fragment.app.FragmentManager.execPendingActions (FragmentManager.java:2002);

androidx.fragment.app.FragmentManager$5.run (FragmentManager.java:524);

Reason

java.lang.NullPointerException: CONSUMER_SECRET must not be null

Link to App Center