Coder Social home page Coder Social logo

Comments (7)

ctrueden avatar ctrueden commented on July 28, 2024

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.

ctrueden avatar ctrueden commented on July 28, 2024

@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.

karlduderstadt avatar karlduderstadt commented on July 28, 2024

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.

karlduderstadt avatar karlduderstadt commented on July 28, 2024

Will do, thanks a lot!

from scijava-ui-swing.

karlduderstadt avatar karlduderstadt commented on July 28, 2024

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.
Screenshot 2022-09-14 at 17 22 56

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.

ctrueden avatar ctrueden commented on July 28, 2024

@karlduderstadt When you have time: could you please test whether d40832c fixes your issue?

from scijava-ui-swing.

karlduderstadt avatar karlduderstadt commented on July 28, 2024

Yes @ctrueden that fixes the problem. I get list options again without any errors!
Screenshot 2022-09-14 at 21 14 12

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.