Friday, 16 June 2017

IBM Rational Software Architect Designer on macOS - java.lang.RuntimeException: No application id has been found.

I hit this today: -


having installed IBM Rational Software Architect Designer 9.6 on my Mac.

Looking at the log: -

cat /Users/davidhay/.eclipse/org.eclipse.platform_4.6.1_443275834_macosx_cocoa_x86_64/configuration/1497623600763.log.

!SESSION Fri Jun 16 15:33:20 BST 2017 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2017-06-16 15:33:20.767
!MESSAGE Could not find extension: com.ibm.cds
!SESSION 2017-06-16 15:33:20.690 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_131
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_GB
Framework arguments:  -product com.ibm.rational.rsa.product.v95.ide
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product com.ibm.rational.rsa.product.v95.ide

!ENTRY org.eclipse.osgi 4 0 2017-06-16 15:33:21.684
!MESSAGE Bundle com.ibm.cds not found.

!ENTRY org.eclipse.equinox.app 0 0 2017-06-16 15:33:24.789
!MESSAGE Product com.ibm.rational.rsa.product.v95.ide could not be found.

!ENTRY org.eclipse.osgi 4 0 2017-06-16 15:33:31.004
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)



My IBM colleague, Aiden, hit the same problem yesterday: -


and found the solution: -

vi /Applications/IBM/SoftwareDeliveryPlatform/RSA.app/Contents/MacOS/ExecuteScript 

and change from: -

$ECLIPSE_APP -product com.ibm.rational.rsa.product.v95.ide &

to: -

$ECLIPSE_APP -product com.ibm.rational.rsa.product.v95.ide &

Can you say "Doh!" ?? I bet you can ...

No comments: