Book a Demo

Author Topic: Automation interface Java error  (Read 5178 times)

seritalien

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Automation interface Java error
« on: November 01, 2013, 12:23:59 am »
Hello,
i'm actualy trying to work the automation interface with Java.
I followed everything indicated at : http://www.sparxsystems.com/enterprise_architect_user_guide/8.0/automation_and_scripts/setup.html

but i get the following error when i'm trying to instanciate the org.sparx.Repository object

Code: [Select]
Exception in thread "main" java.lang.Exception: Failed to construct object. Error code: 0x80040154
      at org.sparx.Repository.comConstructor(Native Method)
      at org.sparx.Repository.<init>(Repository.java:170)
      at main.Main.openRepository(Main.java:13)
      at main.Main.<init>(Main.java:9)
      at main.Main.main(Main.java:18)

Google didn't helpme so far, but maybe someone has an idea about ?

Thanks by advance
Seritalien

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile

seritalien

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Automation interface Java error
« Reply #2 on: November 01, 2013, 01:42:32 am »
thanks qwerty, but unfortunatly i cant find anything that could help me.
Despite the first link report a user that have the same kind of issue as me, no solutions has been reported so far.

Still trying to understand where i'm wrong,

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Automation interface Java error
« Reply #3 on: November 01, 2013, 03:46:39 am »
You should report a bug in that case....

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Automation interface Java error
« Reply #4 on: November 06, 2013, 06:32:44 pm »
Could be a 32/64 bit issue.
EA only plays with 32 bit buddies.

Geert