Using OMNeT++ 5.2.1 on macOS Catalina

169 views
Skip to first unread message

Danushka Menikkumbura

unread,
Nov 27, 2020, 1:35:13 PM11/27/20
to OMNeT++ Users
Hi,

I have trouble starting the IDE (5.2.1) on macOS Catalina.

I get the error "The OMNeT++ IDE is not installed!" when I try to start the application using the command line. I could use the IDE just fine on OS X Yosemite after following the installation guidelines given in the doc though.

Please kindly shed some light on this issue.

Thank you!

Best,
Danushka

Sondous Sulaiman

unread,
Dec 2, 2020, 12:28:50 PM12/2/20
to omn...@googlegroups.com
Hi,
I have the same trouble with IDE 4.6 on macOS Castalia.

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/omnetpp/02354179-771e-40a6-8718-c4bb4b1d018fn%40googlegroups.com.

Danushka Menikkumbura

unread,
Dec 2, 2020, 2:26:12 PM12/2/20
to omn...@googlegroups.com
In my case, I could use an earlier macOS version (High Sierra) and then the issue went away.

I didn't want to spend time troubleshooting the issue but it seemed to me that the issue was with my Java version. I think Catalina has a much higher Java version than your intended OMNeT++ version requires.

Hope that's helpful.

Best,
Danushka

Lakshmi Krishnaswamy

unread,
Dec 2, 2020, 2:28:57 PM12/2/20
to OMNeT++ Users
Hi!

I get the same issue with Mac ox Catalina, on 5.6.2 version and using the java version :
java version "1.8.0_271"
Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)

Danushka Menikkumbura

unread,
Dec 2, 2020, 2:47:50 PM12/2/20
to omn...@googlegroups.com
If OMNeT++ is successfully installed, it has an app directory (omnetpp.app) inside $OMNET_HOME/ide. If not, there is a log file with some error messages in the same directory. Please check if you can find some hints in this log file.

Sondous Sulaiman

unread,
Dec 2, 2020, 3:48:13 PM12/2/20
to omn...@googlegroups.com
The problem with the version that I solved, but my problem now is that I use Castilla's compression technique, and currently I don't find the difference between compression and decompression. There is an error but I do not know where?
And the Simulation Castalia I am very weak in it
I have a discussion very soon

Lakshmi Krishnaswamy

unread,
Dec 4, 2020, 2:29:35 PM12/4/20
to OMNeT++ Users
Thank you so much!

This is what I have in the log file, not sure how to fix it.. has anyone tried fixing it or any leads on how to go about this?

!SESSION 2020-11-29 11:48:30.689 -----------------------------------------------

eclipse.buildId=5.6.2.200518-aa79d0918f

java.version=1.8.0_271

java.vendor=Oracle Corporation

BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US

Command-line arguments:  -os macosx -ws cocoa -arch x86_64


!ENTRY org.eclipse.core.net 1 0 2020-11-29 11:48:38.552

!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences


!ENTRY org.omnetpp.main 1 0 2020-11-29 11:48:40.670

!MESSAGE OMNeT++ IDE 5.6.2.200518-aa79d0918f started.


!ENTRY org.omnetpp.common 4 0 2020-11-29 11:48:45.812

!MESSAGE An error occurred while downloading the list of models available for installation from https://models.omnetpp.org/descriptors/omnetpp-5.6/descriptors.txt

!STACK 0

java.lang.RuntimeException: java.io.IOException: Server returned HTTP response code: 403 for URL: https://models.omnetpp.org/descriptors/omnetpp-5.6/descriptors.txt

at org.omnetpp.ide.installer.InstallSimulationModelsDialog.downloadProjectDescriptions(InstallSimulationModelsDialog.java:91)

at org.omnetpp.ide.installer.InstallSimulationModelsDialog$6.run(InstallSimulationModelsDialog.java:243)

at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: https://models.omnetpp.org/descriptors/omnetpp-5.6/descriptors.txt

at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1900)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)

at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)

at org.omnetpp.ide.installer.InstallSimulationModelsDialog.downloadProjectDescriptions(InstallSimulationModelsDialog.java:74)

... 2 more


!ENTRY org.eclipse.core.jobs 4 2 2020-11-29 11:48:45.821

!MESSAGE An internal error occurred during: "Download project descriptors".

!STACK 0

org.eclipse.swt.SWTException: Invalid thread access

at org.eclipse.swt.SWT.error(SWT.java:4720)

at org.eclipse.swt.SWT.error(SWT.java:4635)

at org.eclipse.swt.SWT.error(SWT.java:4606)

at org.eclipse.swt.widgets.Widget.error(Widget.java:810)

at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:597)

at org.eclipse.swt.widgets.Text.getText(Text.java:1284)

at org.eclipse.jface.dialogs.TitleAreaDialog.updateMessage(TitleAreaDialog.java:627)

at org.eclipse.jface.dialogs.TitleAreaDialog.setErrorMessage(TitleAreaDialog.java:422)

at org.omnetpp.ide.installer.InstallSimulationModelsDialog$6.run(InstallSimulationModelsDialog.java:253)

at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)


Thank you so much once again! 
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
Message has been deleted
0 new messages