Comments (7)
Oof, very sorry this happened. I'm working on fixing the breakages in the ImageJ macro language syntax highlighting and autocompletion, but will look into this also in the very near term.
from scijava-ui-swing.
@karlduderstadt I pushed one quick fix (cbc9ef6), with some defensive programming around the case where the value to be rendered is null. I don't know whether this gets the root of the bug (I don't know if the value should be null here...), but it should prevent the crash you are seeing. Feel free to give it a try by building scijava-ui-swing from source.
from scijava-ui-swing.
Thank you very much! Yes, bad timing 😭 I should have tested more with the bundle you posted. my mistake. I think it is a great idea to send out the jars in advance like you did a couple times a year before big releases! I was certainly aware it was coming thanks to your posts and discovered the problem quickly.
I was also trying to come up with a minimal example of object retrieval in scripts in Fiji independent of Mars to confirm this is a general problem and not just our problem, but I haven't been able to develop that yet.
from scijava-ui-swing.
Will do, thanks a lot!
from scijava-ui-swing.
Thanks for the fast feedback. I don't get the NPE anymore, but the dialog comboBox has no choices anymore so this doesn't help much.
For now I pushed my copied version that overrides the problem to our update site yesterday. I am just still confused what is going on here.
from scijava-ui-swing.
@karlduderstadt When you have time: could you please test whether d40832c fixes your issue?
from scijava-ui-swing.
Yes @ctrueden that fixes the problem. I get list options again without any errors!
This does make me wonder why the choice list is empty in this case and whether there is something missing in my implementation...
In any case, thank you very much for the quick fix, I will close the issue and remember to test our scripts when you announce the next major update!
from scijava-ui-swing.
Related Issues (20)
- Support html hyperlinks in labels and messages
- Fix procedure of how to create update site HOT 1
- Respect multiple styles in chooseFile and chooseFiles methods
- No parameter attribute for number formats HOT 1
- Warning status popup displayed twice
- SwingFileWidget: support 'pattern' style HOT 1
- Harmonize file filter logic for File inputs
- SwingFileWidget: support copying from widget text
- Add FlatLaf as a L&F option HOT 1
- Unusable viewport in tables
- Allow showing file list widget instead of file chooser HOT 3
- Add test for stepSize=null
- Move non-Swing-specific object handling upstream HOT 1
- Improve scroll behavior in Swing input dialog HOT 5
- Spinners are missing up/down arrows with FlatLaf HOT 5
- Console Menu bar is not aware of Log tab
- Migrate SwingGroupingInputHarvester to from sciview
- Implement FileListWidget.FILES_AND_DIRECTORIES also for FileWidget HOT 4
- Implement an input widget for URIs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scijava-ui-swing.