This line in src/napari-imagej/widgets/widget_utils.py tries to call a non-existing function on the QDialog used to display error messages from exceptions in Java - it breaks (at least) with PySide2.
Should be a very simple fix to instead use the enum as described here
Original report found here