ToolbarBean Class generates Automation Exception  0x80040112 -

Discussion created by 1066design on Jan 9, 2013
Latest reply on Jan 9, 2013 by 1066design
The ToolbarBean Class generates the following StackTrace when run from the provided sample within Eclipse.

java.lang.RuntimeException: AutomationException: 0x80040112 -
at com.esri.arcgis.interop.Ocx.<init>(Unknown Source)
at com.esri.arcgis.controls.ToolbarControl.<init>(Unknown Source)
at com.esri.arcgis.beans.toolbar.ToolbarBean.init(Unknown Source)
at com.esri.arcgis.beans.toolbar.ToolbarBean.<init>(Unknown Source)
at BasicViewer.getToolbarBean(BasicViewer.java:156)
at BasicViewer.getJContentPane(BasicViewer.java:115)
at BasicViewer.initialize(BasicViewer.java:88)
at BasicViewer.<init>(BasicViewer.java:77)
at BasicViewer.main(BasicViewer.java:144)
Caused by: AutomationException: 0x80040112 -

Does anybody else have this problem using the JAVA SDK or
Know of a workaround to include this control in a Java application?