S8: German DHL+Post app crashes at start up (Version 7.0.54)

I cannot use the DHL + POST app (german app) with my Samsung S8 on /e/

It does crash some seconds after the initial launch

--------- beginning of crash
08-25 19:30:31.978 24503 24503 E AndroidRuntime: FATAL EXCEPTION: main
08-25 19:30:31.978 24503 24503 E AndroidRuntime: Process: de.dhl.paket, PID: 24503
08-25 19:30:31.978 24503 24503 E AndroidRuntime: java.net.MalformedURLException: no protocol: 
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at java.net.URL.<init>(URL.java:601)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at java.net.URL.<init>(URL.java:498)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at java.net.URL.<init>(URL.java:447)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at de.its_berlin.dhlpaket.packstation.pickup.usecase.DeeplinkUseCase.getPathSegments(:1)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at de.its_berlin.dhlpaket.packstation.pickup.usecase.DeeplinkUseCase.isDeepLinkNotifiedShipment(:1)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at de.its_berlin.dhlpaket.packstation.pickup.usecase.DeeplinkUseCase.access$isDeepLinkNotifiedShipment(:1)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at de.its_berlin.dhlpaket.packstation.pickup.usecase.DeeplinkUseCase$invoke$1.invokeSuspend(:2)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(:3)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at kotlinx.coroutines.internal.DispatchedContinuationKt.resumeCancellableWith(:21)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable(:3)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable$default(:1)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at kotlinx.coroutines.CoroutineStart.invoke(:10)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at kotlinx.coroutines.AbstractCoroutine.start(:4)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(:5)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at kotlinx.coroutines.BuildersKt.launch(:1)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(:2)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at kotlinx.coroutines.BuildersKt.launch$default(:1)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at de.its_berlin.dhlpaket.packstation.pickup.usecase.DeeplinkUseCase.invoke(:1)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at de.its_berlin.dhlpaket.packstation.list.PackstationListViewModelImpl.onHandleDeepLink(:1)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at de.its_berlin.dhlpaket.packstation.list.PackstationListFragment$deeplinkBroadcastReceiver$2$1.invoke(:2)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at de.its_berlin.dhlpaket.packstation.list.PackstationListFragment$deeplinkBroadcastReceiver$2$1.invoke(:1)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at de.its_berlin.dhlpaket.packstation.list.DeeplinkBroadcastReceiver.onReceive(:3)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0(LoadedApk.java:1391)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at android.app.-$$Lambda$LoadedApk$ReceiverDispatcher$Args$_BumDX2UKsnxLVrE6UJsJZkotuA.run(Unknown Source:2)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:873)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:99)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:193)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6718)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
08-25 19:30:31.978 24503 24503 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
08-25 19:30:40.035 24917 24917 E AndroidRuntime: FATAL EXCEPTION: main

the older, currently in cleanapk available de.dhl.paket 6.0.48 is not crashing, neither at initial startup or after login on a /e/-0.18-q builddate 20210827.

It seems like a thin wrapper around webviews…

In your v7 it seems to be crashing when reopening a shipment?

MalformedURLException: no protocol
.. at .. usecase.DeeplinkUseCase.isDeepLinkNotifiedShipment

The App just got more relevant since pickup with a number/card is phased out. Will request a cleanapk update, but then it might break for some users…

1 Like

Thank you very much for the information :+1:

I got the email from DHL today notifying me about their making the app compulsory for every Packstation user. I need to ponder about this, tending towards just no longer using DHL Packstation after having used it for ages.

2 Likes

Hi there,

there’s a similar issue with this app that makes it impossible to receive parcels via Packstation.

When pressing the button “Jetzt abholen” to show the QR code that is necessary to open the locker, the app crashes.

I’m using e-0.19-q-20211027142973-dev-a3xelte on a Samsung Galaxy A3 (2016) [SM-A310F] with mobile data, location and bluetooth put on each and running the os in highest power consumption mode. Version of app “Post & DHL” is 6.0.48 , installed via e-app-store.

in the stacktrace no protocol → whatever deeplink is handed over, the scheme is unknown. Would be so helpful if one couuld see it. Could be in-app url, but I guess it’s related to qrcode functions or webview. Can’t look at the source with this one or run a debug build. If you can get a hold of the developer they maybe can find a place in their heart for playstore rebels

Maybe it’s useful, I made a logcat protocol:

1 Like

so it is webview related. Not too familiar with this, but as bromite is used to implement this you’d need to bughunt there. But really now dhl-paket issues get mixed - the parent was on v7 startup, you have a v6 parcel pickup “bromite” compatability issue

E AndroidRuntime: java.lang.IllegalArgumentException: Unknown page PACKSTATION
E AndroidRuntime: 	at d.a.a.e.x.i.e(Unknown Source:41)
E AndroidRuntime: 	at d.a.a.e.x.i.d(Unknown Source:42)
E AndroidRuntime: 	at de.its_berlin.dhlpaket.base.web.WebPageFragment$l.invoke(:1)
E AndroidRuntime: 	at d.a.a.e.x.a.shouldOverrideUrlLoading(Unknown Source:23)
E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
E AndroidRuntime: 	at H7.invoke(chromium-SystemWebView.apk-stable-447215800:5)
1 Like

Hi there,

using the most recent version of the APP (7.3.41) solved the issue. It can be found in Aurora Store, the version in e store is deprecated. The APP seems to work fine, parcels can be received via Packstation.

1 Like