ModelioOpenSource / Modelio

Modelio is a modeling solution offering a wide range of functionalities based on the main standards of enterprise architecture, software development and systems engineering.
https://www.modelio.org
GNU General Public License v3.0
694 stars 120 forks source link

Null Pointer exception Mac OS Big Sur #10

Open busattoale opened 3 years ago

busattoale commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

@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 commented 3 years ago

@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 commented 3 years ago

@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 commented 3 years ago

Archi runs without issue on my MBPro with Big Sur.

jimjohan commented 3 years ago

@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 commented 2 years ago

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