[HTC U12+ Questions & Answers] MihaiTest:
It is still happening to me, I took a bug report (enabled from Developer tools and available on the Shutdown menu). Right now I found the following:

04-06 12:40:38.561 10016 10029 10029 D AndroidRuntime: Shutting down VM
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime: FATAL EXCEPTION: main
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime: Process: com.android.systemui, PID: 10029
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime: java.lang.IllegalArgumentException: width and height must be > 0
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at android.graphics.Bitmap.createBitmap(Bitmap.java:1004)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at android.graphics.Bitmap.createBitmap(Bitmap.java:968)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at android.graphics.Bitmap.createBitmap(Bitmap.java:918)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at android.graphics.Bitmap.createBitmap(Bitmap.java:879)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at android.graphics.drawable.AdaptiveIconDrawable.updateMaskBoundsInternal(AdaptiveIconDrawable.java:333)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at android.graphics.drawable.AdaptiveIconDrawable.updateLayerBounds(AdaptiveIconDrawable.java:295)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at android.graphics.drawable.AdaptiveIconDrawable.onStateChange(AdaptiveIconDrawable.java:782)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at android.graphics.drawable.Drawable.setState(Drawable.java:775)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at android.widget.ImageView.drawableStateChanged(ImageView.java:1305)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at android.view.View.refreshDrawableState(View.java:20083)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at android.view.View.dispatchAttachedToWindow(View.java:17463)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at android.view.ViewGroup.addViewInner(ViewGroup.java:4984)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at android.view.ViewGroup.addView(ViewGroup.java:4775)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at com.android.systemui.statusbar.phone.NotificationIconAreaController.updateIconsForLayout(NotificationIconAreaController.java:247)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at com.android.systemui.statusbar.phone.NotificationIconAreaController.updateNotificationIcons(NotificationIconAreaController.java:155)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at com.android.systemui.statusbar.phone.StatusBar.updateNotificationShade(StatusBar.java:2386)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at com.android.systemui.statusbar.phone.StatusBar.updateNotifications(StatusBar.java:2592)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at com.android.systemui.statusbar.phone.StatusBar.addNotificationViews(StatusBar.java:7891)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at com.android.systemui.statusbar.phone.StatusBar.addEntry(StatusBar.java:2024)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at com.android.systemui.statusbar.phone.StatusBar.onAsyncInflationFinished(StatusBar.java:2041)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at com.android.systemui.statusbar.notification.NotificationInflater$AsyncInflationTask.onAsyncInflationFinished(NotificationInflater.java:641)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at com.android.systemui.statusbar.notification.NotificationInflater.finishIfDone(NotificationInflater.java:460)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at com.android.systemui.statusbar.notification.NotificationInflater.-wrap0(Unknown Source:0)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at com.android.systemui.statusbar.notification.NotificationInflater$6.onViewApplied(NotificationInflater.java:343)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:3421)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:3401)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at android.os.AsyncTask.finish(AsyncTask.java:695)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at android.os.AsyncTask.-wrap1(Unknown Source:0)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:712)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at android.os.Handler.dispatchMessage(Handler.java:105)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at android.os.Looper.loop(Looper.java:180)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at android.app.ActivityThread.main(ActivityThread.java:6944)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at java.lang.reflect.Method.invoke(Native Method)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
04-06 12:40:38.561 10016 10029 10029 E AndroidRuntime:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:853)
04-06 12:40:38.562 1000 2740 5329 E ActivityManager: App crashed! Process: com.android.systemui

I will continue looking and let you know.

Edit: Here are some useful details: https://blog.pusher.com/upgrade-app-android-oreo-avoid-factory-reset/

As I can see, the issue can be triggered by multiple applications...

I have no idea for a solution yet. MAYBE the application triggering the problem will be updated and not trigger it anymore, as I am pretty sure we will not get Oreo 8.1 on our beloved HTC.