Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: RichardC on July 03, 2014, 02:20:30 am

Title: Exception using java automation API
Post by: RichardC on July 03, 2014, 02:20:30 am
When I execute:

org.sparx.Repository r = new org.sparx.Repository();

I get an exception "Failed to construct object. Error code: 0x80040154".

Using EA 9.3
JDK 1.7 (32 bit version)
Windows 7 Enterprise.

Are there some dependencies I'm missing?

thx



Title: Re: Exception using java automation API
Post by: Eve on July 03, 2014, 08:44:34 am
Generally speaking I would expect that to work. (That's the only way to connect from Java as we don't provide an EA.App object or add-ins)

Are you running it on the same account that you generally use EA?