RTI DDS -- RTIDDSGEN PreviousNext
Data Distribution Service (DDS) Forum > DDS Technical Forum >
Message/Author
Next message Nick Christman  posted on Friday, December 03, 2010 - 03:48 pm
Fellow DDS-Forum Members,

I am trying to use RTI's handy script "rtiddsgen" to generate some Java code for an IDL file. Unfortunately, it is not working for ANY language or IDL file I try. I am using this syntax for rtiddsgen,

> rtiddsgen -language Java -example x64Darwin10gcc4.2.1jdk listeners.idl


and I am getting this error,

ERROR: 'The first argument to the non-static Java function 'parseScopedName' is not a valid object reference.'
FATAL ERROR: 'Could not compile stylesheet'


(I get this error even when I try the switch "-language c++' or any other language.)

The listeners.idl file I am using has this code within it:

struct msg {
char c;
;

struct listeners {
short x;
};}

If you are wondering, this is an RTI example straight from their Knowledge Base here.

Thanks in advance!

-Nick
Next message Nick Christman  posted on Friday, December 03, 2010 - 03:52 pm
Oh yea, I forgot the mention that I am using Mac OS X... hence, "x64Darwin10gcc4.2.1jdk".
Next message Nick Christman  posted on Monday, December 06, 2010 - 04:59 pm
Anyone?
Next message Gianpiero  posted on Tuesday, January 25, 2011 - 02:28 am
Hi Nick,
sorry for the late answer.

We ship the JRE along with RTI DDS. Unfortunately we cannot do that for Mac OS X since Apple does distribute its own jvm.

So, in order to use a java JRE > 1.4 you need the xalan library.
TO solve the problem you need to set the varialbe XALANHOME has described in the RTI Public knowledge base:

http://na2.salesforce.com/_ui/selfservice/pkb/PublicKnowledgeSolution/d?orgId=00 D3000000065k0&id=50140000000MYay&retURL=/sol/public/solutionbrowser.jsp%3Fsearch %3DXALANHOME%26cid%3D02n300000004iHc%26orgId%3D00D3000000065k0%26t%3D4&ps=1

Let me know if this soves your issues.

Best,
gianpiero
Next message Gianpiero  posted on Tuesday, January 25, 2011 - 02:29 am
Hi Nick,
sorry for the late answer.

We ship the JRE along with RTI DDS. Unfortunately we cannot do that for Mac OS X since Apple does distribute its own jvm.

So, in order to use a java JRE > 1.4 you need the xalan library.
To solve the problem you need to set the varialbe XALANHOME has described in the RTI Public knowledge base:

http://na2.salesforce.com/_ui/selfservice/pkb/PublicKnowledgeSolution/d?orgId=00 D3000000065k0&id=50140000000MYay&retURL=/sol/public/solutionbrowser.jsp%3Fsearch %3DXALANHOME%26cid%3D02n300000004iHc%26orgId%3D00D3000000065k0%26t%3D4&ps=1

Let me know if this solves your issue.

Best,
gianpiero
Back to top
Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Post as "Anonymous"
Enable HTML code in message
Automatically activate URLs in message
Action: