-
Notifications
You must be signed in to change notification settings - Fork 52
Input harvesting throws exception #283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It shouldn't be using the scijava-ui-awt widget, but rather the scijava-ui-swing one. This looks like the same issue you ran into at scijava/scijava-ui-swing#27 (comment). Are you sure it happens with a clean Fiji with only the new scijava-common installed? Even if not, it might nonetheless be a bug in the framework, if e.g. widgets are being instantiated to interrogate whether they are applicable, and then discarded, but when interrogating |
I've run into another suspiciously similar problem when pinning to the latest scijava-common SNAPSHOT in a project I am working on. The stack trace is:
Will investigate tonight and/or tomorrow. |
Reverting 596813c fixes the problem I'm encountering. @imagejan It would be good if you could test whether reverting that commit also fixes the error you are seeing on your system(s). Even though that commit merged to master recently, it has been a long time since I actually authored it, so I'll need to dig in a bit to understand again why I thought it was necessary. Then decide how to proceed from there. |
As described in the reverted commit, the
Too thorny for tonight; I'll dig tomorrow morning. |
@ctrueden wrote:
Interestingly, reverting the commit now leads to a
I'll try to dig deeper as well with a fresh Fiji without additional update sites etc. |
Ok, it seems I had some undefined state caused by not running |
When using a
scijava-common-2.64.1-SNAPSHOT.jar
from the current master (b431d27) in an (otherwise) up-to-date Fiji installation, the script input harvesting is broken.Trying to run a simple script such as:
gives an error: A String is required but none exist.
and throws the following exception:
(tested on both Windows and Mac OSX)
The text was updated successfully, but these errors were encountered: