Book a Demo

Author Topic: Exception using java automation API  (Read 3592 times)

RichardC

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Exception using java automation API
« 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




Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Exception using java automation API
« Reply #1 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?
« Last Edit: July 03, 2014, 08:45:30 am by simonm »