Skip to content
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

Null Pointer exception Mac OS Big Sur #10

Open
busattoale opened this issue Dec 2, 2020 · 8 comments
Open

Null Pointer exception Mac OS Big Sur #10

busattoale opened this issue Dec 2, 2020 · 8 comments

Comments

@busattoale
Copy link

When I launch modelio it opens and the Java Null pointer exception error appears.
Modelio 4.1
jdk1.8.0_271
Big Sur 11.0.1

Schermata 2020-12-02 alle 11 45 06

@jimjohan
Copy link

This is exactly the same signature I get with macOS Big Sur 11.1. It might be good news that it opens at least to this level.

Does anyone have an idea how to troubleshoot where in modelio the java.lang.NullPointerException be occurring? Have java related configuration files and permissions changed in Big Sur in such a way it impacts modelio? Other programs requiring Java 8 programs still work on my machine. I do not see any System Preferences > Security & Privacy settings that give a warning to allow modelio to work.

As a temporary work around I am using a Win10 virtual machine.

@Phillipus
Copy link

Phillipus commented Jan 15, 2021

I'm going to add my two cents here (and this also applies to #12) as I have some experience of getting Eclipse-based apps to run on Mac (the Archi app). Also, it might stop end users wasting their time trying to diagnose this issue.

From what I can determine, Modelio 4.1 is built on Eclipse version 4.9 (2018). Eclipse based apps such as Modelio (and Archi) need to be built upon much later versions of Eclipse to run correctly on macOs Big Sur, Eclipse version 4.18 or later. Older versions of our app, Archi, also throw a Null Pointer Exception as these are built on older versions of Eclipse.

So, I would say that in order to work correctly on macOS Big Sur, Modelio needs to be built on Eclipse 4.18 or later. This will also allow a later version of Java to be used (say, Java 11). It is also possible to bundle a Java Runtime with the Mac version of the app. so that it runs out of the box without burdening the end user. :-)

Hope that helps.

@jimjohan
Copy link

@Phillipus This is a great idea and makes lots of sense to me. Thank you for suggesting this. Is there a proper mechanism to formally make this recommendation to the modelio development team?

@Phillipus
Copy link

Phillipus commented Jan 15, 2021

@jimjohan I'm sure they're aware of the issue. ;-) Who knows, there may be other reasons why they can't or don't want to use later versions of Eclipse.

@phv078
Copy link
Contributor

phv078 commented Jan 18, 2021

@jimjohan
Be assured that the modelio development team follows this thread and is perfectly taking the suggestions and contributions into account.
About the problems you encounter, they are still to be studied by our team and the help provided by people in this thread is higly appreciated. Thanks for that.

@Philippus
Thank a lot for sharing your knowledge about MacOS and Eclipse RCP based applications. It is likely that Archi and Modelio share common issues because of this architecture.
Sure we are aware of this issue and yes they are reasons why we currently cannot analyze and fix it as fast as we wish. Without getting into too much details, we are currently not working in our premises because of the sanitary situation and unfortunately our Mac machines are not available right now. New governemental recommendations about confinment should allow us to solve this soon, let' s hope.
I would add that moving the whole Modelio application to Eclipse 4.18 requires a little more attention than a simple re-compilation, not to talk about moving to Java 11 which is another story.

In any case, thanks a lot for your contributions. Be sure that we are doing our best to have Modelio running smoothly under MacOS Big Sur.

phv078
Modelio Team

@retorquere
Copy link

Archi runs without issue on my MBPro with Big Sur.

@jimjohan
Copy link

jimjohan commented Mar 10, 2021

@phv78 and the Modelio Team,
Do you plan to recompile Modelio for MacOS on Big Sur or wait for your next release? Thank you.

@ghost
Copy link

ghost commented Sep 27, 2021

"the modelio development team follows this thread" yeah, 10month later and this issue is still not adressed...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants