Skip to content

Instantly share code, notes, and snippets.

View avalanchas's full-sized avatar

Patrick avalanchas

View GitHub Profile
Fatal Exception: java.lang.ExceptionInInitializerError
at zendesk.support.StorageModule.provideRequestStorage(StorageModule.java:26)
at zendesk.support.StorageModule_ProvideRequestStorageFactory.provideRequestStorage(StorageModule_ProvideRequestStorageFactory.java:49)
at zendesk.support.StorageModule_ProvideRequestStorageFactory.get(StorageModule_ProvideRequestStorageFactory.java:37)
at zendesk.support.StorageModule_ProvideRequestStorageFactory.get(StorageModule_ProvideRequestStorageFactory.java:11)
at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
at zendesk.support.ProviderModule_ProvideRequestProviderFactory.get(ProviderModule_ProvideRequestProviderFactory.java:56)
at zendesk.support.ProviderModule_ProvideRequestProviderFactory.get(ProviderModule_ProvideRequestProviderFactory.java:10)
at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
at zendesk.support.ProviderModule_ProvideProviderStoreFactory.get(ProviderModule_ProvideProviderStor
@avalanchas
avalanchas / error.txt
Created April 19, 2021 14:35
Error Report
../../src/main/java/...Helper.java: The lint detector
timber.lint.WrongTimberUsageDetector
called context.getMainProject() during module analysis.
This does not work correctly when running in cli.
In particular, there may be false positives or false negatives because
the lint check may be using the minSdkVersion or manifest information
from the library instead of any consuming app module.
Could not determine the dependencies of task ':app:compileFreeNetDebugJavaWithJavac'.
> Could not resolve all dependencies for configuration ':app:freeNetDebugCompileClasspath'.
> java.util.ConcurrentModificationException (no error message)
* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Exception is:
org.gradle.api.internal.tasks.TaskDependencyResolveException: Could not determine the dependencies of task ':app:compileFreeNetDebugJavaWithJavac'.
at org.gradle.api.internal.tasks.CachingTaskDependencyResolveContext.getDependencies(CachingTaskDependencyResolveContext.java:71)
@avalanchas
avalanchas / logcat.txt
Created September 9, 2020 16:46
Crash Log
09-09 18:42:12.035 1518 1593 I ActivityManager: Start proc 20712:dji.go.v5/u0a420 for pre-top-activity {dji.go.v5/com.dji.component.application.activity.DJIPureLaunchActivity}
09-09 18:42:12.043 20712 20712 E dji.go.v5: Not starting debugger since process cannot load the jdwp agent.
09-09 18:42:12.060 20712 20712 D ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.test.base.jar
09-09 18:42:12.062 20712 20712 I dji.go.v5: The ClassLoaderContext is a special shared library.
09-09 18:42:12.065 20712 20712 I dji.go.v5: The ClassLoaderContext is a special shared library.
09-09 18:42:12.066 2234 2234 D RecentsOrientedState: current RecentsOrientedState: [this=RecentsOrientedState@3792bec mOrientationHandler=PortraitPagedViewHandler@756904b mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=true mSystemRotation=true mFlags=15]
09-09 18:42:12.074 20712 20712 E LoadedApk: Unable to instantiate appComponentFactory
09-09 18:42:12.074 2071
2020-08-26 14:06:38.480 12492-12492/com.google.ads.interactivemedia.v3.samples.videoplayerapp D/MyActivity: AdEvent: [RESUMED] with time: [null]
2020-08-26 14:06:38.615 12492-12492/com.google.ads.interactivemedia.v3.samples.videoplayerapp D/MyActivity: AdEvent: [STARTED] with time: [null]
2020-08-26 14:06:38.616 12492-12492/com.google.ads.interactivemedia.v3.samples.videoplayerapp D/MyActivity: AdEvent: [AD_PROGRESS] with time: [0.022]
2020-08-26 14:06:38.668 12492-12492/com.google.ads.interactivemedia.v3.samples.videoplayerapp D/MyActivity: AdEvent: [AD_PROGRESS] with time: [0.112]
2020-08-26 14:06:38.767 12492-12492/com.google.ads.interactivemedia.v3.samples.videoplayerapp D/MyActivity: AdEvent: [AD_PROGRESS] with time: [0.207]
2020-08-26 14:06:38.871 12492-12492/com.google.ads.interactivemedia.v3.samples.videoplayerapp D/MyActivity: AdEvent: [AD_PROGRESS] with time: [0.3]
2020-08-26 14:06:38.969 12492-12492/com.google.ads.interactivemedia.v3.samples.videoplayerapp D/MyActivity: AdEvent: [AD_PROGRESS] with
Antenna Helper (AntennaHelper 2:1.0.7.2)
CapCom - Mission Control On The Go (CapCom 2.11)
ClickThrough Blocker (ClickThroughBlocker 0.1.9.5)
Community Terrain Texture Pack (CommunityTerrainTexturePack 1:1.0.4)
Contract Configurator (ContractConfigurator 1.28.0)
Contract Parser (ContractParser 9.0)
Crew Light (CrewLight 1:1.20.0)
Crew R&R (CrewQueueTwo 1.1.10.4)
Custom Barn Kit (CustomBarnKit 1.1.20.0)
Distant Object Enhancement Continued (DistantObject v2.0.0.1)
@avalanchas
avalanchas / stacktrace.txt
Created November 4, 2019 09:41
adapter delegates crash
2019-11-03 15:21:28.783 ? E/AndroidRuntime: FATAL EXCEPTION: main
Process: at.radio.android, PID: 32618
java.lang.NullPointerException: Items datasource is null!
at com.hannesdorfmann.adapterdelegates4.AdapterDelegatesManager.getItemViewType(AdapterDelegatesManager.java:232)
at com.hannesdorfmann.adapterdelegates4.paging.PagedListDelegationAdapter.getItemViewType(PagedListDelegationAdapter.java:93)
at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:5926)
at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5858)
at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5854)
at androidx.recyclerview.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2230)
at androidx.recyclerview.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1557)
@avalanchas
avalanchas / MyApplication.java
Last active October 7, 2019 13:01
How to access private final fields in a private static final inner class via reflection
public class MyApplication extends Application {
...
@SuppressWarnings({"unchecked", "ConstantConditions"})
private void handleDownloadManagerCrash(Thread thread, Throwable throwable) {
ArrayList<Download> downloads = null;
HashMap activeTasks = null;
try {
08-14 15:36:01.409 925-4600/? I/ActivityManager: START u10 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.harmonix.rb4app/.RockBandCompanionActivity (has extras)} from uid 1010013
08-14 15:36:01.442 925-1382/? W/WindowManager: Token{c0ed8ea ActivityRecord{c8c08d5 u10 com.harmonix.rb4app/.RockBandCompanionActivity t1002020}} failed creating starting window
android.content.res.Resources$NotFoundException: Resource ID #0x7f020045
at android.content.res.ResourcesImpl.getValueForDensity(ResourcesImpl.java:225)
at android.content.res.Resources.getDrawableForDensity(Resources.java:887)
at android.content.res.Resources.getDrawable(Resources.java:827)
at android.content.Context.getDrawable(Context.java:626)
at com.android.internal.widget.ToolbarWidgetWrapper.setIcon(ToolbarWidgetWrapper.java:322)
at com.android.internal.widget.ActionBarOverlayLayout.setIcon(ActionBarOverlayLayout.java:752)
at com.android.internal
@avalanchas
avalanchas / AndroidManifest.xml
Created January 29, 2018 12:52
Code Demo for intercepting
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.elliecoding.decrypttester">
<application
android:allowBackup="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"