ToolbarBean Class generates Automation Exception  0x80040112 -

01-09-2013 03:48 AM
New Contributor
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(
at BasicViewer.getJContentPane(
at BasicViewer.initialize(
at BasicViewer.<init>(
at BasicViewer.main(
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?
0 Kudos
1 Reply
New Contributor
It turns out that toolbarBean class needs arcview license at minimum to operate.  At least when I enabled the Arcview license in the initializer the issue goes away.
0 Kudos