Interop not finding running instance of RHhpsody

Moderators: vrault@sodius.com, Moderators

Interop not finding running instance of RHhpsody

Postby douglas.w.orellana@saic.com » Tue Nov 26, 2019 11:57 am

I am trying to convert a Cameo model to a rhapsody model. After slecting the mdzip file I want converted and select next I am getting "An error occurred. See error log for more details. java.lang.NullPointerException" and then I see "A Rhapsody application instance must be running first in order to perform this operation." I actually have Rhapsody running with a project opened. I had Rhapsody and Cameo up and running before opening Interop. I am using Cameo 19.0 sp2 64bit, Rhpasody 8.3.1 64 bit, and Cameo Interop 19.0 sp1. Any help would be greatly appreciated.
douglas.w.orellana@saic.com
Forum Newbie
Forum Newbie
 
Posts: 11
Posts Rating:1
Joined: Fri Jun 01, 2018 3:13 pm

Re: Interop not finding running instance of RHhpsody

Postby asmyth@sodius.com » Wed Nov 27, 2019 3:21 am

Hi Douglas,
Can you send the cameo interop log file (%USER_FOLDER%\.cameo_interop\.metadata\.log)?
Also, what is your version of java installed (32bits or 64bits ?)

Regards,
Adrian
asmyth@sodius.com
Forum Newbie
Forum Newbie
 
Posts: 4
Posts Rating:0
Joined: Wed Nov 27, 2019 3:18 am

Re: Interop not finding running instance of RHhpsody

Postby douglas.w.orellana@saic.com » Wed Nov 27, 2019 10:26 am

I should have Java 64 bits installed. Thanks.
You do not have the required permissions to view the files attached to this post.
douglas.w.orellana@saic.com
Forum Newbie
Forum Newbie
 
Posts: 11
Posts Rating:1
Joined: Fri Jun 01, 2018 3:13 pm

Re: Interop not finding running instance of RHhpsody

Postby asmyth@sodius.com » Thu Nov 28, 2019 4:56 am

Hi Douglas,
First, you'll need to confirm that it's indeed 64-bit, please run a command line "java -version" and post it here, please so we can see the build version too.
As for the logs, it confirms that Cameo Inter-Op can't connect to Rhapsody so this could be caused by the JVM version.

Kind regards
asmyth@sodius.com
Forum Newbie
Forum Newbie
 
Posts: 4
Posts Rating:0
Joined: Wed Nov 27, 2019 3:18 am

Re: Interop not finding running instance of RHhpsody

Postby douglas.w.orellana@saic.com » Mon Dec 02, 2019 8:54 pm

java version "1.8.0_212"
Java(TM) SE Runtime Environment (build 1.8.0_212-b25)
Java HotSpot(TM) Client VM (build 25.212-b25, mixed mode)
douglas.w.orellana@saic.com
Forum Newbie
Forum Newbie
 
Posts: 11
Posts Rating:1
Joined: Fri Jun 01, 2018 3:13 pm

Re: Interop not finding running instance of RHhpsody

Postby asmyth@sodius.com » Tue Dec 03, 2019 3:03 am

Hi Douglas,
When I run the same command it specifically mentions 64-Bit which leads me to think you don't have the 64-bit JVM:

java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)
asmyth@sodius.com
Forum Newbie
Forum Newbie
 
Posts: 4
Posts Rating:0
Joined: Wed Nov 27, 2019 3:18 am

Re: Interop not finding running instance of RHhpsody

Postby asmyth@sodius.com » Tue Dec 03, 2019 3:09 am

How to download a 64-bit JVM?

When you go to Oracle JDK download page(https://www.oracle.com/technetwork/java ... 33151.html), you will see options to download JDK specific to your operating system:
Here choose Windows x64 to download 64-bit JVM.
asmyth@sodius.com
Forum Newbie
Forum Newbie
 
Posts: 4
Posts Rating:0
Joined: Wed Nov 27, 2019 3:18 am


Return to Cameo Inter-Op

Who is online

Users browsing this forum: No registered users and 0 guests