This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Bug] Shell throws NullRef if improperly configured #8211
Labels
a/shell 🐚
e/2 🕑
2
in-progress
This issue has an associated pull request that may resolve it!
t/bug 🐛
Description
While I don't expect
Shell
to work if improperly configured, I don't expect a NullRef in these cases either (NullRef is nearly always invalid if there are no bugs).Steps to Reproduce
Minimal case where
Shell
works (good):Verbose case where
Shell
works (good):But if you "partially" configure
Shell
, you get NullRef exceptions. For example, add aTabBar
with aTab
but noShellContent
(bad):And you get this:
Another "partially" configure
Shell
that causes a NullRef exception: Add aTabBar
without aTab
orShellContent
(bad):And you get this:
But if you just create an empty
Shell
with nothing at all, you get a much nicer exception (good):You get this nice exception:
Expected Behavior
More consistent and nice exceptions for various incorrectly-configured
Shell
instances.Actual Behavior
NullRef thrown from incorrectly-configured
Shell
instances.Basic Information
The text was updated successfully, but these errors were encountered: